Description
For the below data write the forward pass through ANN using python and numpy.
Pass the data through the network, display the outputs and error
Data is about frequency(cell) of words(columns) present in a mail(row). Need to classify the mail as spam or not.
Dear | Dinner | Money | Spam – 1
Not spam – 0 |
|
Mail 1 | 1 | 2 | 1 | 0 |
Mail 2 | 1 | 0 | 4 | 1 |
Mail 3 | 0 | 3 | 0 | 0 |
Mail4 | 1 | 0 | 2 | 1 |
Note: Use proper activation functions.
Assume weights and biases.
Upload only the .ipynb file without zipping.