The desire is to find the parameters 𝑤 𝑎𝑛𝑑 𝑏 that minimize the overall Cost function.
Where:
Cost function sum of Loss functions over your training dataset plus some model complexity penalty.
A loss function is a part of a Cost function which is a type of an objective function.
Cost function is generally represented by "J" and
The entire concept of "Training a Artificial Neural network is minimizing the Cost function Normally, you must optimise the Training dataset and the weights on the synapses as you will NOT be able to control over the input data