Re: No Intercept for Python

2014-06-18 Thread Naftali Harris
ng. > > Best, > Reza > > > On Mon, Jun 16, 2014 at 12:19 PM, Naftali Harris > wrote: > >> Hi everyone, >> >> The Python LogisticRegressionWithSGD does not appear to estimate an >> intercept. When I run the following, the returned weights and inter

No Intercept for Python

2014-06-16 Thread Naftali Harris
Hi everyone, The Python LogisticRegressionWithSGD does not appear to estimate an intercept. When I run the following, the returned weights and intercept are both 0.0: from pyspark import SparkContext from pyspark.mllib.regression import LabeledPoint from pyspark.mllib.classification import Logis