public class Learner extends java.lang.Object implements BinaryLoadable, JSONLoadable
| Constructor and Description |
|---|
Learner() |
| Modifier and Type | Method and Description |
|---|---|
org.dmg.pmml.mining.MiningModel |
encodeMiningModel(java.util.Map<java.lang.String,?> options,
org.jpmml.converter.Schema schema) |
org.dmg.pmml.PMML |
encodePMML(java.util.Map<java.lang.String,?> options,
java.lang.String targetName,
java.util.List<java.lang.String> targetCategories,
FeatureMap featureMap) |
org.jpmml.converter.Schema |
encodeSchema(java.lang.String targetName,
java.util.List<java.lang.String> targetCategories,
FeatureMap featureMap,
XGBoostEncoder encoder) |
<DIS extends java.io.InputStream & java.io.DataInput> |
loadBinary(DIS is,
java.lang.String charset) |
void |
loadBinary(XGBoostDataInput input) |
void |
loadJSON(java.io.InputStream is,
java.lang.String charset,
java.lang.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 java.io.IOException
loadBinary in interface BinaryLoadablejava.io.IOExceptionpublic void loadJSON(com.google.gson.JsonObject root)
loadJSON in interface JSONLoadablepublic <DIS extends java.io.InputStream & java.io.DataInput> void loadBinary(DIS is,
java.lang.String charset)
throws java.io.IOException
java.io.IOExceptionpublic void loadJSON(java.io.InputStream is,
java.lang.String charset,
java.lang.String jsonPath)
throws java.io.IOException
java.io.IOExceptionpublic org.jpmml.converter.Schema encodeSchema(java.lang.String targetName,
java.util.List<java.lang.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(java.util.Map<java.lang.String,?> options,
java.lang.String targetName,
java.util.List<java.lang.String> targetCategories,
FeatureMap featureMap)
public org.dmg.pmml.mining.MiningModel encodeMiningModel(java.util.Map<java.lang.String,?> options,
org.jpmml.converter.Schema schema)
public int num_feature()
public int num_class()
public ObjFunction obj()
Copyright © 2021. All Rights Reserved.