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.lightgbm.HasLightGBMOptions>
      org.dmg.pmml.mining.MiningModel
      configureModel​(E estimator, org.dmg.pmml.mining.MiningModel miningModel)  
      static <E extends sklearn.Estimator & HasBooster & org.jpmml.lightgbm.HasLightGBMOptions>
      org.jpmml.converter.Schema
      configureSchema​(E estimator, org.jpmml.converter.Schema schema)  
      static <E extends sklearn.Estimator & HasBooster & org.jpmml.lightgbm.HasLightGBMOptions>
      org.dmg.pmml.mining.MiningModel
      encodeModel​(E estimator, org.jpmml.converter.Schema schema)  
      static <E extends sklearn.Estimator & HasBooster & org.jpmml.lightgbm.HasLightGBMOptions>
      org.dmg.pmml.PMML
      encodePMML​(E estimator)  
      static org.dmg.pmml.PMML encodePMML​(Booster booster)  
      static <E extends sklearn.Estimator & HasBooster>
      int
      getNumberOfFeatures​(E estimator)  
      static <E extends sklearn.Estimator & HasBooster>
      org.jpmml.lightgbm.ObjectiveFunction
      getObjectiveFunction​(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> int getNumberOfFeatures​(E estimator)
      • getObjectiveFunction

        public static <E extends sklearn.Estimator & HasBooster> org.jpmml.lightgbm.ObjectiveFunction getObjectiveFunction​(E estimator)
      • encodeModel

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

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

        public static <E extends sklearn.Estimator & HasBooster & org.jpmml.lightgbm.HasLightGBMOptions> 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.lightgbm.HasLightGBMOptions> org.dmg.pmml.PMML encodePMML​(E estimator)