Require isort on all Python files. (#8420)
This commit is contained in:
@@ -3,10 +3,12 @@ Demo for prediction using number of trees
|
||||
=========================================
|
||||
"""
|
||||
import os
|
||||
|
||||
import numpy as np
|
||||
import xgboost as xgb
|
||||
from sklearn.datasets import load_svmlight_file
|
||||
|
||||
import xgboost as xgb
|
||||
|
||||
CURRENT_DIR = os.path.dirname(__file__)
|
||||
train = os.path.join(CURRENT_DIR, "../data/agaricus.txt.train")
|
||||
test = os.path.join(CURRENT_DIR, "../data/agaricus.txt.test")
|
||||
|
||||
Reference in New Issue
Block a user