Package sklearn.loss
Class LogitLink
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<java.lang.String,java.lang.Object>
-
- net.razorvine.pickle.objects.ClassDict
-
- org.jpmml.python.PythonObject
-
- sklearn.loss.Link
-
- sklearn.loss.LogitLink
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map<java.lang.String,java.lang.Object>
public class LogitLink extends Link
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LogitLink(java.lang.String module, java.lang.String name)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.lang.Double>computeInitialPredictions(int numClasses, HasPriorProbability hasPriorProbability)static doublelogit(double x)-
Methods inherited from class org.jpmml.python.PythonObject
containsKey, delattr, get, get, getArray, getArray, getArray, getArrayList, getArrayList, getArrayShape, getArrayShape, getattr, getattr, getBoolean, getBooleanArray, getClassName, getDict, getEnum, getEnumList, getIdentifiable, getInteger, getIntegerArray, getList, getList, getListLike, getListLike, getNumber, getNumberArray, getObject, getObjectArray, getObjectList, getOptional, getOptionalBoolean, getOptionalBoolean, getOptionalDict, getOptionalEnum, getOptionalIdentifiable, getOptionalInteger, getOptionalNumber, getOptionalObject, getOptionalScalar, getOptionalString, getOptionalTuple, getPythonModule, getPythonName, getScalar, getString, getStringArray, getStringList, getTuple, getTupleList, hasattr, put, putAll, remove, setattr, setClassName, update
-
-
-
-
Method Detail
-
computeInitialPredictions
public java.util.List<java.lang.Double> computeInitialPredictions(int numClasses, HasPriorProbability hasPriorProbability)- Specified by:
computeInitialPredictionsin classLink
-
logit
public static double logit(double x)
-
-