Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/u66u/neural-xor

Sample implementations of neural networks that solve the XOR problem from scratch in different languages
https://github.com/u66u/neural-xor

eigen machine-learning machine-learning-algorithms machinelearning ml ml-algorithms neural neural-network neural-networks nnet xor xor-problem

Last synced: 26 days ago
JSON representation

Sample implementations of neural networks that solve the XOR problem from scratch in different languages

Awesome Lists containing this project

README

        

*Sample implementations of neural networks that solve the XOR problem from scratch (math libraries only)*

### Compile and run the C++ version:

```
g++ cpp_xor.cpp -o cpp_xor
./cpp_xor
```
### Python version:
```
pip install numpy
python python_xor.py
```
### C version:
```
g++ c_xor.c -o ./c_xor
./c_xor
```
### Rust version:
```
cd rust_xor
cargo run --bin rust_xor
```
or for the Tahn function implementation:
```
cargo run --bin tahn
```

### TODO:
- [x] Add rust version
- [ ] Add javascript/typescript versions
- [ ] Add C version