public abstract class ClassificationModelConverter<T extends org.apache.spark.ml.Model<T> & org.apache.spark.ml.param.shared.HasFeaturesCol & org.apache.spark.ml.param.shared.HasPredictionCol> extends ModelConverter<T>
| Constructor and Description |
|---|
ClassificationModelConverter(T transformer) |
| Modifier and Type | Method and Description |
|---|---|
List<org.jpmml.converter.Feature> |
encodeFeatures(SparkMLEncoder encoder) |
org.dmg.pmml.MiningFunction |
getMiningFunction() |
encodeModelgetTransformerpublic ClassificationModelConverter(T transformer)
public org.dmg.pmml.MiningFunction getMiningFunction()
getMiningFunction in class ModelConverter<T extends org.apache.spark.ml.Model<T> & org.apache.spark.ml.param.shared.HasFeaturesCol & org.apache.spark.ml.param.shared.HasPredictionCol>public List<org.jpmml.converter.Feature> encodeFeatures(SparkMLEncoder encoder)
encodeFeatures in class TransformerConverter<T extends org.apache.spark.ml.Model<T> & org.apache.spark.ml.param.shared.HasFeaturesCol & org.apache.spark.ml.param.shared.HasPredictionCol>Copyright © 2017. All Rights Reserved.