Package xgboost.sklearn
Class BoosterUtil
java.lang.Object
xgboost.sklearn.BoosterUtil
-
Method Summary
Modifier and TypeMethodDescriptionstatic <E extends Estimator & HasBooster & org.jpmml.xgboost.HasXGBoostOptions>
org.dmg.pmml.mining.MiningModelencodeBooster(E estimator, org.jpmml.converter.Schema schema) 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 Details
-
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) -
encodeBooster
public static <E extends Estimator & HasBooster & org.jpmml.xgboost.HasXGBoostOptions> org.dmg.pmml.mining.MiningModel encodeBooster(E estimator, org.jpmml.converter.Schema schema)
-