Require isort on all Python files. (#8420)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#!/usr/bin/python
|
||||
import numpy as np
|
||||
|
||||
import xgboost as xgb
|
||||
|
||||
### load data in do training
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
#!/usr/bin/python
|
||||
# make prediction
|
||||
import numpy as np
|
||||
|
||||
import xgboost as xgb
|
||||
|
||||
# path to where the data lies
|
||||
|
||||
@@ -1,9 +1,12 @@
|
||||
#!/usr/bin/python
|
||||
# this is the example script to use xgboost to train
|
||||
import numpy as np
|
||||
import xgboost as xgb
|
||||
from sklearn.ensemble import GradientBoostingClassifier
|
||||
import time
|
||||
|
||||
import numpy as np
|
||||
from sklearn.ensemble import GradientBoostingClassifier
|
||||
|
||||
import xgboost as xgb
|
||||
|
||||
test_size = 550000
|
||||
|
||||
# path to where the data lies
|
||||
|
||||
Reference in New Issue
Block a user