机器学习目的:让一个机器具备寻找一个函式的基本能力
regression(回归):the function outputs a scalar(该函式输出的数值用来预测一个具体的数字)
classification(分类):given options(classes),the function outputs the correct one.(预测离散的类别标签)
一.How to find a function(如何寻找一个函式)
1.Function with unknown parameters 写出一个带有未知参数的函式(model)
L(b,w)
2.DefineLossfromTraining Data
Loss is a function of parameter
Training Datais is real data from the past
L(0.5k,1)
3.optimization(最佳化):找出最佳的w,b
最佳化方法:Gradient Descent(梯度下降)有local minima(局部极小值)问题