Skip to content

dot-memento/nn-from-scratch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neural Networks from Scratch in C

This repository contains a lightweight neural network implementation in C. It provides a framework for creating, training, and evaluating neural networks with configurable architectures through JSON configuration.

Features

  • Neural network implementation in pure C
  • JSON-based configuration for network architecture
  • AdamW optimizer
  • CSV output for loss and accuracy tracking and results visualization

Usage

Use make to build from source and run the executable. The JSON configuration file can be provided as an argument, otherwise the file ./config.json will be used.

Limitations

  • Many hardcoded things, including the input format, output format and metrics
  • Minimal error handling
  • Only supports feed-forward network
  • CPU only

Licence

MIT License

About

Neural Networks from scratch in C

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published