Hi The Regression algorithm in the MLlib is using Loss function to calculate the regression estimates and R is using matrix method to calculate the estimates.
I see some difference between the results of Both Spark and R. I was using the following class LinearRegressionWithSGD.train(parsedData, numIterations) is it possible to get both results same. Please correct me if i'm wrong -- Thanks and Regards Arun