コード例 #1
0
def test_get_importable_subclasses_wont_get_custom_classes():

    class ChildClass(ComponentBase):
        pass

    assert ChildClass not in get_importable_subclasses(ComponentBase)
コード例 #2
0
def _all_estimators_used_in_search():
    return get_importable_subclasses(Estimator, used_in_automl=True)
コード例 #3
0
def _all_transformers():
    return get_importable_subclasses(Transformer, used_in_automl=False)
コード例 #4
0
def _all_estimators():
    return get_importable_subclasses(Estimator, used_in_automl=False)