QuestionQ56

VerifiedModel Development

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

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

Explanation

For linear regression, Spark ML’s automatic solver uses the normal-equation solution when practical and falls back to iterative optimization when that approach is unsuitable for a high number of features. L-BFGS is the iterative optimization method used for this purpose.

Learn more

Community Discussion

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