public abstract class ObjFunction extends Object
| Constructor and Description |
|---|
ObjFunction(String name) |
| Modifier and Type | Method and Description |
|---|---|
protected static org.dmg.pmml.mining.MiningModel |
createMiningModel(List<RegTree> trees,
List<Float> weights,
float base_score,
Integer ntreeLimit,
boolean numeric,
org.jpmml.converter.Schema schema) |
abstract org.jpmml.converter.Label |
encodeLabel(String targetName,
List<?> targetCategories,
org.jpmml.converter.PMMLEncoder encoder) |
abstract org.dmg.pmml.mining.MiningModel |
encodeMiningModel(List<RegTree> trees,
List<Float> weights,
float base_score,
Integer ntreeLimit,
boolean numeric,
org.jpmml.converter.Schema schema) |
String |
getName() |
protected static float |
inverseExp(float value) |
protected static float |
inverseLogit(float value) |
float |
probToMargin(float value) |
public ObjFunction(String name)
public abstract org.jpmml.converter.Label encodeLabel(String targetName, List<?> targetCategories, org.jpmml.converter.PMMLEncoder encoder)
public abstract org.dmg.pmml.mining.MiningModel encodeMiningModel(List<RegTree> trees, List<Float> weights, float base_score, Integer ntreeLimit, boolean numeric, org.jpmml.converter.Schema schema)
public float probToMargin(float value)
public String getName()
protected static org.dmg.pmml.mining.MiningModel createMiningModel(List<RegTree> trees, List<Float> weights, float base_score, Integer ntreeLimit, boolean numeric, org.jpmml.converter.Schema schema)
protected static float inverseLogit(float value)
protected static float inverseExp(float value)
Copyright © 2023. All rights reserved.