[ https://issues.apache.org/jira/browse/FLINK-2108?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14611776#comment-14611776 ]
Theodore Vasiloudis commented on FLINK-2108: -------------------------------------------- Update: Were able to create a score function that works with chaining following Till's suggestion, see linked PR for more details. > 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 > Assignee: Theodore Vasiloudis > Priority: Minor > Labels: ML > > 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)