-
- Downloads
[SPARK-8140] [MLLIB] Remove empty model check in StreamingLinearAlgorithm
1. Prevent creating a map of data to find numFeatures 2. If model is empty, then initialize with a zero vector of numFeature Author: MechCoder <manojkumarsivaraj334@gmail.com> Closes #6684 from MechCoder/spark-8140 and squashes the following commits: 7fbf5f9 [MechCoder] [SPARK-8140] Remove empty model check in StreamingLinearAlgorithm And other minor cosmits
Showing
- mllib/src/main/scala/org/apache/spark/mllib/optimization/GradientDescent.scala 1 addition, 1 deletion...org/apache/spark/mllib/optimization/GradientDescent.scala
- mllib/src/main/scala/org/apache/spark/mllib/regression/GeneralizedLinearAlgorithm.scala 3 additions, 3 deletions...e/spark/mllib/regression/GeneralizedLinearAlgorithm.scala
- mllib/src/main/scala/org/apache/spark/mllib/regression/StreamingLinearAlgorithm.scala 0 additions, 3 deletions...che/spark/mllib/regression/StreamingLinearAlgorithm.scala
- mllib/src/main/scala/org/apache/spark/mllib/regression/StreamingLinearRegressionWithSGD.scala 1 addition, 1 deletion...k/mllib/regression/StreamingLinearRegressionWithSGD.scala
Please register or sign in to comment