public class ShiftParamsLogisticObjectiveFunction extends AbstractCachingDiffFunction implements HasRegularizerParamRange
derivative, value| Constructor and Description |
|---|
ShiftParamsLogisticObjectiveFunction(int[][] data,
double[][] dataValues,
int[][] labels,
int numClasses,
int numFeatures,
int numL2Parameters,
LogPrior prior) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
calculate(double[] thetasArray)
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
|
java.util.Set<java.lang.Integer> |
getRegularizerParamRange(double[] x) |
clearCache, copy, derivativeAt, ensure, getDerivative, gradientCheck, gradientCheck, initial, lastValue, randomInitial, valueAtpublic ShiftParamsLogisticObjectiveFunction(int[][] data,
double[][] dataValues,
int[][] labels,
int numClasses,
int numFeatures,
int numL2Parameters,
LogPrior prior)
public int domainDimension()
FunctiondomainDimension in interface Functionprotected void calculate(double[] thetasArray)
AbstractCachingDiffFunctioncalculate in class AbstractCachingDiffFunctionthetasArray - The point at which to calculate the functionpublic java.util.Set<java.lang.Integer> getRegularizerParamRange(double[] x)
getRegularizerParamRange in interface HasRegularizerParamRange