Class CRFOptimizableByKL

    • Field Detail

      • cachedValueWeightsStamp

        protected int cachedValueWeightsStamp
      • cachedGradientWeightsStamp

        protected int cachedGradientWeightsStamp
      • numParameters

        protected int numParameters
      • numThreads

        protected int numThreads
      • weight

        protected double weight
      • gaussianPriorVariance

        protected double gaussianPriorVariance
      • cachedValue

        protected double cachedValue
      • cachedGradient

        protected double[] cachedGradient
      • initialProbList

        protected java.util.List<double[]> initialProbList
      • finalProbList

        protected java.util.List<double[]> finalProbList
      • transitionProbList

        protected java.util.List<double[][][]> transitionProbList
      • crf

        protected CRF crf
      • executor

        protected java.util.concurrent.ThreadPoolExecutor executor
    • Constructor Detail

      • CRFOptimizableByKL

        public CRFOptimizableByKL​(CRF crf,
                                  InstanceList trainingSet,
                                  PRAuxiliaryModel auxModel,
                                  double[][][][] cachedDots,
                                  int numThreads,
                                  double weight)