MCPcopy Create free account
hub / github.com/EdwardRaff/JSAT / getConjugate

Method getConjugate

JSAT/src/jsat/lossfunctions/LossFunc.java:54–54  ·  view source on GitHub ↗

Computes the result of the conjugate function of this loss. This function is generally optional, and should return Double#NaN if not properly implemented. Many optimization algorithms do require a working implementation though. @param b the primary input to the function @param pred the predi

(double b, double pred, double y)

Source from the content-addressed store, hash-verified

52 * @return the result of the conjugate function of this loss
53 */
54 public double getConjugate(double b, double pred, double y);
55
56 /**
57 * Returns an upper bound on the maximum value of the second derivative. If

Callers 2

testGetConjugateMethod · 0.65
trainProxSDCAMethod · 0.65

Implementers 6

HuberLossJSAT/src/jsat/lossfunctions/HuberLoss.
SquaredLossJSAT/src/jsat/lossfunctions/SquaredLos
EpsilonInsensitiveLossJSAT/src/jsat/lossfunctions/EpsilonIns
AbsoluteLossJSAT/src/jsat/lossfunctions/AbsoluteLo
HingeLossJSAT/src/jsat/lossfunctions/HingeLoss.
LogisticLossJSAT/src/jsat/lossfunctions/LogisticLo

Calls

no outgoing calls

Tested by 1

testGetConjugateMethod · 0.52