plaid.constants

This module defines common constants used throughout the PLAID library.

It includes: - AUTHORIZED_TASKS: List of supported task types (e.g., regression, classification). - AUTHORIZED_FEATURE_TYPES: List of supported feature types (e.g., scalar, field, nodes). - AUTHORIZED_FEATURE_INFOS: Dictionary specifying allowed metadata keys for various feature types. - AUTHORIZED_INFO_KEYS: Dictionary specifying allowed metadata keys for various information sections. - CGNS_FIELD_LOCATIONS: List of valid field locations as defined by the CGNS standard. - CGNS_ELEMENT_NAMES: List of CGNS element names representing different mesh element types.

These constants help standardize metadata, task types, and mesh element references across the PLAID codebase.

Attributes

Module Contents

AUTHORIZED_TASKS = ['regression', 'classification'][source]
AUTHORIZED_SCORE_FUNCTIONS = ['RRMSE'][source]
AUTHORIZED_FEATURE_TYPES = ['scalar', 'field', 'nodes'][source]
AUTHORIZED_FEATURE_INFOS[source]
AUTHORIZED_INFO_KEYS[source]
REQUIRED_INFOS_KEYS[source]
CGNS_FIELD_LOCATIONS = ['Vertex', 'CellCenter', 'FaceCenter', 'IFaceCenter', 'JFaceCenter', 'KFaceCenter', 'EdgeCenter'][source]
CGNS_ELEMENT_NAMES = ['ElementTypeNull', 'ElementTypeUserDefined', 'NODE', 'BAR_2', 'BAR_3', 'TRI_3', 'TRI_6',...[source]