Maps predicted class indices to labels from text file
An optional text file for use with the results of a classification
model. Classification models return predicted classes as indices. If a
vocab file is provided, each predicted class index will be mapped to a
label from this file for use in the display. Each line in the file
corresponds to a label, with the first line corresponding to class index
0.