Skip to content

Commit cc012da

Browse files
yang-zhangterrytangyuan
authored andcommitted
Updated sklearn_parallel.py for soon-to-be-deprecated modules (dmlc#2134)
1 parent f6f5003 commit cc012da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

demo/guide-python/sklearn_parallel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
set_start_method("forkserver")
1515

1616
import numpy as np
17-
from sklearn.grid_search import GridSearchCV
17+
from sklearn.model_selection import GridSearchCV
1818
from sklearn.datasets import load_boston
1919
import xgboost as xgb
2020

0 commit comments

Comments
 (0)