Linear Regression [1] book/fit_a_line PaddlePaddle [2,3,4] UCI Housing Data Set n ϑ K K K ϖyi xiP xid n ib P K KxiP xid i d yi yi b J J J J bKi b PK Knyi ωPxiP ωQxiQ ωdxid xij i yi 1/8 2017/3/12http://book.paddlepaddle.org/fit_a_line/index.html 1. V.S. 14 13 Loss Function Cost Function Mean Squared Error MSE xi yi b J J J J bYΥ ωPXP ωQXQ ωPRXPR YΥ Y K K KbωP ωPR YΥ Y yi yiΥ MSE b P n O ib P n G HYiΥ Yi Q n MSE n 2/8 2017/3/12http://book.paddlepaddle.org/fit_a_line/index.html 1. 0 1 2. 3. backpropagation , 4. 2~3 import paddle.v2 as paddle import paddle.v2.dataset.uci_housing as uci_housing uci_housing UCI Housing Data Set uci_housing 1. ~/.cache/paddle/dataset/uci_housing/housing.data 2. 506 CRIM ZN 25,000 INDUS CHAS Charles River 1= 0= ωi b 3/8 2017/3/12http://book.paddlepaddle.org/fit_a_line/index.html NOX RM AGE 1940 DIS 5 RAD TAX PTRATIO B 1000(BK - 0.63)^2 BK LSTAT MEDV 13 12 1 CHAS 0 1 2 0 1 2 “ ” “