CNeuron is a simple singular neural network neuron implementation in C, designed for easy integration into C projects.
This implementation focuses on a single neuron with functions for initialization, training, saving, loading, and processing data.
The neuron utilizes Leaky Rectified Linear Unit (LeakyReLU) & Stochastic Gradient Descent with Momentum (SGDM).
Please Note: This was a side project built out of pure curiosity as I was learning the C programming language and is only intended for educational purposes.
- Neuron Initialization: Initialize a neural network neuron with specified parameters.
- Forward Propagation: Perform forward propagation for a given input.
- Training: Train the neuron using backpropagation with customizable epochs and learning parameters.
- Saving and Loading: Save and load neuron parameters to/from a file.
- Dataset Processing: Read datasets from files in UTF-8 format.
- C compiler (e.g., GCC)
- Standard C libraries (math.h, stdio.h, stdlib.h, string.h, time.h)
git clone https://github.com/ZJEydt/NeuralC.git
cd NeuralC
gcc NeuralC_Test.c NeuralC_Neuron.c -o NeuralC_Test
Contributions are welcome! Please follow the Contribution Guidelines.
This project is licensed under the MIT License - see the LICENSE file for details.
Make sure to replace placeholder sections with appropriate values for your project.