peal.teachers.human2model_teacher.DataStore¶
- class peal.teachers.human2model_teacher.DataStore[source]¶
Bases:
objectMutable state shared between the Flask route and the training thread.
- Variables:
i (
int) – Index of the next collage to show.collage_paths (
listofstr) – Paths understatic/of the collages awaiting feedback.feedback (
listofstr) – Collected answers ("true","false","ood"or an automatic"student incorrect!"/"student not swapped!"entry).y_target_end_confidence_list (
listoffloat) – Confidence of the student in the target class after the edit.student_correct_list (
listofbool) – Whether the student’s source prediction matched the label.
Methods
Attributes
- i = None¶
- collage_paths = None¶
- feedback = None¶
- y_target_end_confidence_list = None¶
- student_correct_list = None¶