Exemplo n.º 1
0
def test_get_importable_subclasses_wont_get_custom_classes():

    class ChildClass(ComponentBase):
        pass

    assert ChildClass not in get_importable_subclasses(ComponentBase)
Exemplo n.º 2
0
def _all_estimators_used_in_search():
    return get_importable_subclasses(Estimator, used_in_automl=True)
Exemplo n.º 3
0
def _all_transformers():
    return get_importable_subclasses(Transformer, used_in_automl=False)
Exemplo n.º 4
0
def _all_estimators():
    return get_importable_subclasses(Estimator, used_in_automl=False)