File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
mllib/src/main/scala/org/apache/spark/mllib/regression Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,14 +39,14 @@ import org.apache.spark.streaming.dstream.DStream
3939 *
4040 * For example usage, see `StreamingLinearRegressionWithSGD`.
4141 *
42- * NOTE(Freeman) : In some use cases, the order in which trainOn and predictOn
42+ * NOTE: In some use cases, the order in which trainOn and predictOn
4343 * are called in an application will affect the results. When called on
4444 * the same DStream, if trainOn is called before predictOn, when new data
4545 * arrive the model will update and the prediction will be based on the new
4646 * model. Whereas if predictOn is called first, the prediction will use the model
4747 * from the previous update.
4848 *
49- * NOTE(Freeman) : It is ok to call predictOn repeatedly on multiple streams; this
49+ * NOTE: It is ok to call predictOn repeatedly on multiple streams; this
5050 * will generate predictions for each one all using the current model.
5151 * It is also ok to call trainOn on different streams; this will update
5252 * the model using each of the different sources, in sequence.
You can’t perform that action at this time.
0 commit comments