subgroups.algorithms package

Subpackages

Submodules

subgroups.algorithms.algorithm module

This file contains the implementation of the root class of all implemented algorithms. This class is an abstract class and cannot be instantiated.

class subgroups.algorithms.algorithm.Algorithm[source]

Bases: ABC

This abstract class defines the root class of all implemented algorithms.

abstract fit(pandas_dataframe, target)[source]

Main method to run the corresponding algorithm.

Parameters:
  • pandas_dataframe (pandas.core.frame.DataFrame) – the DataFrame which is scanned.

  • target (tuple[str, str]) – a tuple with 2 elements: the target attribute name and the target value.

Return type:

None