public class DecisionTreeClassificationModelConverter extends ClassificationModelConverter<org.apache.spark.ml.classification.DecisionTreeClassificationModel> implements HasFeatureImportances, HasTreeOptions
OPTION_COMPACT, OPTION_ESTIMATE_FEATURE_IMPORTANCES| Constructor and Description |
|---|
DecisionTreeClassificationModelConverter(org.apache.spark.ml.classification.DecisionTreeClassificationModel model) |
| Modifier and Type | Method and Description |
|---|---|
org.dmg.pmml.tree.TreeModel |
encodeModel(org.jpmml.converter.Schema schema) |
org.apache.spark.ml.linalg.Vector |
getFeatureImportances() |
getMiningFunction, registerOutputFieldsgetFeaturesencodeSchema, getLabel, registerModelgetOption, getOptions, getTransformer, setOptionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNativeConfigurationpublic DecisionTreeClassificationModelConverter(org.apache.spark.ml.classification.DecisionTreeClassificationModel model)
public org.apache.spark.ml.linalg.Vector getFeatureImportances()
getFeatureImportances in interface HasFeatureImportancespublic org.dmg.pmml.tree.TreeModel encodeModel(org.jpmml.converter.Schema schema)
encodeModel in class ModelConverter<org.apache.spark.ml.classification.DecisionTreeClassificationModel>Copyright © 2021. All rights reserved.