Xu Yang created FLINK-13911:
-------------------------------
Summary: Add the interface of ModelDataConverter, and several base classes that implement this interface.
Key: FLINK-13911
URL:
https://issues.apache.org/jira/browse/FLINK-13911 Project: Flink
Issue Type: Sub-task
Components: Library / Machine Learning
Reporter: Xu Yang
ModelDataConverter is an interface that defines methods for converting a generic model data object to a collection of rows and the other way around. It is used when we are exporting the model data to a table, as well as loading model data from a table for inference.
* Add ModelDataConverter which defines the model data conversion methods.
* Add SimpleModelDataConverter which is a specific model data converter where the model data is represented as meta data and a collection of strings.
* Add LabeledModelDataConverter which is a specific model data converter where the model data is represented as meta data, a collection of strings, and a collection of label values.
* Add RichModelDataConverter which is a specific model data converter where the model data is represented as meta data, a collection of strings, and a collection of auxiliary rows.
* Add ModelConverterUtils which provides utility functions for implementing the above model data converters.
--
This message was sent by Atlassian Jira
(v8.3.2#803003)