public class Learner extends Object implements BinaryLoadable, JSONLoadable
| Constructor and Description |
|---|
Learner() |
| Modifier and Type | Method and Description |
|---|---|
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) |
<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) |
int |
num_class() |
int |
num_feature() |
ObjFunction |
obj() |
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 <DIS extends InputStream & DataInput> void loadBinary(DIS is, String charset) throws IOException
IOExceptionpublic void loadJSON(InputStream is, String charset, String jsonPath) throws IOException
IOExceptionpublic 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.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()
Copyright © 2022. All rights reserved.