Skip to content

Wizard-hash2/Implementing-a-Multilayer-Artificial-Neural-Network

Repository files navigation

a two layer multilayer Neural netwowk alt text where x is input while a is hidden input b is bias

note: Activating a neural network via forward propagation how does MLP works: Starting at the input layer, we forward propagate the patterns of the training data through the network to generate an output. Based on the network’s output, we calculate the loss that we want to minimize using a loss function that we will describe later. We backpropagate the loss, find its derivative with respect to each weight and bias unit in the network, and update the model.

we will then use forward propagation to calculate the network output and apply a threshold function to obtain the predicted class labels in the one-hot representation

we willl then calculate the activation function of hidden layer a through: alt text and note z is the net input and to map the a into sigmoid we use:alt text

alt text

3 dimensional tensor visualization: alt text

Forward-propagating the input features of an NN alt text

Backpropagating the error of an NN alt text

About

I solve handwritten digit recognition problem by connecting multiple neurons to from a powerful NN architecture, with reclination on backpropagation algorithm, which is one of the building blocks of many NN models that are used in deep learning

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors