public abstract class ClassificationModelConverter<T extends org.apache.spark.ml.classification.ClassificationModel<org.apache.spark.ml.linalg.Vector,T>> extends PredictionModelConverter<T>
OPTION_KEEP_PREDICTIONCOL| Constructor and Description |
|---|
ClassificationModelConverter(T model) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkSchema(org.jpmml.converter.Schema schema) |
org.dmg.pmml.MiningFunction |
getMiningFunction() |
int |
getNumberOfClasses() |
List<org.dmg.pmml.OutputField> |
registerOutputFields(org.jpmml.converter.Label label,
org.dmg.pmml.Model pmmlModel,
SparkMLEncoder encoder) |
getFeatures, getLabelencodeModel, encodeSchema, getModel, registerModelgetObject, getOption, getOptions, setOptionspublic ClassificationModelConverter(T model)
public int getNumberOfClasses()
public org.dmg.pmml.MiningFunction getMiningFunction()
getMiningFunction in class ModelConverter<T extends org.apache.spark.ml.classification.ClassificationModel<org.apache.spark.ml.linalg.Vector,T>>public void checkSchema(org.jpmml.converter.Schema schema)
checkSchema in class ModelConverter<T extends org.apache.spark.ml.classification.ClassificationModel<org.apache.spark.ml.linalg.Vector,T>>public List<org.dmg.pmml.OutputField> registerOutputFields(org.jpmml.converter.Label label, org.dmg.pmml.Model pmmlModel, SparkMLEncoder encoder)
registerOutputFields in class ModelConverter<T extends org.apache.spark.ml.classification.ClassificationModel<org.apache.spark.ml.linalg.Vector,T>>Copyright © 2024. All rights reserved.