public abstract class ClusteringModelConverter<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 |
|---|
ClusteringModelConverter(T model) |
| Modifier and Type | Method and Description |
|---|---|
org.dmg.pmml.MiningFunction |
getMiningFunction() |
abstract int |
getNumberOfClusters() |
List<org.dmg.pmml.OutputField> |
registerOutputFields(org.jpmml.converter.Label label,
SparkMLEncoder encoder) |
encodeModel, encodeSchema, registerModelgetOption, getOptions, getTransformer, setOptionspublic ClusteringModelConverter(T model)
public abstract int getNumberOfClusters()
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.dmg.pmml.OutputField> registerOutputFields(org.jpmml.converter.Label label, SparkMLEncoder encoder)
registerOutputFields 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>Copyright © 2019. All rights reserved.