Basic Neural Network

Basic Neural Network with Pure PHP

Basic Neural Network with no hidden layers (simple perceptron)

Valid Digit 5 (five)
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
Not Valid Digit 5 (five)
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     
Testing Digits
     
     
     
     
     
     
     
     
     
     
     
     
     
     
     

Result: Memory: 0.037 Mb Time running: 0.065 sec.
Testing the perceptron:
Test case 1:
     
     
     
     
     
Prediction: Yes Test case 2:
     
     
     
     
     
Prediction: Yes Test case 3:
     
     
     
     
     
Prediction: No