public abstract class PredictionModelConverter<T extends org.apache.spark.ml.PredictionModel<org.apache.spark.ml.linalg.Vector,T> & org.apache.spark.ml.param.shared.HasFeaturesCol & org.apache.spark.ml.param.shared.HasPredictionCol> extends ModelConverter<T>
| Constructor and Description |
|---|
PredictionModelConverter(T model) |
| Modifier and Type | Method and Description |
|---|---|
List<org.jpmml.converter.Feature> |
getFeatures(SparkMLEncoder encoder) |
encodeModel, encodeSchema, getLabel, getMiningFunction, registerModel, registerOutputFieldsgetOption, getOptions, getTransformer, setOptionspublic PredictionModelConverter(T model)
public List<org.jpmml.converter.Feature> getFeatures(SparkMLEncoder encoder)
getFeatures in class ModelConverter<T extends org.apache.spark.ml.PredictionModel<org.apache.spark.ml.linalg.Vector,T> & org.apache.spark.ml.param.shared.HasFeaturesCol & org.apache.spark.ml.param.shared.HasPredictionCol>Copyright © 2022. All rights reserved.