public class OneHotEncoderModelData extends Object
OneHotEncoderModel
.
This class also provides methods to convert model data from Table to Datastream, and classes to save/load model data.
Modifier and Type | Class and Description |
---|---|
static class |
OneHotEncoderModelData.ModelDataEncoder
Data encoder for the OneHotEncoder model data.
|
static class |
OneHotEncoderModelData.ModelDataStreamFormat
Data decoder for the OneHotEncoder model data.
|
Constructor and Description |
---|
OneHotEncoderModelData() |
Modifier and Type | Method and Description |
---|---|
static org.apache.flink.streaming.api.datastream.DataStream<org.apache.flink.api.java.tuple.Tuple2<Integer,Integer>> |
getModelDataStream(org.apache.flink.table.api.Table modelData)
Converts the table model to a data stream.
|
public static org.apache.flink.streaming.api.datastream.DataStream<org.apache.flink.api.java.tuple.Tuple2<Integer,Integer>> getModelDataStream(org.apache.flink.table.api.Table modelData)
modelData
- The table model data.Copyright © 2019–2023 The Apache Software Foundation. All rights reserved.