skoot.utils.validate_test_set_columns

skoot.utils.validate_test_set_columns(fit_columns, test_columns)[source][source]

Validate that the test set columns will work.

This function checks that the fit_columns are present in the test_columns set and raises a ValueError if not.

Parameters:

fit_columns : list or iterable

The column names the estimator was fit on.

test_columns : list or iterable

The column names the test set contains.