Skip to content

Commit

Permalink
Modify import in test_ks.py file
Browse files Browse the repository at this point in the history
  • Loading branch information
hoanganhngo610 committed Oct 30, 2023
1 parent 8c65346 commit 994418f
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions river/stats/test_ks.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
from __future__ import annotations

import numpy as np
import river

from collections import deque
from scipy.stats import ks_2samp

from collections import deque
from river import stats


def test_incremental_ks_statistics():
initial_a = np.random.normal(loc=0, scale=1, size=5)
Expand All @@ -15,7 +16,7 @@ def test_incremental_ks_statistics():
stream_b = np.random.normal(loc=1, scale=1, size=10)

incremental_ks_statistics = []
incremental_ks = river.stats.KolmogorovSmirnov(statistic="ks")
incremental_ks = stats.KolmogorovSmirnov(statistic="ks")
sliding_a = deque(initial_a)
sliding_b = deque(initial_b)

Expand Down

0 comments on commit 994418f

Please sign in to comment.