8000 running test_permutation_test_score_pandas on iris data to prevent wa… · Sundrique/scikit-learn@21b23ce · GitHub
[go: up one dir, main page]

Skip to content

Commit 21b23ce

Browse files
Stijn TonkStijn Tonk
authored andcommitted
running test_permutation_test_score_pandas on iris data to prevent warnings.
1 parent 15a48bf commit 21b23ce

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

sklearn/model_selection/tests/test_validation.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -977,6 +977,8 @@ def test_permutation_test_score_pandas():
977977
pass
978978
for TargetType, InputFeatureType in types:
979979
# X dataframe, y series
980+
iris = load_iris()
981+
X, y = iris.data, iris.target
980982
X_df, y_ser = InputFeatureType(X), TargetType(y)
981983
check_df = lambda x: isinstance(x, InputFeatureType)
982984
check_series = lambda x: isinstance(x, TargetType)

0 commit comments

Comments
 (0)
0