notesonly.in

One notebook for every subject — open it anywhere.

Log in

Linear and logistic regression

Machine Learning · Engineering

Study notes

Predict salary from experience: linear regression finds y = 50000 + 8000*x. For pass/fail admission: logistic computes z = w*x+b, probability = 1/(1+e^-z); if > 0.5 predict pass. Linear for continuous, logistic for binary: same linear core, different output.

← Back to topics for Engineering