Package xgboost.sklearn
Class BoosterUtil
- java.lang.Object
-
- xgboost.sklearn.BoosterUtil
-
public class BoosterUtil extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <E extends Estimator & HasBooster & org.jpmml.xgboost.HasXGBoostOptions>
org.dmg.pmml.mining.MiningModelconfigureModel(E estimator, org.dmg.pmml.mining.MiningModel miningModel)static <E extends Estimator & HasBooster & org.jpmml.xgboost.HasXGBoostOptions>
org.jpmml.converter.SchemaconfigureSchema(E estimator, org.jpmml.converter.Schema schema)static <E extends Estimator & HasBooster & org.jpmml.xgboost.HasXGBoostOptions>
org.dmg.pmml.mining.MiningModelencodeModel(E estimator, org.jpmml.converter.Schema schema)static <E extends Estimator & HasBooster & org.jpmml.xgboost.HasXGBoostOptions>
org.dmg.pmml.PMMLencodePMML(E estimator)static org.dmg.pmml.PMMLencodePMML(Booster booster)static <E extends Estimator & HasBooster & org.jpmml.xgboost.HasXGBoostOptions>
intgetNumberOfFeatures(E estimator)static <E extends Estimator & HasBooster & org.jpmml.xgboost.HasXGBoostOptions>
org.jpmml.xgboost.ObjFunctiongetObjFunction(E estimator)
-
-
-
Method Detail
-
getNumberOfFeatures
public static <E extends Estimator & HasBooster & org.jpmml.xgboost.HasXGBoostOptions> int getNumberOfFeatures(E estimator)
-
getObjFunction
public static <E extends Estimator & HasBooster & org.jpmml.xgboost.HasXGBoostOptions> org.jpmml.xgboost.ObjFunction getObjFunction(E estimator)
-
encodeModel
public static <E extends Estimator & HasBooster & org.jpmml.xgboost.HasXGBoostOptions> org.dmg.pmml.mining.MiningModel encodeModel(E estimator, org.jpmml.converter.Schema schema)
-
configureSchema
public static <E extends Estimator & HasBooster & org.jpmml.xgboost.HasXGBoostOptions> org.jpmml.converter.Schema configureSchema(E estimator, org.jpmml.converter.Schema schema)
-
configureModel
public static <E extends 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 Estimator & HasBooster & org.jpmml.xgboost.HasXGBoostOptions> org.dmg.pmml.PMML encodePMML(E estimator)
-
-