Stratification
- class Stratification(positive: dict[frozenset[str], set[str]], negative: dict[frozenset[str], set[str]], predicted_positive: dict[frozenset[str], set[str]], predicted_negative: dict[frozenset[str], set[str]])[source]
Bases:
NamedTupleA 4-tuple of mapping dictionaries.
Create new instance of Stratification(positive, negative, predicted_positive, predicted_negative)
Attributes Summary
Alias for field number 1
Alias for field number 0
Alias for field number 3
Alias for field number 2
Methods Summary
strata()Get all strata.
Attributes Documentation
Methods Documentation