API¶
Utils¶
|
Bidirectional dictionary inherited from the built-in dict to represent the class combination map. |
Compute the distribution of labels given the label vectors. |
|
|
Compute the Hamming distance between two binary strings or binary vector |
Metrics¶
|
Adjusted accuracy is an adjustment for accuracy. |
|
Sample-level information-theoretic classification accuracy (s-ITCA) |
|
Compute the entropy of H(mapping(y_true), y_pred). |
Search¶
|
Search the class combination map that maximizes s-ITCA by greedy algorithm. |
|
Search the class combination map that maximizes s-ITCA by greedy algorithm. |
|
Search the class combination map that maximizes s-ITCA by breadth-first search algorithm. |
|
Search the class combination map that maximizes s-ITCA by breadth-first search algorithm. |