Skip to content

ivanas93/py-neural-network

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neural network implemented in python without libraries.

Properties

  • One input-layer with two perceptron
  • One output-layer with one perceptron
  • Three hidden-layers with four, eight and four perceptron

img.png

  • Least squares as cost function

img.png

  • Sigmoid function for the nonlinearity of the model

img.png

  • Gradiant descent for reduce cost function

img.png

  • Learning rate applied to gradient descent = 0.1

Result

Graph showing the decrease in the cost function using the gradient descent algorithm. img.png

Divide points into two factions.

img.png