arthurai.core.dataset_validation_utils#
Functions
|
Validates the object data type matches the Arthur value type |
|
Validates obj is list-like and non-empty and returns the first element. |
|
Returns UserTypeError with data type mismatch message :param: attr_name: Name of attribute whose value type has been mismatched with a column's data type :param: expected: String representing expected data type for the attribute :param: obj_type: String representing the object type that didn't match expected :raises: UnexpectedTypeError: Parameter was unexpectedly a None object. |
|
Validates recommendation object formatting |
|
Validates attribute names are correctly formatted |
|
Validates if the series data type matches the attribute's Arthur value type |
|
Validates obj data type matches TokenLikelihoods Value Type |