pasteur.extras.synth.privbayes.implementation.Node#

class pasteur.extras.synth.privbayes.implementation.Node(attr, col, domain, partial, p)[source]#

Attributes

attr

Alias for field number 0

col

Alias for field number 1

domain

Alias for field number 2

p

Alias for field number 4

partial

Alias for field number 3

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

col: str#

Alias for field number 1

count(value, /)#

Return number of occurrences of value.

domain: int#

Alias for field number 2

index(value, start=0, stop=9223372036854775807, /)#

Return first index of value.

Raises ValueError if the value is not present.

p: dict[str, AttrSelector]#

Alias for field number 4

partial: bool#

Alias for field number 3