bob.measure.load.cmc_four_column

bob.measure.load.cmc_four_column(filename)[source]

Loads scores to compute CMC curves from a file in four column format. The four column file needs to be in the same format as described in the four_column function, and the “test label” (column 3) has to contain the test/probe file name.

This function returns a list of tuples. For each probe file, the tuple consists of a list of negative scores and a list of positive scores. Usually, the list of positive scores should contain only one element, but more are allowed.

The result of this function can directly be passed to, e.g., the bob.measure.cmc function.