Class BoosterUtil


  • public class BoosterUtil
    extends java.lang.Object
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static <E extends sklearn.Estimator & HasBooster & org.jpmml.xgboost.HasXGBoostOptions>
      org.dmg.pmml.mining.MiningModel
      configureModel​(E estimator, org.dmg.pmml.mining.MiningModel miningModel)  
      static <E extends sklearn.Estimator & HasBooster & org.jpmml.xgboost.HasXGBoostOptions>
      org.jpmml.converter.Schema
      configureSchema​(E estimator, org.jpmml.converter.Schema schema)  
      static <E extends sklearn.Estimator & HasBooster & org.jpmml.xgboost.HasXGBoostOptions>
      org.dmg.pmml.mining.MiningModel
      encodeModel​(E estimator, org.jpmml.converter.Schema schema)  
      static <E extends sklearn.Estimator & HasBooster & org.jpmml.xgboost.HasXGBoostOptions>
      org.dmg.pmml.PMML
      encodePMML​(E estimator)  
      static org.dmg.pmml.PMML encodePMML​(Booster booster)  
      static <E extends sklearn.Estimator & HasBooster & org.jpmml.xgboost.HasXGBoostOptions>
      int
      getNumberOfFeatures​(E estimator)  
      static <E extends sklearn.Estimator & HasBooster & org.jpmml.xgboost.HasXGBoostOptions>
      org.jpmml.xgboost.ObjFunction
      getObjFunction​(E estimator)  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getNumberOfFeatures

        public static <E extends sklearn.Estimator & HasBooster & org.jpmml.xgboost.HasXGBoostOptions> int getNumberOfFeatures​(E estimator)
      • getObjFunction

        public static <E extends sklearn.Estimator & HasBooster & org.jpmml.xgboost.HasXGBoostOptions> org.jpmml.xgboost.ObjFunction getObjFunction​(E estimator)
      • encodeModel

        public static <E extends sklearn.Estimator & HasBooster & org.jpmml.xgboost.HasXGBoostOptions> org.dmg.pmml.mining.MiningModel encodeModel​(E estimator,
                                                                                                                                                   org.jpmml.converter.Schema schema)
      • configureSchema

        public static <E extends sklearn.Estimator & HasBooster & org.jpmml.xgboost.HasXGBoostOptions> org.jpmml.converter.Schema configureSchema​(E estimator,
                                                                                                                                                  org.jpmml.converter.Schema schema)
      • configureModel

        public static <E extends sklearn.Estimator & HasBooster & org.jpmml.xgboost.HasXGBoostOptions> org.dmg.pmml.mining.MiningModel configureModel​(E estimator,
                                                                                                                                                      org.dmg.pmml.mining.MiningModel miningModel)
      • encodePMML

        public static org.dmg.pmml.PMML encodePMML​(Booster booster)
      • encodePMML

        public static <E extends sklearn.Estimator & HasBooster & org.jpmml.xgboost.HasXGBoostOptions> org.dmg.pmml.PMML encodePMML​(E estimator)