Theodore Vasiloudis created FLINK-2108:
------------------------------------------
Summary: Add score function for Predictors
Key: FLINK-2108
URL:
https://issues.apache.org/jira/browse/FLINK-2108 Project: Flink
Issue Type: Improvement
Components: Machine Learning Library
Reporter: Theodore Vasiloudis
Priority: Minor
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.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)