Re: Extract SSerr SStot from Linear Regression using ml package

2015-12-22 Thread Arunkumar Pillai
Hi Yanbo, This is just to find f stats and adjusted Rsquare. On Tue, Dec 22, 2015 at 4:25 PM, Yanbo Liang wrote: > Hi Arunkumar, > > Could you tell me the cause of getting SSerr, SStot and SSreg? > Traditional we use explainedVariance, meanAbsoluteError, meanSquaredError, >

Re: Extract SSerr SStot from Linear Regression using ml package

2015-12-22 Thread Yanbo Liang
Hi Arunkumar, Could you tell me the cause of getting SSerr, SStot and SSreg? Traditional we use explainedVariance, meanAbsoluteError, meanSquaredError, rootMeanSquaredError and r2 as metrics of LinearRegression. Although actually you can get SSerr, SStot and SSreg from the composition of above

Extract SSerr SStot from Linear Regression using ml package

2015-12-21 Thread Arunkumar Pillai
Hi I'm using Linear Regression using ml package I'm able to see SSerr SStot and SSreg from val model = lr.fit(dat1) model.summary.metric But this metric is not accessible. It would be good if we can get those values. Any suggestion -- Thanks and Regards Arun