Returns an iterator over one-vs-all (type, TP, TN, FP, FN)-tuples.
(self)
| 1870 | self[type1][type2] += 1 |
| 1871 | |
| 1872 | def split(self): |
| 1873 | """ Returns an iterator over one-vs-all (type, TP, TN, FP, FN)-tuples. |
| 1874 | """ |
| 1875 | return iter((type,) + self(type) for type in self) |
| 1876 | |
| 1877 | def __call__(self, type): |
| 1878 | """ Returns a (TP, TN, FP, FN)-tuple for the given class (one-vs-all). |
no outgoing calls
no test coverage detected