Skip to content

Commit 7238b46

Browse files
albertcthomasjnothman
authored andcommitted
rm unused X_train in lof tests (scikit-learn#9135)
1 parent c393bd4 commit 7238b46

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

sklearn/neighbors/tests/test_lof.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ def test_lof_performance():
5151
# Generate train/test data
5252
rng = check_random_state(2)
5353
X = 0.3 * rng.randn(120, 2)
54-
X_train = np.r_[X + 2, X - 2]
5554
X_train = X[:100]
5655

5756
# Generate some abnormal novel observations

0 commit comments

Comments
 (0)