public class EmpiricalLearnerLoss extends R1ToR1
Constructor and Description |
---|
EmpiricalLearnerLoss(R1ToR1 learner,
double dblRealization)
EmpiricalLearnerLoss Constructor
|
Modifier and Type | Method and Description |
---|---|
double |
empiricalRealization()
Retrieve the Empirical Realization
|
double |
evaluate(double dblVariate)
Evaluate for the given variate
|
R1ToR1 |
learner()
Retrieve the Learning Function
|
double |
loss(double dblVariate)
Compute the Loss for the specified Variate
|
derivative, differential, differential, integrate, maxima, maxima, minima, minima
public EmpiricalLearnerLoss(R1ToR1 learner, double dblRealization) throws java.lang.Exception
learner
- The Learning FunctiondblRealization
- The Empirical Outcomejava.lang.Exception
- Thrown if the Inputs are Invalidpublic double empiricalRealization()
public R1ToR1 learner()
public double loss(double dblVariate) throws java.lang.Exception
dblVariate
- The Variatejava.lang.Exception
- Thrown if the Loss cannot be computedpublic double evaluate(double dblVariate) throws java.lang.Exception
R1ToR1