Require isort on all Python files. (#8420)

This commit is contained in:
Jiaming Yuan
2022-11-08 12:59:06 +08:00
committed by GitHub
parent bf8de227a9
commit 0d3da9869c
69 changed files with 290 additions and 187 deletions

View File

@@ -1,5 +1,6 @@
#!/usr/bin/python
import numpy as np
import xgboost as xgb
### load data in do training

View File

@@ -1,6 +1,7 @@
#!/usr/bin/python
# make prediction
import numpy as np
import xgboost as xgb
# path to where the data lies

View File

@@ -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