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

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

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


Constructor Summary
ZenCrowdEM(Models.ZenModel model)
          Constructor for ZenCrowdEM
ZenCrowdEM(Models.ZenModel model, boolean loadFromModel)
          Constructor for ZenCrowdEM
 
Method Summary
 void computeLabelEstimates()
          Compute label estimates
 Models.ZenModel getCurrentModel()
          Get ZenModel
 void setNumIterations(int numIterations)
          Set number of EM iterations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ZenCrowdEM

public ZenCrowdEM(Models.ZenModel model)
Constructor for ZenCrowdEM

Parameters:
model - is of type ZenModel from Models

ZenCrowdEM

public ZenCrowdEM(Models.ZenModel model,
                  boolean loadFromModel)
Constructor for ZenCrowdEM

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

getCurrentModel

public Models.ZenModel getCurrentModel()
Get ZenModel

Returns:
the current ZenModel

setNumIterations

public void setNumIterations(int numIterations)
Set number of EM iterations

Parameters:
numIterations - is an int

computeLabelEstimates

public void computeLabelEstimates()
Compute label estimates



Copyright © 2013. All Rights Reserved.