public class CRFLogConditionalObjectiveFunctionWithDropout extends CRFLogConditionalObjectiveFunction
AbstractStochasticCachingDiffFunction.SamplingMethod
backgroundSymbol, classIndex, cliquePotentialFunc, CONDENSE, data, DEBUG2, DEBUG3, domainDimension, DROPOUT_PRIOR, E, Ehat, epsilon, featureGrouping, featureVal, HUBER_PRIOR, labelIndices, labels, map, multiThreadGrad, NO_PRIOR, numClasses, parallelE, parallelEhat, prior, QUADRATIC_PRIOR, QUARTIC_PRIOR, rand, sigma, smallConst, TIMED, VERBOSE, weightIndices, weights, window
skipValCalc
allIndices, curElement, finiteDifferenceStepSize, gradPerturbed, hasNewVals, HdotV, lastBatch, lastBatchSize, lastElement, lastVBatch, lastXBatch, method, randGenerator, recalculatePrevBatch, returnPreviousValues, sampleMethod, scaleUp, thisBatch, xPerturbed
derivative, value
Modifier and Type | Method and Description |
---|---|
void |
calculate(double[] x)
Calculates both value and partial derivatives at the point x, and save them internally.
|
void |
setWeights(double[][] weights) |
applyPrior, calculateStochastic, calculateStochasticGradient, calculateStochasticUpdate, clear2D, combine2DArr, combine2DArr, combine2DArr, combine2DArr, dataDimension, documentExpectedCounts, domainDimension, empiricalCounts, empiricalCountsForADoc, empty2D, expectedAndEmpiricalCountsAndValueForADoc, expectedCountsAndValueForADoc, expectedCountsAndValueForADoc, expectedCountsForADoc, getCliquePotentialFunction, getCondProbs, getFeatureGrouping, getLabels, getPriorType, getWeightIndices, initial, initial, initial, multiThreadGradient, regularGradientAndValue, setFeatureGrouping, to1D, to1D, to1D, to2D, to2D, to2D, to2D, to2Dfloat, valueAt, valueForADoc
calculateStochasticGradient, calculateStochasticUpdate, getSample, valueAt
clearCache, decrementBatch, derivativeAt, derivativeAt, getBatch, HdotVAt, HdotVAt, HdotVAt, incrementBatch, incrementRandom, lastDerivative, lastValue, scaleUp, valueAt, valueAt
copy, derivativeAt, ensure, getDerivative, gradientCheck, gradientCheck, randomInitial, valueAt
public void setWeights(double[][] weights)
setWeights
in class CRFLogConditionalObjectiveFunction
public void calculate(double[] x)
calculate
in class CRFLogConditionalObjectiveFunction
x
- The point at which to calculate the function