ActiveCrowdToolkit  0.1
CrowdsourcingModels.Program Class Reference

The class for the main program. More...

Static Public Member Functions

static Results RunGold (string dataSet, IList< Datum > data, RunType runType, BCC model, int numCommunities=2)
 Runs a model with the full gold set. More...
 
static string GetModelName (string dataset, RunType runType, TaskSelectionMethod taskSelectionMethod, WorkerSelectionMethod workerSelectionMethod, int NumCommunities)
 Returns the model name as a string. More...
 
static string GetModelName (string dataset, RunType runType)
 Returns the model name as a string. More...
 

Static Public Attributes

static string[] Datasets = new string[] { "CF", "ZenCrowd_us", "ZenCrowd_in" }
 The datasets. More...
 
static bool UseRealData
 
static int[] NumCommunities = new int[] { 4 }
 The number of communities of CBCC. More...
 
static bool isRecordedToTxtFile = false
 Flag to redirect the console output to txt file More...
 
static int startIndex = 0
 
static int endIndex = 0
 
static int whichModel
 
static int clusterIter
 

Detailed Description

The class for the main program.

Member Function Documentation

static string CrowdsourcingModels.Program.GetModelName ( string  dataset,
RunType  runType,
TaskSelectionMethod  taskSelectionMethod,
WorkerSelectionMethod  workerSelectionMethod,
int  NumCommunities 
)
inlinestatic

Returns the model name as a string.

Parameters
datasetThe name of the data set.
runTypeThe model run type.
taskSelectionMethodThe method for selecting tasks (Random / Entropy).
workerSelectionMethodThe method for selecting workers (only Random is implemented).
numCommunitiesThe number of communities (only for CBCC).
Returns
The model name
static string CrowdsourcingModels.Program.GetModelName ( string  dataset,
RunType  runType 
)
inlinestatic

Returns the model name as a string.

Parameters
datasetThe name of the data set.
runTypeThe model run type.
Returns
The model name
static Results CrowdsourcingModels.Program.RunGold ( string  dataSet,
IList< Datum data,
RunType  runType,
BCC  model,
int  numCommunities = 2 
)
inlinestatic

Runs a model with the full gold set.

Parameters
dataSetThe data.
currentTaskSelectionMethodCurrent Task Selection Method
runTypeThe model run type.
modelThe model instance.
numCommunitiesThe number of communities (only for CBCC).
Returns
The inference results

Member Data Documentation

string [] CrowdsourcingModels.Program.Datasets = new string[] { "CF", "ZenCrowd_us", "ZenCrowd_in" }
static

The datasets.

bool CrowdsourcingModels.Program.isRecordedToTxtFile = false
static

Flag to redirect the console output to txt file

int [] CrowdsourcingModels.Program.NumCommunities = new int[] { 4 }
static

The number of communities of CBCC.


The documentation for this class was generated from the following file: