Skip to content

AleNarder/micronn

Repository files navigation

Micronn

A small TypeScript-only Neural Networks library with zero dependencies. It requires Node.js to run, but it can also run in the browser with a few modifications.

Prerequisites

You need Node.js and npm installed on your computer

Features

  • FeedForward neural network with momentum and learning rate
  • Dense, Activation and Flatten Layers
  • mse, bce, ce loss functions
  • linear, step, tanh, sigmoid, softmax, ReLu, leakyReLu activation functions
  • ad-hoc linear algebra library

Run examples

  1. Install dependencies

    npm i
  2. Download example datasets from here and place extracted data in datasets

  3. Run examples

    XOR

    npm run xor
    

    MNIST

    npm run mnist
    

Roadmap

  • Convolutional Layers
  • Better logging

Releases

No releases published

Packages

 
 
 

Contributors