org.square.qa.algorithms
Class BayesGeneralized<TypeWID,TypeQ,TypeR>

java.lang.Object
  extended by org.square.qa.algorithms.BayesGeneralized<TypeWID,TypeQ,TypeR>

public class BayesGeneralized<TypeWID,TypeQ,TypeR>
extends Object


Constructor Summary
BayesGeneralized(Models.BayesModel model, boolean loadFromModel)
          Constructor for BayesGeneralized
 
Method Summary
 void computeLabelEstimates()
          Compute label estimates
 Models.BayesModel getCurrentModel()
          Get BayesModel
 void printWorkerPrior()
          Print worker priors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BayesGeneralized

public BayesGeneralized(Models.BayesModel model,
                        boolean loadFromModel)
Constructor for BayesGeneralized

Parameters:
model - is of type BayesModel from Models
loadFromModel - is a boolean indication if model already exists
Method Detail

getCurrentModel

public Models.BayesModel getCurrentModel()
Get BayesModel

Returns:
the current BayesModel

computeLabelEstimates

public void computeLabelEstimates()
Compute label estimates


printWorkerPrior

public void printWorkerPrior()
Print worker priors



Copyright © 2013. All Rights Reserved.