Skip to content

Commit

Permalink
Update test_psi_detector.py
Browse files Browse the repository at this point in the history
  • Loading branch information
951378644 committed Nov 22, 2023
1 parent 38d15e4 commit 67dd5ae
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions tests/menelaus/data_drift/test_psi_detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ def test_psi_update_1():
def test_psi_update_2():
"""Ensure PSI can update with drift actions triggered"""
det = PSI()
# XXX - AS added this method of forcing drift in psi, which
# is otherwise hard to induce drift in, for small data
# examples. More stable alternatives may exist
np.random.seed(123)
det.set_reference(np.random.randint(0, 5, (100, 1)))
det.update(X=np.random.randint(10, 40, (100, 1)))
Expand Down

0 comments on commit 67dd5ae

Please sign in to comment.