Home > other >  About "machine learning field", the fifth chapter rising gradient algorithm, why X0=1??
About "machine learning field", the fifth chapter rising gradient algorithm, why X0=1??

Time:03-10

About "machine learning field", the fifth chapter rising gradient algorithm, why X0=1??
Not only the two data, a label? Why do you want to have X0??

CodePudding user response:

Linear regression function is actually z=w_0 + x_1 + w_2 w_1 * * x_2
W_1 said to solve the first regression coefficient
X_1 said textSet. TXT first data

We finally make sure the three regression coefficient: w_0, w_1, w_2
Why to add x_0=1, in order to z=w_0 + x_1 + w_2 w_1 * * x_2 this form as the form of matrix multiplication, so fill in additional a data x_0=1
  • Related