public class GeneralizedExpectationObjectiveFunction<L,F> extends AbstractCachingDiffFunction
derivative, generator, 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, valueAtpublic int domainDimension()
Functionprotected int indexOf(int f,
int c)
public double[][] to2D(double[] x)
protected void calculate(double[] x)
AbstractCachingDiffFunctioncalculate in class AbstractCachingDiffFunctionx - The point at which to calculate the function