We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3cafc7 commit 61ea4d4Copy full SHA for 61ea4d4
experiment/test_population.py
@@ -46,7 +46,7 @@ def test_population(ml):
46
# Few samples to try to make it quick
47
sample_idx = np.random.choice(np.arange(len(X_train)), size=10)
48
49
- y_train = y_train[sample_idx]
+ y_train = y_train[sample_idx].values
50
X_train = X_train.iloc[sample_idx]
51
52
algorithm.est.fit(X_train, y_train)
0 commit comments