A simple neural network app made for guessing hand-written digits.

- Digits Classification: High accuracy digit recognition using a custom CNN architecture.
- Customizable Training: Easily adjust model parameters such as learning rate, batch size, and number of epochs.
- Model Evaluation: Visualize performance metrics and confusion matrices to assess model accuracy.
- Pre-trained Models: Start with pre-trained models or train from scratch.
-
Clone repository to your pc
git clone https://github.com/TAskMAster339/MyDigitNet -
Go to the repository directory
cd MyDigitNet -
Use cmake to create the build directory
cmake -G "MinGW Makefiles" -B ./build/-G MinGW Makefiles force cmake to use MinGW
-
Build the executable file
cmake --build ./build/ -
Now you can go to build directory and open MyDigitNet.exe
or write in cmdstart build/MyDigitNet.exe
- Check src/Config.txt file. First of all Neural network will read this file and set up its configuration.
Deafult configuration is
NetWork is a key-word, which defines the config file. 3 is a number of layers. 784, 256, 10 are numbers of neurons per layer.
NetWork 3 784 256 10 - In the open console window first of all you will see the settings of activation function. You can choose Sigmoid, reLU, tanh.
- When the program will ask you to train your Neural network. By default the neural network is already trained and you can easyly skip this part. (Neural network will load weight from src/Weights.txt). But you can train network again with another training configuration.
- After training/or not you can test your Neural network, or skip this part.
- In the end, if you made any mistake, you can restart training/testing process.
- Now you have successfully set up your Neural network and it is ready to use. On the screen you can see a black sqare, where you can draw your digits. If you make any mistake, you can press "c" to clean the screen. When your picture is ready, you can click right mouse button to send your drawing to NeuralNetwork.
- Finally, you see network prediction in the console.
This project is licensed under the MIT License - see the LICENSE file for details.
