diff --git a/Stanford_Machine_Learning/Week3/week3quiz1.md b/Stanford_Machine_Learning/Week3/week3quiz1.md index ef378e7e..5e7bab93 100644 --- a/Stanford_Machine_Learning/Week3/week3quiz1.md +++ b/Stanford_Machine_Learning/Week3/week3quiz1.md @@ -15,7 +15,7 @@ Question 2 Answer | Explanation --- | --- -J(θ) will be a convex function, so gradient descent should converge to the global minimum. | none +J(θ) will be a convex function, so gradient descent should converge to the global minimum. | If J(θ) is a non-convex function, gradient descent will fail to converge at a global minimum because it will converge at a local optimum and get stuck there Adding polynomial features (e.g., instead using hθ(x) = g(θ0 + θ1x1 + θ2x2 + θ3x2 + θ4x1x2 + θ5x2 )) could increase how well we can fit the training data | Adding new features can only improve the fit on the training set: since setting θ3 = θ4 = θ5 = 0 makes the hypothesis the same as the original one, gradient descent will use those features (by making the corresponding non-zero) only if doing so improves the training set fit Question 3