(Compiled for the web with Emscripten)
The project is setup with cmake. To run the project locally, follow the steps below:
git https://github.com/Prateek61/neural-network-from-scratch.git
cd neural-network-from-scratch
cmake -S . -B build
Note: The build system can be changed by specifying the generator flag. For example, to use MinGW MakeFiles build system, append
-G "MinGW Makefiles"
to the above cmake command.
Note: If you also want to run the tests, append
-D BUILD_TESTS=ON
to the above cmake command. To run example, append-D BUILD_EXAMPLE=ON
to the above cmake command.
cmake --build build --target run_example
cmake --build build --target run_tests