public class SemiSupervisedLogConditionalObjectiveFunction extends AbstractCachingDiffFunction
derivative, generator, value| Constructor and Description |
|---|
SemiSupervisedLogConditionalObjectiveFunction(AbstractCachingDiffFunction objFunc,
AbstractCachingDiffFunction biasedObjFunc,
LogPrior prior) |
SemiSupervisedLogConditionalObjectiveFunction(AbstractCachingDiffFunction objFunc,
AbstractCachingDiffFunction biasedObjFunc,
LogPrior prior,
double convexComboFrac) |
| 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
|
void |
setPrior(LogPrior prior) |
clearCache, copy, derivativeAt, ensure, getDerivative, gradientCheck, gradientCheck, initial, lastValue, randomInitial, valueAtpublic SemiSupervisedLogConditionalObjectiveFunction(AbstractCachingDiffFunction objFunc, AbstractCachingDiffFunction biasedObjFunc, LogPrior prior, double convexComboFrac)
public SemiSupervisedLogConditionalObjectiveFunction(AbstractCachingDiffFunction objFunc, AbstractCachingDiffFunction biasedObjFunc, LogPrior prior)
public void setPrior(LogPrior prior)
public int domainDimension()
Functionprotected void calculate(double[] x)
AbstractCachingDiffFunctioncalculate in class AbstractCachingDiffFunctionx - The point at which to calculate the function