Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-12470 FLIP39: Flink ML pipeline and ML libs
  3. FLINK-13911

Add the interface of ModelDataConverter, and several base classes that implement this interface.

    XMLWordPrintableJSON

Details

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              xuyang1706 Xu Yang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 10m
                  10m