/Simple-Neural-Network

This repository contains the code for simulating a simple Neural Network

Primary LanguagePythonMIT LicenseMIT

Simple-Neural-Network

This repository contains the code for simulating a simple Neural Network

Scannable Document on May 9, 2023 at 10_56_03 AM

This neural network will attempt to simulate the function of Z prime. Z prime is the correct value, while Z is the output of the neural network. C is the cost function.

A brief explanation of the neural network: In order to know how to adjust the weights and biases to lower the cost function C, we must take the partial derivative respect to each of the weights and biases. We then use a value for the learning rate multiplied by the partial derivative to move the weight values. We continue this process until the reached the time set initialy.

Keep in mind that the intial values set to the weights and biases are random. So each run of the program will give different results.

The figure below is an example of the output of the code. Figure_1