public class LaplacePriorImpl extends Prior
| Constructor and Description | 
|---|
| LaplacePriorImpl() | 
| Modifier and Type | Method and Description | 
|---|---|
| void | computeLogLikelihood(double[] betas,
                    Instances instances)Computes the log-likelihood values using the implementation in the Prior class. | 
| void | computePenalty(double[] betas,
              double[] hyperparameters)This function computes the penalty term specific to Laplacian distribution. | 
| java.lang.String | getRevision()Returns the revision string. | 
| double | laplaceUpdate(int j,
             double sign)This is the CLG-lasso update function described in the | 
| double | update(int j,
      Instances instances,
      double beta,
      double hyperparameter,
      double[] r,
      double deltaV)Update function specific to Laplace Prior. | 
computelogLikelihood, getLoglikelihood, getLogPosterior, getPenaltypublic double update(int j,
                     Instances instances,
                     double beta,
                     double hyperparameter,
                     double[] r,
                     double deltaV)
public double laplaceUpdate(int j,
                            double sign)
 @TechReport{blrtext04,
author = {Alexander Genkin and David D. Lewis and David Madigan},
title = {Large-scale bayesian logistic regression for text categorization},
institution = {DIMACS},
year = {2004},
url = "http://www.stat.rutgers.edu/~madigan/PAPERS/shortFat-v3a.pdf",
OPTannote = {}
}j - public void computeLogLikelihood(double[] betas,
                                 Instances instances)
betas - instances - hyperparameter - public void computePenalty(double[] betas,
                           double[] hyperparameters)
computePenalty in class Priorbetas - hyperparameters - public java.lang.String getRevision()