public class DecisionTreeClassificationModelConverter extends ProbabilisticClassificationModelConverter<org.apache.spark.ml.classification.DecisionTreeClassificationModel> implements HasFeatureImportances, HasTreeOptions
OPTION_COMPACT, OPTION_ESTIMATE_FEATURE_IMPORTANCESOPTION_KEEP_PREDICTIONCOL| 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() |
registerOutputFieldscheckSchema, getMiningFunction, getNumberOfClassesgetFeatures, getLabelencodeSchema, getModel, registerModelgetObject, getOption, getOptions, 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 © 2024. All rights reserved.