一、统一模型
Hypothesis ― The hypothesis is noted hθhθ and is the model that we choose. For a given input data x(i)x(i) the model prediction output is hθ(x(i))hθ(x(i)).
Loss function ― A loss function is a function L:(z,y)∈R×Y⟼L(z,y)∈RL:(z,y)∈R×Y⟼L(z,y)∈R that takes as inputs the predicted value zz corresponding to the real data value yy and outputs how different they are. The common loss functions are summed up in the table below:
Cost function ― The cost function JJ is commonly used to assess the performance of a model, and is defined with the loss function LL as follows:
Gradient descent ― By noting α∈Rα∈R the