ClassificationEngine.answers
ClassificationEngine.answers(model_name=None, split='test')One row per image: its key, its answer, and how sure the model was.
The key is what makes this joinable to anything else the caller holds, and it is the thing rplatypus#223 was filed about on the segmentation side - a prediction returned as a bare sequence has to be paired by position.
A set of labels is a different row and not the same row with a longer string. labels holds the findings the image actually carries and predicted the ones the model says it does, both as lists in classes order, and there is no probability column at all: that column is the chosen class’s own number, and with independent questions nothing was chosen - the p_<class> columns are each class’s answer and they are the whole of it. Inventing a single figure here would mean picking a finding to call the answer, which is the thing predict_labels refuses to do one layer down.