pasteur.extras.synth.privbayes.implementation.Node#
- class pasteur.extras.synth.privbayes.implementation.Node(attr, value, p, domain, partial)[source]#
Attributes
Alias for field number 0
Alias for field number 3
Alias for field number 2
Alias for field number 4
Alias for field number 1
Methods
count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
-
attr:
str# Alias for field number 0
- count(value, /)#
Return number of occurrences of value.
-
domain:
int# Alias for field number 3
- index(value, start=0, stop=9223372036854775807, /)#
Return first index of value.
Raises ValueError if the value is not present.
-
p:
Sequence[tuple[str|tuple[str,int] |None,str|tuple[str,...],dict[str,int] |int] |tuple[str|tuple[str,...],dict[str,int] |int]]# Alias for field number 2
-
partial:
bool# Alias for field number 4
-
value:
str# Alias for field number 1
-
attr: