public class GBTClassificationModelConverter extends ProbabilisticClassificationModelConverter<org.apache.spark.ml.classification.GBTClassificationModel> implements HasFeatureImportances, HasTreeOptions
OPTION_COMPACT, OPTION_ESTIMATE_FEATURE_IMPORTANCESOPTION_KEEP_PREDICTIONCOL| Constructor and Description |
|---|
GBTClassificationModelConverter(org.apache.spark.ml.classification.GBTClassificationModel 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() |
registerOutputFieldscheckSchema, getMiningFunction, getNumberOfClassesgetFeatures, getLabelencodeSchema, getModel, registerModelgetObject, getOption, getOptions, setOptionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNativeConfigurationpublic GBTClassificationModelConverter(org.apache.spark.ml.classification.GBTClassificationModel 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.GBTClassificationModel>Copyright © 2025. All rights reserved.