AI Color Predictor - By. Ibrahim Said Elsharawy (www.devhima.tk)
This project is a single layer neural network consists of 4 inputs 4 neurons (first is bias=1 & others is RGB color values) and one output 1 neuron
This neural net trains itself on 4 samples of (RGB) red & blue colors using signum & signum_derivative & dirac_delta functions to classify your inputed color to blue +1 or red -1
Here is the mathematical representation of the idea:
- Trainning data samples & Neural Network:
- Calculation of the output Y with signum function:
- The weight adaptation steps:
Screenshot of some tests: