From Ng’s machine learning to deep learning
Mainly record the differences in symbols and descriptions between the two courses in the learning process
Linear regression sign change
X0 becomes B, theta becomes W
In ML, I’m going to add a row x0 to the first row of my X matrix
y = X * theta.T
Copy the code
In DL, it’s b alone
y = w.T * X + b
Copy the code
Default row vectors become column vectors
So, the linear regression computation time becomes as follows
y = w.T * X + b
Copy the code
That’s the same thing as when X is a row vector
y = X * w.T + b
Copy the code