Artificial neural network - minimal demo

Pure Nim score 15/100 · last commit 2022-08-02 · 1 stars · tests present · no docs generated

Summary

Latest Version Unknown
License Unknown
CI Status Failing
Stars 1
Forks 0
Open Issues 0
Last Commit 2022-08-02
Downloads 0
Last Indexed 2026-09-06 07:36

Installation

nimble install Artificial neural network - minimal demo
choosenim install Artificial neural network - minimal demo
git clone https://gitlab.com/trossi/miniann

OS Compatibility

Platform Linux macOS Windows FreeBSD OpenBSD NetBSD Android iOS WASM Embedded
Artificial neural network - minimal demo - - - - - - -

Source

Repository https://gitlab.com/trossi/miniann
Homepage https://gitlab.com/trossi/miniann
Registry Source gitlab

README

miniann - minimal demo artificial neural network

Miniann is a minimal implementation of an artificial neural network for educational purposes.

Set up virtual environment

python3 -m virtualenv venv
source venv/bin/activate
pip install -e .

Examples

Fitting data

python scripts/example.py

Comparison to pytorch

This requires pip install torch==1.12.0 (other versions likely compatible too).

python scripts/comparison_pytorch.py

Comparison to tensorflow

This requires pip install tensorflow==2.9.1 (other versions likely compatible too).

python scripts/comparison_tensorflow.py

Overfitting case

python scripts/example_overfitting.py