Machine Learning, Linear Algebra, Mathematics, Data Science, Basics.
the whole purpose of the machine learning is to tune the weights so that the loss becomes minimum. The loss could be anything, but just to give you an example, think of a mean squared error (MSE) between the target value (y) and your predicted value (y_hat). You want to minimize the error between