noctis.data_transformation.preprocessing.data_preprocessing.SynGraphPreprocessor

class noctis.data_transformation.preprocessing.data_preprocessing.SynGraphPreprocessor(schema: GraphSchema, config: PreprocessorConfig)[source]

Preprocessor for handling synthetic graph objects, extracting nodes and relationships based on a predefined schema and configuration.

Inherits from:

ChemicalStringPreprocessorBase PythonObjectPreprocessorInterface

__init__(schema: GraphSchema, config: PreprocessorConfig)[source]

Initialize the preprocessor with a graph schema and configuration. Sets validation to False for synthetic graph processing.

Args:

schema (GraphSchema): The schema defining nodes and relationships. config (PreprocessorConfig): Configuration settings for preprocessing.

Methods

__init__(schema, config)

Initialize the preprocessor with a graph schema and configuration.

run(data)

Process a list of synthetic graph objects to extract nodes and relationships.

Attributes

failed_strings