Chisei (智成, meaning "Intelligence Accomplished" in Japanese) is a lightweight, efficient, and user-friendly C++ library for creating, training, and deploying fully connected neural networks. Designed with simplicity and performance in mind, Chisei is ideal for researchers, developers, and enthusiasts who want to integrate neural network functionality into their C++ applications without the overhead of larger machine learning frameworks.
- Feedforward Neural Networks: Build fully connected neural networks with customizable architectures.
- Custom Activation Functions: Use any activation function and its derivative, allowing for flexibility and experimentation.
- Training with Backpropagation: Train networks using mean squared error (MSE) and gradient descent optimization.
- Model Persistence: Save and load models easily for reuse and deployment.
- Lightweight Design: Minimal external dependencies, making Chisei easy to integrate into existing C++ projects.
- CPU Optimizations: Optimized for CPU performance, with potential for GPU extensions.
-
Download the
*.deb
file for your system architecture from release. -
Install the
*.deb
file using thedpkg
command on the terminal:sudo dpkg -i chisei_*.deb
-
Try to compile the examples within this repository using the
g++
command.g++ -o dist/basic_example examples/basic_example.cpp -lchisei g++ -o dist/mnist_example examples/mnist_example.cpp -lchisei
-
Check the chisei documentations at https://chisei.vercel.app.
Chisei is licensed under the BSD 2-Clause "Simplified" License. You are free to use, modify, and distribute the library.