attribute_checks module#

Functions

check_argument_types(arguments, expected_types)

Checks whether the arguments have the correct type.

check_attributes_exist(estimator, attributes)

Checks if the attributes are defined in estimator.

check_not_default_attributes(estimator, ...)

Checks if the attributes have the default not trained value.

is_var_of_type(variable, allowed_types)

Checks if a variable is of at least one of the specified types