public class SemiSupervisedLogConditionalObjectiveFunction extends AbstractCachingDiffFunction
derivative, 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, valueAt
public 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()
Function
protected void calculate(double[] x)
AbstractCachingDiffFunction
calculate
in class AbstractCachingDiffFunction
x
- The point at which to calculate the function