Documentation of 'cc.mallet.classify.MaxEntOptimizableByLabelDistribution' Java class
MaxEntOptimizableByLabelDistribution
cc.mallet.classify

Class MaxEntOptimizableByLabelDistribution

    • Constructor Detail

      • MaxEntOptimizableByLabelDistribution

        public MaxEntOptimizableByLabelDistribution()
      • MaxEntOptimizableByLabelDistribution

        public MaxEntOptimizableByLabelDistribution(InstanceList trainingSet,
                                                    MaxEnt initialClassifier)
    • Method Detail

      • getClassifier

        public MaxEnt getClassifier()
      • setParameter

        public void setParameter(int index,
                                 double v)
        Specified by:
        setParameter in interface Optimizable
      • getValueGradientCalls

        public int getValueGradientCalls()
        Counts how many times this trainer has computed the gradient of the log probability of training labels.
      • getValueCalls

        public int getValueCalls()
        Counts how many times this trainer has computed the log probability of training labels.
      • setGaussianPriorVariance

        public MaxEntOptimizableByLabelDistribution setGaussianPriorVariance(double gaussianPriorVariance)
        Sets a parameter to prevent overtraining. A smaller variance for the prior means that feature weights are expected to hover closer to 0, so extra evidence is required to set a higher weight.
        Returns:
        This trainer

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.