Re: I noticed LinearRegression sometimes produces negative R^2 values

2016-09-07 Thread Evan Zamir
ion, R^2 should never be a negative number! > >> > > >> > > >> > > >> > -- > >> > View this message in context: > >> > > http://apache-spark-user-list.1001560.n3.nabble.com/I-noticed-LinearRegression-sometimes-pr

Re: I noticed LinearRegression sometimes produces negative R^2 values

2016-09-07 Thread Sean Owen
ion Model summary >> > means? >> > By definition, R^2 should never be a negative number! >> > >> > >> > >> > -- >> > View this message in context: >> > http://apache-spark-user-list.1001560.n3.nabble.

Re: I noticed LinearRegression sometimes produces negative R^2 values

2016-09-06 Thread Evan Zamir
LinearRegression Model summary > means? > > By definition, R^2 should never be a negative number! > > > > > > > > -- > > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/I-noticed-LinearRegression-sometimes-produces-negat

Re: I noticed LinearRegression sometimes produces negative R^2 values

2016-09-06 Thread Sean Owen
001560.n3.nabble.com/I-noticed-LinearRegression-sometimes-produces-negative-R-2-values-tp27667.html > Sent from the Apache Spark User List mailing list archive at Nabble.com. > > - > To unsubscribe

Re: I noticed LinearRegression sometimes produces negative R^2 values

2016-09-06 Thread Nick Pentreath
> > > -- > View this message in context: > http://apache-spark-user-list.1001560.n3.nabble.com/I-noticed-LinearRegression-sometimes-produces-negative-R-2-values-tp27667.html > Sent from the Apache Spark User List m

I noticed LinearRegression sometimes produces negative R^2 values

2016-09-06 Thread evanzamir
Am I misinterpreting what r2() in the LinearRegression Model summary means? By definition, R^2 should never be a negative number! -- View this message in context: http://apache-spark-user-list.1001560.n3.nabble.com/I-noticed-LinearRegression-sometimes-produces-negative-R-2-values-tp27667.html