A minimalistic neural network library in C
Latest version: 0.5
Author:Nagaraj poojari
Email: np137270@gmail.com
SynapC is a light weight neural network library written in C and provides API for python.
Make sure gcc is installed in linux , or VS C++ in windows.
pip install synapc==0.0.5
import synapc
model=synapc.init(3) # initalize a FFNN network
synapc.add(model,2) # add dense layers
synapc.add(model,4)
synapc.add(model,4)
synapc.compile(model,X_train) # compile
synapc.train(model,X_train,y_train,40) # train
SynapC is twice as fast as scratch implementation using only numpy.
If you find this module helpful, please consider leaving a review and rating on the PyPI.
We welcome contributions from the community! If you'd like to contribute to SynapC, please follow these steps:
- Fork this repository.
- Create a new branch for your feature/bugfix.
- Make your changes and ensure tests pass.
- Submit a pull request explaining the changes you've made.
This extension is released under the MIT License. For more information, see LICENSE.