QuestionQ115

VerifiedModel Development

Spark ML's linear-regression implementation initially tries to solve the linear-regression problem through matrix decomposition, but this method does not scale effectively for large datasets containing many variables.

Which of the following approaches does Spark ML use to distribute training of a linear-regression model for large data?

Explanation

Spark ML uses iterative optimization for linear regression when the normal-equation approach is not suitable for the feature scale. Its automatic solver falls back to iterative methods, including L-BFGS, enabling training over distributed data.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!