Package org.jpmml.sparkml.xgboost
Class BoosterUtil
- java.lang.Object
-
- org.jpmml.sparkml.xgboost.BoosterUtil
-
public class BoosterUtil extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <M extends org.apache.spark.ml.Model<M> & org.apache.spark.ml.param.shared.HasPredictionCol & ml.dmlc.xgboost4j.scala.spark.params.GeneralParams,C extends org.jpmml.sparkml.ModelConverter<M>>
org.dmg.pmml.mining.MiningModelencodeBooster(C converter, ml.dmlc.xgboost4j.scala.Booster booster, org.jpmml.converter.Schema schema)
-
-
-
Method Detail
-
encodeBooster
public static <M extends org.apache.spark.ml.Model<M> & org.apache.spark.ml.param.shared.HasPredictionCol & ml.dmlc.xgboost4j.scala.spark.params.GeneralParams,C extends org.jpmml.sparkml.ModelConverter<M>> org.dmg.pmml.mining.MiningModel encodeBooster(C converter, ml.dmlc.xgboost4j.scala.Booster booster, org.jpmml.converter.Schema schema)
-
-