LinearRegression and model prediction threshold

2014-10-31 Thread Sameer Tilak
Hi All, I am using LinearRegression and have a question about the details on model.predict method. Basically it is predicting variable y given an input vector x. However, can someone point me to the documentation about what is the threshold used in the predict method? Can that be changed ? I am

Re: LinearRegression and model prediction threshold

2014-10-31 Thread Sean Owen
It sounds like you are asking about logistic regression, not linear regression. If so, yes that's just what it does. The default would be 0.5 in logistic regression. If you 'clear' the threshold you get the raw margin out of this and other linear classifiers. On Fri, Oct 31, 2014 at 7:18 PM,

Re: LinearRegression and model prediction threshold

2014-10-31 Thread Sonal Goyal
You can serialize the model to a local/hdfs file system and use it later when you want. Best Regards, Sonal Nube Technologies http://www.nubetech.co http://in.linkedin.com/in/sonalgoyal On Sat, Nov 1, 2014 at 12:02 AM, Sean Owen so...@cloudera.com wrote: It sounds like you are asking about