mlens.utils.checks module¶
ML-ENSEMBLE
| author: | Sebastian Flennerhag |
|---|---|
| copyright: | 2017 |
| licence: | MIT |
Controls that an estimator was built as expected.
-
mlens.utils.checks.assert_correct_format(estimators, preprocessing)[source]¶ Initial check to assert layer can be constructed.
-
mlens.utils.checks.assert_valid_estimator(instance)[source]¶ Assert that an instance has a
get_paramsandfitmethod.
-
mlens.utils.checks.check_ensemble_build(inst, attr='layers')[source]¶ Check that layers have been instantiated.