-
- Downloads
[SPARK-3108][MLLIB] add predictOnValues to StreamingLR and fix predictOn
It is useful in streaming to allow users to carry extra data with the prediction, for monitoring the prediction error for example. freeman-lab Author: Xiangrui Meng <meng@databricks.com> Closes #2023 from mengxr/predict-on-values and squashes the following commits: cac47b8 [Xiangrui Meng] add classtag 2821b3b [Xiangrui Meng] use mapValues 0925efa [Xiangrui Meng] add predictOnValues to StreamingLR and fix predictOn
Showing
- examples/src/main/scala/org/apache/spark/examples/mllib/StreamingLinearRegression.scala 2 additions, 2 deletions...ache/spark/examples/mllib/StreamingLinearRegression.scala
- mllib/src/main/scala/org/apache/spark/mllib/regression/StreamingLinearAlgorithm.scala 25 additions, 6 deletions...che/spark/mllib/regression/StreamingLinearAlgorithm.scala
Please register or sign in to comment