CNeuralNet is a simple neural network library written in C. It allows you to easily create and train neural networks for various simple machine learning tasks.
- Supports fully connected (dense) neural networks with any number of hidden layers and neurons per layer
- Uses backpropagation and gradient descent for training
- Provides a simple API for creating and training neural networks
- Comes with a simple example program that demonstrates how to use the library
A C compiler (e.g. GCC, Clang) CMake (for building the library and example program)
To use CNeuralNet in your own project, follow these steps:
- Clone the repository and navigate to the project directory:
git clone https://github.com/tffdev/CNeuralNet.git
cd CNeuralNet
- Build the library and example program using CMake:
cmake .
make
- Use the library in your own C program by adding the NeuralNetwork.h and NeuralNetwork.cpp files to your own project.
See the NeuralNetwork.h header file for the API - it should be straight forward, otherwise see the example program.
CNeuralNet is released under the MIT License