Data Conditions#

class DataCondition(input, conditional_variables=None)[source]#

Bases: ConditionInterface

Condition defined by input data and conditional variables. It can be used in unsupervised learning problems. Based on the type of the input, different condition implementations are available:

Initialize the object by storing the input and conditional variables (if any).

Parameters:

Note

If input consists of a list of Graph or Data, all elements must have the same structure (keys and data types)

class GraphDataCondition(input, conditional_variables=None)[source]#

Bases: DataCondition

DataCondition for Graph or Data input data

Initialize the object by storing the input and conditional variables (if any).

Parameters:

Note

If input consists of a list of Graph or Data, all elements must have the same structure (keys and data types)

class TensorDataCondition(input, conditional_variables=None)[source]#

Bases: DataCondition

DataCondition for torch.Tensor or LabelTensor input data

Initialize the object by storing the input and conditional variables (if any).

Parameters:

Note

If input consists of a list of Graph or Data, all elements must have the same structure (keys and data types)