Algebraic Ground Truth Inference: Non-Parametric Estimation of Sample Errors by AI Algorithms