-
- Downloads
[SPARK-11332] [ML] Refactored to use ml.feature.Instance instead of WeightedLeastSquare.Instance
WeightedLeastSquares now uses the common Instance class in ml.feature instead of a private one. Author: Nakul Jindal <njindal@us.ibm.com> Closes #9325 from nakul02/SPARK-11332_refactor_WeightedLeastSquares_dot_Instance.
Showing
- mllib/src/main/scala/org/apache/spark/ml/optim/WeightedLeastSquares.scala 8 additions, 17 deletions...cala/org/apache/spark/ml/optim/WeightedLeastSquares.scala
- mllib/src/main/scala/org/apache/spark/ml/regression/LinearRegression.scala 2 additions, 2 deletions...ala/org/apache/spark/ml/regression/LinearRegression.scala
- mllib/src/test/scala/org/apache/spark/ml/optim/WeightedLeastSquaresSuite.scala 5 additions, 5 deletions...org/apache/spark/ml/optim/WeightedLeastSquaresSuite.scala
Please register or sign in to comment