Attribute chosen, double slope, double intercept, int df) throws Exception { double ssr = calculateSSR(data, chosen, slope, intercept); double mse = ssr / df;
Attribute chosen, double slope, double intercept, int df) throws Exception { double ssr = calculateSSR(data, chosen, slope, intercept); double mse = ssr / df;
m_tstatSlope = tStats[0]; m_tstatIntercept = tStats[1]; double ssr = RegressionAnalysis.calculateSSR(insts, m_attribute, m_slope, m_intercept); m_rsquared = RegressionAnalysis.calculateRSquared(insts, ssr);
m_tstatSlope = tStats[0]; m_tstatIntercept = tStats[1]; double ssr = RegressionAnalysis.calculateSSR(insts, m_attribute, m_slope, m_intercept); m_rsquared = RegressionAnalysis.calculateRSquared(insts, ssr);