make py work
This commit is contained in:
parent
4369bc2bfd
commit
211d85f04b
@ -12,7 +12,7 @@ import scipy.sparse as scp
|
|||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
XGBOOST_PATH = os.path.dirname(__file__)+'/../windows/x64/Release/xgboost_wrapper.dll'
|
XGBOOST_PATH = os.path.dirname(__file__)+'/../windows/x64/Release/xgboost_wrapper.dll'
|
||||||
else:
|
else:
|
||||||
XGBOOST_PATH = os.path.dirname(__file__)+'/../libxgboostwrapper.so'
|
XGBOOST_PATH = os.path.dirname(__file__)+'/libxgboostwrapper.so'
|
||||||
|
|
||||||
# load in xgboost library
|
# load in xgboost library
|
||||||
xglib = ctypes.cdll.LoadLibrary(XGBOOST_PATH)
|
xglib = ctypes.cdll.LoadLibrary(XGBOOST_PATH)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user