public class Learner extends Object implements BinaryLoadable, JSONLoadable, UBJSONLoadable
| Constructor and Description |
|---|
Learner() |
| Modifier and Type | Method and Description |
|---|---|
FeatureMap |
encodeFeatureMap() |
org.dmg.pmml.mining.MiningModel |
encodeMiningModel(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() |
<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 |
toValueFilteredSchema(Number missing,
org.jpmml.converter.Schema schema) |
org.jpmml.converter.Schema |
toXGBoostSchema(boolean numeric,
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.Schema toXGBoostSchema(boolean numeric,
org.jpmml.converter.Schema schema)
public org.jpmml.converter.Schema toValueFilteredSchema(Number missing, 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 encodeMiningModel(Map<String,?> options, org.jpmml.converter.Schema schema)
public int num_feature()
public int num_class()
public ObjFunction obj()
public GBTree gbtree()
Copyright © 2023. All rights reserved.