public class GeneralizedExpectationObjectiveFunction<L,F> extends AbstractCachingDiffFunction
derivative, value
Constructor and Description |
---|
GeneralizedExpectationObjectiveFunction(GeneralDataset<L,F> labeledDataset,
java.util.List<? extends Datum<L,F>> unlabeledDataList,
java.util.List<F> geFeatures) |
Modifier and Type | Method and Description |
---|---|
protected void |
calculate(double[] x)
Calculate the value at x and the derivative
and save them in the respective fields.
|
int |
domainDimension()
Returns the number of dimensions in the function's domain
|
protected int |
indexOf(int f,
int c) |
double[][] |
to2D(double[] x) |
clearCache, copy, derivativeAt, ensure, getDerivative, gradientCheck, gradientCheck, initial, lastValue, randomInitial, valueAt
public int domainDimension()
Function
protected int indexOf(int f, int c)
public double[][] to2D(double[] x)
protected void calculate(double[] x)
AbstractCachingDiffFunction
calculate
in class AbstractCachingDiffFunction
x
- The point at which to calculate the function