Github user thvasilo commented on a diff in the pull request:
https://github.com/apache/flink/pull/871#discussion_r34139345
--- Diff:
flink-staging/flink-ml/src/main/scala/org/apache/flink/ml/pipeline/Predictor.scala
---
@@ -233,11 +292,10 @@ trait PredictOperation[Instance, Model, Testing,
Prediction] extends Serializabl
* @param model The model representation of the prediciton algorithm
* @return A label for the provided example of type [[Prediction]]
*/
- def predict(value: Testing, model: Model):
- Prediction
+ def predict(value: Testing, model: Model): Prediction
}
-/** Type class for the evaluate operation of [[Predictor]]. This evaluate
operation works on
+/** Trait for the evaluate operation of [[Predictor]]. This evaluate
operation works on
--- End diff --
Will change both back.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---