ipeirotis / Get-Another-Label

Quality control code for estimating the quality of the workers in crowdsourcing environments
70 stars 26 forks source link

Refactor DawidSkene and get the reporting functions out of the class #16

Closed ipeirotis closed 12 years ago

ipeirotis commented 12 years ago

All the print* methods should be placed in a different class. DawidSkene should have getter methods that return Set of ids for objects and workers, and then have getter functions that return Datum and Worker, allowing the printWorkerScore, printObjectClassProbabilities, etc to operate outside DawidSkene

aldrinleal commented 12 years ago

I started to do that. CSV / Field Access are now moved into a Decorator Class. The intent is in the long run, to support memoizing (i.e., caching expensive results instead of calling the same method again and again)

aldrinleal commented 12 years ago

Done. Right now, there is no writing / formatting into DawidSkene