/neural-xor

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

Primary LanguageC++

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:

  • Add rust version
  • Add javascript/typescript versions
  • Add C version