How do we train the MP neuron model with the Learning algorithm

Source: Deep Learning on Medium


Here the goal is how we can target the threshold value b with the Brute Force search. if you are new to this, to get acquainted with what is threshold value you can skim at https://medium.com/@ravichandrareddya9/how-mp-neuron-can-process-the-task-for-certain-data-dd0f84ae7038?source=your_stories_page—————————

and for loss function skim at https://medium.com/@ravichandrareddya9/how-do-we-compute-the-loss-function-for-the-mp-model-dbe4ab03d7c9?source=your_stories_page—————————

Here we have only one example, so we can afford the brute force search. we will give different values to the threshold (b) and predict the loss. by comparing prediction and loss we can achieve zero loss function.