chg wrapper

This commit is contained in:
tqchen
2014-08-23 14:27:56 -07:00
parent 08a6b92216
commit 8bf758c63b
18 changed files with 16 additions and 9369 deletions

View File

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

View File

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

View File

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