类 GaussianPriorImpl

java.lang.Object
weka.classifiers.bayes.blr.Prior
weka.classifiers.bayes.blr.GaussianPriorImpl
所有已实现的接口:
Serializable, RevisionHandler

public class GaussianPriorImpl extends Prior
Implementation of the Gaussian Prior update function based on CLG Algorithm with a certain Trust Region Update. The values are updated in the BayesianLogisticRegressionV variables used by the algorithm.
版本:
$Revision: 1.2 $
作者:
Navendu Garg(gargnav@iit.edu)
另请参阅:
  • 构造器详细资料

    • GaussianPriorImpl

      public GaussianPriorImpl()
  • 方法详细资料

    • update

      public double update(int j, Instances instances, double beta, double hyperparameter, double[] r, double deltaV)
      Update function specific to Laplace Prior.
      覆盖:
      update 在类中 Prior
    • computeLoglikelihood

      public void computeLoglikelihood(double[] betas, Instances instances)
      This method calls the log-likelihood implemented in the Prior abstract class.
      参数:
      betas -
      instances -
    • computePenalty

      public void computePenalty(double[] betas, double[] hyperparameters)
      This function computes the penalty term specific to Gaussian distribution.
      覆盖:
      computePenalty 在类中 Prior
      参数:
      betas -
      hyperparameters -
    • getRevision

      public String getRevision()
      Returns the revision string.
      返回:
      the revision