neuralib.plot.venn.VennHandler
- class neuralib.plot.venn.VennHandler[source]
Bases:
NamedTupleVennHandler(subset_a, subset_b, subset_overlap, total_set)
- __init__()
Methods
__init__()count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
with_total(total)total set number.
Attributes
whole number with condition a
whole number with condition b
whole number with condition a & b
Alias for field number 3
- subset_a: int
whole number with condition a
- subset_b: int
whole number with condition b
- subset_overlap: int
whole number with condition a & b
- total_set: int | None
Alias for field number 3
- property chance_level: float
- with_total(total)[source]
total set number. should include the non-classified population
- Parameters:
total (int)
- Return type:
- static __new__(_cls, subset_a, subset_b, subset_overlap, total_set=None)
Create new instance of VennHandler(subset_a, subset_b, subset_overlap, total_set)
- Parameters:
subset_a (int)
subset_b (int)
subset_overlap (int)
total_set (int | None)