Code documentation
Subpackages
Submodules
subgroups.exceptions module
This file contains new exceptions used by the library.
- exception subgroups.exceptions.DatasetAttributeTypeError[source]
Bases:
TypeError
This exception is raised when the type of an attribute in a dataset is not supported by a Subgroup Discovery (SD) algorithm.
- exception subgroups.exceptions.DuplicateFpTreeNodeError[source]
Bases:
RuntimeError
This exception is raised when attempting to add a FPTreeNode which already exists.
- exception subgroups.exceptions.InconsistentMethodParametersError[source]
Bases:
RuntimeError
This exception is raised when a method has not been called with the appropriate parameters.
- exception subgroups.exceptions.OperatorNotSupportedError[source]
Bases:
NotImplementedError
This exception is raised when an operator is not correctly implemented in the Operator class.
- exception subgroups.exceptions.ParameterNotFoundError[source]
Bases:
KeyError
This exception is raised when a needed parameter is not found in the quality measure computing process.
- exception subgroups.exceptions.SubgroupParameterNotFoundError[source]
Bases:
ParameterNotFoundError
This exception is raised when a subgroup parameter (i.e., tp, fp, TP or FP) is not found in the quality measure computing process.
- exception subgroups.exceptions.VerticalListSizeError[source]
Bases:
ValueError
This exception is raised when comparing Vertical Lists with different dataset sizes.