aceveggie / LogisticRegression

Logistic Regression classifier written in python
26 stars 29 forks source link

I don't understand one thing #1

Open dariospin93 opened 7 years ago

dariospin93 commented 7 years ago

I was watching the file Loader.py and I really don't understand why, if mode == true, you put a simple 1 in all the observation. Can you please help me to figure it out? Does it have a mathematical meaning?

dariospin93 commented 7 years ago

Porco DIO rispondi

gufengxiaoyuehan commented 7 years ago

I think that should be the coefficient of the basis, i.e. theta_0 @dariospin93