https://github.com/nagarajrpoojari/synapc
Neural network in C
https://github.com/nagarajrpoojari/synapc
c linux neural-network python
Last synced: about 1 year ago
JSON representation
Neural network in C
- Host: GitHub
- URL: https://github.com/nagarajrpoojari/synapc
- Owner: nagarajRPoojari
- Created: 2024-03-18T12:08:42.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-03-20T10:39:35.000Z (over 2 years ago)
- Last Synced: 2025-06-01T17:26:08.611Z (about 1 year ago)
- Topics: c, linux, neural-network, python
- Language: C
- Homepage:
- Size: 253 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
SynapC
A minimalistic neural network library in C
Latest version: 0.5
Author:Nagaraj poojari
Email: np137270@gmail.com
## Description
SynapC is a light weight neural network library written in C and provides API for python.
## Installation
Make sure gcc is installed in linux , or VS C++ in windows.
```bash
pip install synapc==0.0.5
```
## Usage
```python
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
```
## Results
SynapC is twice as fast as scratch implementation using only numpy.
## Rate and Review
If you find this module helpful, please consider leaving a review and rating on the [PyPI](https://pypi.org/project/synapc/).
## Contributions
We welcome contributions from the community! If you'd like to contribute to SynapC, please follow these steps:
1. Fork this repository.
2. Create a new branch for your feature/bugfix.
3. Make your changes and ensure tests pass.
4. Submit a pull request explaining the changes you've made.
## License
This extension is released under the MIT License. For more information, see [LICENSE](LICENSE).
---