def test_shift_score(self):
    df = load_bank().head(1000)
    df = cudf.from_pandas(df)
    selector = dd_selector()
    scores = selector._covariate_shift_score(df[:700], df[700:])
    print('_covariate_shift_score', scores)
    assert (scores['id'] >= 0.95)
def test_shift_score(self):
    df = load_bank().head(1000)
    df = cudf.from_pandas(df)
    selector = dd_selector()
    scores = selector._covariate_shift_score(df[:700], df[700:])
    print('_covariate_shift_score', scores)
    assert (scores['id'] >= 0.95)