Skip to content

Commit 0c1f8e4

Browse files
committed
Misplaced values
1 parent 61ea4d4 commit 0c1f8e4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

experiment/test_population.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ def test_population(ml):
4646
# Few samples to try to make it quick
4747
sample_idx = np.random.choice(np.arange(len(X_train)), size=10)
4848

49-
y_train = y_train[sample_idx].values
50-
X_train = X_train.iloc[sample_idx]
49+
y_train = y_train[sample_idx]
50+
X_train = X_train.iloc[sample_idx].values
5151

5252
algorithm.est.fit(X_train, y_train)
5353

0 commit comments

Comments
 (0)