chg wrapper
This commit is contained in:
@@ -6,7 +6,7 @@ import sys
|
||||
import numpy as np
|
||||
# add path of xgboost python module
|
||||
code_path = os.path.join(
|
||||
os.path.split(inspect.getfile(inspect.currentframe()))[0], "../../python")
|
||||
os.path.split(inspect.getfile(inspect.currentframe()))[0], "../../wrapper")
|
||||
|
||||
sys.path.append(code_path)
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
import sys
|
||||
import numpy as np
|
||||
# add path of xgboost python module
|
||||
sys.path.append('../../python/')
|
||||
sys.path.append('../../wrapper/')
|
||||
import xgboost as xgb
|
||||
|
||||
# path to where the data lies
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
import sys
|
||||
import numpy as np
|
||||
# add path of xgboost python module
|
||||
sys.path.append('../../python/')
|
||||
sys.path.append('../../wrapper/')
|
||||
import xgboost as xgb
|
||||
from sklearn.ensemble import GradientBoostingClassifier
|
||||
import time
|
||||
|
||||
Reference in New Issue
Block a user