public class Learner extends Object implements BinaryLoadable, JSONLoadable, UBJSONLoadable
| Constructor and Description |
|---|
Learner() |
| Modifier and Type | Method and Description |
|---|---|
org.dmg.pmml.mining.MiningModel |
configureModel(Map<String,?> options,
org.dmg.pmml.mining.MiningModel miningModel) |
org.jpmml.converter.Schema |
configureSchema(Map<String,?> options,
org.jpmml.converter.Schema schema) |
FeatureMap |
encodeFeatureMap() |
org.jpmml.converter.Label |
encodeLabel(String targetName,
List<String> targetCategories,
XGBoostEncoder encoder) |
org.dmg.pmml.mining.MiningModel |
encodeModel(Integer ntreeLimit,
org.jpmml.converter.Schema schema) |
org.dmg.pmml.mining.MiningModel |
encodeModel(Map<String,?> options,
org.jpmml.converter.Schema schema) |
org.dmg.pmml.PMML |
encodePMML(Map<String,?> options,
String targetName,
List<String> targetCategories,
FeatureMap featureMap) |
org.jpmml.converter.Schema |
encodeSchema(String targetName,
List<String> targetCategories,
FeatureMap featureMap,
XGBoostEncoder encoder) |
GBTree |
gbtree() |
String |
getAttribute(String key) |
Integer |
getBestIteration() |
Double |
getBestScore() |
<DIS extends InputStream & DataInput> |
loadBinary(DIS is,
String charset) |
void |
loadBinary(XGBoostDataInput input) |
void |
loadJSON(InputStream is,
String charset,
String jsonPath) |
void |
loadJSON(com.google.gson.JsonObject root) |
void |
loadUBJSON(InputStream is,
String jsonPath) |
void |
loadUBJSON(com.devsmart.ubjson.UBObject root) |
int |
num_class() |
int |
num_feature() |
ObjFunction |
obj() |
org.jpmml.converter.Schema |
toXGBoostSchema(org.jpmml.converter.Schema schema) |
public void loadBinary(XGBoostDataInput input) throws IOException
loadBinary in interface BinaryLoadableIOExceptionpublic void loadJSON(com.google.gson.JsonObject root)
loadJSON in interface JSONLoadablepublic void loadUBJSON(com.devsmart.ubjson.UBObject root)
loadUBJSON in interface UBJSONLoadablepublic <DIS extends InputStream & DataInput> void loadBinary(DIS is, String charset) throws IOException
IOExceptionpublic void loadJSON(InputStream is, String charset, String jsonPath) throws IOException
IOExceptionpublic void loadUBJSON(InputStream is, String jsonPath) throws IOException
IOExceptionpublic FeatureMap encodeFeatureMap()
public org.jpmml.converter.Schema encodeSchema(String targetName, List<String> targetCategories, FeatureMap featureMap, XGBoostEncoder encoder)
public org.jpmml.converter.Label encodeLabel(String targetName, List<String> targetCategories, XGBoostEncoder encoder)
public org.jpmml.converter.Schema toXGBoostSchema(org.jpmml.converter.Schema schema)
public org.dmg.pmml.PMML encodePMML(Map<String,?> options, String targetName, List<String> targetCategories, FeatureMap featureMap)
public org.dmg.pmml.mining.MiningModel encodeModel(Map<String,?> options, org.jpmml.converter.Schema schema)
public org.dmg.pmml.mining.MiningModel encodeModel(Integer ntreeLimit, org.jpmml.converter.Schema schema)
public org.jpmml.converter.Schema configureSchema(Map<String,?> options, org.jpmml.converter.Schema schema)
public org.dmg.pmml.mining.MiningModel configureModel(Map<String,?> options, org.dmg.pmml.mining.MiningModel miningModel)
public int num_feature()
public int num_class()
public ObjFunction obj()
public GBTree gbtree()
public Integer getBestIteration()
public Double getBestScore()
Copyright © 2025. All rights reserved.