Beispiel #1
0
def test_transform_without_fit():
    kbest = SelectKBest()
    with pytest.raises(ValueError):
        kbest.transform({"train_df": X_reg, "target_col": "target"})
def test_transform_without_fit():
    kbest = SelectKBest()
    with pytest.raises(ValueError):
        kbest.transform(X_reg)