[Week 3] 코세라 머신러닝 퀴즈 답 /Coursera Machine Learning Quiz - Logistic Regression | Andrew Ng

2021. 5. 6. 16:45ML/coursera

728x90
반응형

P(y = 0 | x; θ) = 1 - P(y = 1| x; θ) =  1 - 0.4 = 0.6

hθ(x) = 0.4

 

P(y = 0 | x; θ) = 1 - P(y = 1| x; θ) =  1 - 0.2 = 0.8

hθ(x) = 0.2


 


 



 

g(θ0 + θ1x1 + θ2x2) = 

θ = [6; 0; -1;]

 

6-x2 >= 0

6 >= x2

x2 가 6보다 작을때 y=1 

반응형