edu.cmu.minorthird.classify.algorithms.random
Class Estimators
java.lang.Object
edu.cmu.minorthird.classify.algorithms.random.Estimators
public class Estimators
- extends java.lang.Object
- Author:
- Edoardo Airoldi
Date: Dec 11, 2004
Method Summary |
static Estimate |
estimateBinomialMuDelta(double[] vCnt,
double[] vWgt,
double prior,
double scale)
|
static Estimate |
estimateBinomialPN(double[] vCnt,
double[] vWgt,
double prior,
double scale)
|
static double |
estimateMean(double[] wgt)
|
static Estimate |
estimateNaiveBayesMean(double classPrior,
double numberOfClasses,
double observedCounts,
double totalCounts)
|
static Estimate |
estimateNaiveBayesWeightedMean(double[] vCnt,
double[] vWgt,
double prior,
double scale)
|
static Estimate |
estimateNegativeBinomialMuDelta(double[] vCnt,
double[] vWgt,
double prior,
double scale)
|
static Estimate |
estimatePoissonLambda(double classPrior,
double numberOfClasses,
double observedCounts,
double totalCounts)
|
static Estimate |
estimatePoissonWeightedLambda(double[] vCnt,
double[] vWgt,
double prior,
double scale)
|
static double |
estimateVar(double[] wgt)
|
static double |
Max(double[] v)
|
static Estimate[] |
mcmcEstimateDirichletPoissonTauSigma(Estimate[] lambdaEstimateVec,
double[] vlow,
double[] vup,
double xr,
double xp,
double wr,
double wp,
double[] vbeta,
double tauSD,
double sigmaSD,
int numIterations)
|
static double |
Sum(double[] wgt)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Estimators
public Estimators()
estimateBinomialPN
public static Estimate estimateBinomialPN(double[] vCnt,
double[] vWgt,
double prior,
double scale)
estimateBinomialMuDelta
public static Estimate estimateBinomialMuDelta(double[] vCnt,
double[] vWgt,
double prior,
double scale)
estimateNegativeBinomialMuDelta
public static Estimate estimateNegativeBinomialMuDelta(double[] vCnt,
double[] vWgt,
double prior,
double scale)
estimatePoissonLambda
public static Estimate estimatePoissonLambda(double classPrior,
double numberOfClasses,
double observedCounts,
double totalCounts)
estimatePoissonWeightedLambda
public static Estimate estimatePoissonWeightedLambda(double[] vCnt,
double[] vWgt,
double prior,
double scale)
estimateNaiveBayesMean
public static Estimate estimateNaiveBayesMean(double classPrior,
double numberOfClasses,
double observedCounts,
double totalCounts)
estimateNaiveBayesWeightedMean
public static Estimate estimateNaiveBayesWeightedMean(double[] vCnt,
double[] vWgt,
double prior,
double scale)
mcmcEstimateDirichletPoissonTauSigma
public static Estimate[] mcmcEstimateDirichletPoissonTauSigma(Estimate[] lambdaEstimateVec,
double[] vlow,
double[] vup,
double xr,
double xp,
double wr,
double wp,
double[] vbeta,
double tauSD,
double sigmaSD,
int numIterations)
estimateMean
public static double estimateMean(double[] wgt)
estimateVar
public static double estimateVar(double[] wgt)
Sum
public static double Sum(double[] wgt)
Max
public static double Max(double[] v)