|
Results | RunMajorityVote (IList< Datum > data, IList< Datum > fullData, bool calculateAccuracy, bool useVoteDistribution) |
| Runs the majority vote method on the data. More...
|
|
Results | RunDawidSkene (IList< Datum > data, IList< Datum > fullData, bool calculateAccuracy) |
| Run Dawid-Skene on the data. More...
|
|
void | RunBCC (string modelName, IList< Datum > data, IList< Datum > fullData, BCC model, RunMode mode, bool calculateAccuracy, int numCommunities=-1, bool serialize=false, bool serializeCommunityPosteriors=false) |
|
void | WriteBasicStatistics (StreamWriter writer) |
|
virtual void | WriteResults (StreamWriter writer, bool writeCommunityParameters, bool writeWorkerParameters, bool writeWorkerCommunities) |
|
virtual void | WriteAccuracy (StreamWriter writer) |
|
double[,] | GetConfusionMatrices (string workerId="", int communityIndex=-1) |
|
Discrete | getTaskTrueLabel (string taskId) |
| Get True Label values of the given taskId More...
|
|
|
Dictionary< string, Discrete > | TrueLabel [get, protected set] |
| The posterior of the true label for each task. More...
|
|
Dictionary< string, Discrete > | LookAheadTrueLabel [get, protected set] |
| The predicted label for each task when doing simulations from the current model state. It avoids overwriting the true label posterior. More...
|
|
Dictionary< string, Discrete > | TrueLabelConstraint [get, protected set] |
| The posterior for the constraint that allows online learning for the true label variable. More...
|
|
Dictionary< string, int?> | PredictedLabel [get, protected set] |
| The predicted label for each task More...
|
|
Dirichlet | BackgroundLabelProb [get, protected set] |
| The probabilities that generate the true label of all the tasks. More...
|
|
Dictionary< string, Dirichlet[]> | WorkerConfusionMatrix [get, protected set] |
| The posterior of the confusion matrix of each worker. More...
|
|
Dictionary< string, Vector[]> | WorkerConfusionMatrixMean [get, protected set] |
| The mean of the posterior of the confusion matrix of each worker. More...
|
|
Dictionary< string, Dirichlet[]> | LookAheadWorkerConfusionMatrix [get, protected set] |
| The look-ahead posterior of the confusion matrix of each worker obtained after simulating a new label in look-ahead run mode. More...
|
|
Dictionary< string, Dictionary< string, Discrete > > | WorkerPrediction [get, protected set] |
| The predictive probabilities of the labels produced by each worker. More...
|
|
Dictionary< string, Discrete > | WorkerCommunity [get, protected set] |
| The community membership probabilities of each worker. More...
|
|
Dirichlet[][] | CommunityConfusionMatrix [get, protected set] |
| The confusion matrix of each community. More...
|
|
VectorGaussian[][] | CommunityScoreMatrix [get, protected set] |
| The score matrix of each community. More...
|
|
Dictionary< string, VectorGaussian[]> | WorkerScoreMatrixConstraint [get, protected set] |
| The posterior for the constraint that allows online learning for worker confusion matrices int the community model. More...
|
|
Dirichlet | CommunityProb [get, protected set] |
| The probabilities that generate the community memberships of all the workers. More...
|
|
Dictionary< string, Discrete > | CommunityConstraint [get, protected set] |
| The posterior for the constraint that allows online learning for community membership. int the community model. More...
|
|
Bernoulli | ModelEvidence [get, protected set] |
| Model evidence. More...
|
|
DataMapping | Mapping [get, set] |
| The data mapping. More...
|
|
DataMapping | FullMapping [get, set] |
| The full data mapping. More...
|
|
Dictionary< string, int?> | GoldLabels [get, protected set] |
| The gold labels of each task. The gold label type is nullable to support the (usual) situation where the is no labels. More...
|
|
double | Accuracy [get] |
| The accuracy of the current true label predictions. More...
|
|
double | WorkerLabelAccuracy [get, protected set] |
| The accuracy of the worker labels. More...
|
|
double | NegativeLogProb [get] |
| The negative log probability density (NLPD) scores of the current true label predictions. More...
|
|
double | AvgRecall [get] |
| The average recall of the current true label predictions. More...
|
|
double[,] | ModelConfusionMatrix [get] |
| The confusion matrix of the predicted true labels against the gold labels The rows are the gold labels and the columns are the predicted labels. More...
|
|
bool | IsCommunityModel [get] |
| Flags whether the model instance is CBCC (true) or BCC (false). More...
|
|
bool | IsTimeModel [get] |
| Flags whether the model instance is a BCC time model (true) or not (false). More...
|
|
bool | IsTimeMultimodeModel [get] |
| Flags whether the model instance is a BCC time model (true) or not (false). More...
|
|
bool | IsTimeTaskPropensityModel [get] |
|
int | CommunityCount [get] |
| The number of communities. More...
|
|
ConfusionMatrix | ResultsConfusionMatrixForBinaryLabels [get] |
|
ReceiverOperatingCharacteristic | RocCurve [get] |
|
Results class containing posteriors and predictions.