public class CRFLogConditionalObjectiveFunctionWithDropout extends CRFLogConditionalObjectiveFunction
AbstractStochasticCachingDiffFunction.SamplingMethodbackgroundSymbol, 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, windowskipValCalcallIndices, curElement, finiteDifferenceStepSize, gradPerturbed, hasNewVals, HdotV, lastBatch, lastBatchSize, lastElement, lastVBatch, lastXBatch, method, randGenerator, recalculatePrevBatch, returnPreviousValues, sampleMethod, scaleUp, thisBatch, xPerturbedderivative, generator, 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, to2D, to2D, valueAt, valueForADoccalculateStochasticGradient, calculateStochasticUpdate, getSample, valueAtclearCache, decrementBatch, derivativeAt, derivativeAt, getBatch, HdotVAt, HdotVAt, HdotVAt, incrementBatch, incrementRandom, lastDerivative, lastValue, scaleUp, valueAt, valueAtcopy, derivativeAt, ensure, getDerivative, gradientCheck, gradientCheck, randomInitial, valueAtpublic void setWeights(double[][] weights)
setWeights in class CRFLogConditionalObjectiveFunctionpublic void calculate(double[] x)
calculate in class CRFLogConditionalObjectiveFunctionx - The point at which to calculate the function