This class represents a single datum, and has methods to read in data.  
 More...
This class represents a single datum, and has methods to read in data. 
 
  
  
      
        
          | static IList<Datum> CrowdsourcingModels.Datum.LoadData  | 
          ( | 
          string  | 
          filename | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
Loads the data file in the format (worker id, task id, worker label, ?gold label). 
- Parameters
 - 
  
  
 
- Returns
 - The list of parsed data.
 
 
 
  
  
      
        
          | static IList<Datum> CrowdsourcingModels.Datum.Shuffle  | 
          ( | 
          IList< Datum >  | 
          data | ) | 
           | 
         
       
   | 
  
inlinestatic   | 
  
 
Shuffle a data list 
- Parameters
 - 
  
  
 
- Returns
 - The shuffled data list
 
 
 
      
        
          | string CrowdsourcingModels.Datum.BodyText | 
        
      
 
The body text of the document (optional - only for text sentiment labelling tasks). 
 
 
      
        
          | int CrowdsourcingModels.Datum.GoldLabel | 
        
      
 
The task's gold label (optional). 
 
 
      
        
          | string CrowdsourcingModels.Datum.TaskId | 
        
      
 
 
      
        
          | double CrowdsourcingModels.Datum.TimeSpent | 
        
      
 
The time spent by the worker to produce the label (optional) 
 
 
      
        
          | string CrowdsourcingModels.Datum.WorkerId | 
        
      
 
 
      
        
          | int CrowdsourcingModels.Datum.WorkerLabel | 
        
      
 
 
The documentation for this class was generated from the following file:
- C:/Users/Matteo/Source/Repos/active-crowd/CrowdsourcingModels/Datum.cs