Provides config and input data validation for the FRAGMENT-MNP model
-
fragmentmnp.validation.validate_config(config: dict) → dict[source]
Validate the given config dict against required schema
- Parameters
config (dict) – Model config options
- Returns
Validated config dict
- Return type
dict
-
fragmentmnp.validation.validate_data(data: dict, config: dict) → dict[source]
Validate the given data dict against required schema
- Parameters
data (dict) – Model input data
- Returns
Validated data dict
- Return type
dict