Package org.jpmml.xgboost
Class BinomialLogisticRegression
- java.lang.Object
-
- org.jpmml.xgboost.ObjFunction
-
- org.jpmml.xgboost.Classification
-
- org.jpmml.xgboost.BinomialLogisticRegression
-
public class BinomialLogisticRegression extends Classification
-
-
Constructor Summary
Constructors Constructor Description BinomialLogisticRegression(String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.dmg.pmml.mining.MiningModelencodeModel(List<RegTree> trees, List<Float> weights, float base_score, Integer ntreeLimit, org.jpmml.converter.Schema schema)floatprobToMargin(float value)-
Methods inherited from class org.jpmml.xgboost.Classification
encodeLabel, encodeModel, num_class
-
Methods inherited from class org.jpmml.xgboost.ObjFunction
createMiningModel, getName, inverseExp, inverseLogit
-
-
-
-
Constructor Detail
-
BinomialLogisticRegression
public BinomialLogisticRegression(String name)
-
-
Method Detail
-
probToMargin
public float probToMargin(float value)
- Overrides:
probToMarginin classObjFunction
-
encodeModel
public org.dmg.pmml.mining.MiningModel encodeModel(List<RegTree> trees, List<Float> weights, float base_score, Integer ntreeLimit, org.jpmml.converter.Schema schema)
- Specified by:
encodeModelin classObjFunction
-
-