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.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 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)
-
encodeBooster
public static <E extends Estimator & HasBooster & org.jpmml.xgboost.HasXGBoostOptions> org.dmg.pmml.mining.MiningModel encodeBooster(E estimator, org.jpmml.converter.Schema schema)
-
-