Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/u66u/neural-xor
- Owner: u66u
- Created: 2023-08-30T15:00:57.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-08-31T23:44:26.000Z (over 1 year ago)
- Last Synced: 2024-01-29T11:25:57.334Z (11 months ago)
- Topics: eigen, machine-learning, machine-learning-algorithms, machinelearning, ml, ml-algorithms, neural, neural-network, neural-networks, nnet, xor, xor-problem
- Language: C++
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
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