Skip to content

nagarajRPoojari/SynapC

Repository files navigation

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.

  pip install synapc==0.0.5

Usage

  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.

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.