Linear Regression

http://d2l.ai/chapter_linear-networks/linear-regression.html

  • b = mean(x), when derivative of ∑i(xi−b)2 equals 0,.
  • MLE (maximum likelihood estimation).
  • When each parameter’s partial derivative of lnL equals 0, we can get the optimal value.
    概率论与数理统计.浙大第四版 P154

    y=mean(W_T*X)+b, W_T,X:matrix, *:matrix multiply
    2.TODO:
    3.TODO: