Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Won't Do
-
None
-
None
Description
A score function for Predictor implementations should take a DataSet[(I, O)] and an (optional) scoring measure and return a score.
The DataSet[(I, O)] would probably be the output of the predict function.
For example in MultipleLinearRegression, we can call predict on a labeled dataset, get back predictions for each item in the data, and then call score with the resulting dataset as an argument and we should get back a score for the prediction quality, such as the R^2 score.
Attachments
Issue Links
- relates to
-
FLINK-2157 Create evaluation framework for ML library
- Closed
- requires
-
FLINK-2297 Add threshold setting for SVM binary predictions
- Closed
- links to