validation

objects validation utilities.

Functions

model_type_validation(model)

Receive any object and check if it's an instance of a model we support.

ensure_hashable_or_mutable_sequence(value[, ...])

Validate that provided value is either hashable or mutable sequence of hashable values.

validate_model(data, model)

Check model is able to predict on the dataset.

ensure_dataframe_type(obj)

Ensure that given object is of type DataFrame or Dataset and return it as DataFrame.