Repository
Current version released
3 years ago
Versions
deno-ann
A simple artifical neural network library I wrote to study deep learning.
This is a library of routines written in Typescript for buliding and training artificial neural networks, loosely based on the code samples in Deep Learning from Scratch by Seth Weidman.
The neural network routines here are not based on automatic differentiation. The codes to propagate gradients backward have to be written manually. Writing backward pass manually is a tidious process.
Also only the simplest models can be trained in a reasonable time because the numerical routines are not optimized.
This libray is what Toy - MNIST Classification and Toy - Generate text with character-based RNN are based on.
Directories
neural/- contains the basic building blocks that can be used to build and train artificial neural networks.examples/mnist/- MNIST classification example.examples/text_generation/- Text generation with character-based RNNndarray/- multi-dimensional arrays a la numpytrees/- functions to manipulate tree-like structures a la Pytreesarrays/- array utilitiesfloats/- Float32Array utilitiesnumerical/- mathematical utilities