public class RandomForestClassificationModelConverter extends ClassificationModelConverter<org.apache.spark.ml.classification.RandomForestClassificationModel> implements HasFeatureImportances, HasTreeOptions
OPTION_COMPACT, OPTION_ESTIMATE_FEATURE_IMPORTANCES| Constructor and Description |
|---|
RandomForestClassificationModelConverter(org.apache.spark.ml.classification.RandomForestClassificationModel model) |
| Modifier and Type | Method and Description |
|---|---|
org.dmg.pmml.mining.MiningModel |
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 RandomForestClassificationModelConverter(org.apache.spark.ml.classification.RandomForestClassificationModel model)
public org.apache.spark.ml.linalg.Vector getFeatureImportances()
getFeatureImportances in interface HasFeatureImportancespublic org.dmg.pmml.mining.MiningModel encodeModel(org.jpmml.converter.Schema schema)
encodeModel in class ModelConverter<org.apache.spark.ml.classification.RandomForestClassificationModel>Copyright © 2021. All rights reserved.