Experiment to create an artificial neural network in Typescript to recognize capital letters.
Inspired by a video by Sebastian Lague: How to Create a Neural Network (and Train it to Identify Doodles)
- Clone Repo
- Install Dependencies (
npm install
) - Create new folder :
data
- Put dataset files with this scheme :
data/train/[letter]\_[index].png
data/test/[letter]\_[index].png
- Run
CreateDatase()
to createdataset.json
The first training session used Huggins Face's dataset : pittawat/letter_recognition
Params :
- Layers : [784, 100, 26]
- LearnRate : 0.24
- Activation Function : ReLU
- Perturbations : 4%
Results (816 iterations) :
- TrainDataset : 93%
- TestDataset 91%