Entities validator
Module superwise.controller.summary.entities_validator
Functions
compute_secondary_boolean(row)
compute_secondary_categorical(row)
compute_secondary_numeric(skewness)
Classes
EntitiesValidationError(reason)
Unspecified run-time error.
Ancestors (in MRO)
- builtins.RuntimeError
- builtins.Exception
- builtins.BaseException
EntitiesValidator(version_entities_df, data, MAX_DIMENSIONS=None)
version_entities_df
name | type | role | is_dimension
task
task_type_id
label -> mapper of external to internal
prediction -> mapper of external to internal
Static methods
assert_range(data, column, column_description, expected_min, expected_max)
Methods
convert_to_data_type(self)
infer_data_type(self)
infer_secondary_type(self)
prepare(self)
Validate and prepare the data
validate_dtypes(self)