Xgboost: xgboost μ„€μΉ˜ 였λ₯˜

에 λ§Œλ“  2016λ…„ 06μ›” 10일  Β·  19μ½”λ©˜νŠΈ  Β·  좜처: dmlc/xgboost

"make" cmdλ₯Ό μ‚¬μš©ν•˜λ €κ³  ν•  λ•Œ 였λ₯˜κ°€ λ°œμƒν–ˆμŠ΅λ‹ˆλ‹€. mingw-64와 TDM-GCC 컴파일러λ₯Ό λͺ¨λ‘ μ‹œλ„ν–ˆμ§€λ§Œ 운이 μ—†μ—ˆμŠ΅λ‹ˆλ‹€. λ‹€μŒμ€ 였λ₯˜ λ‘œκ·Έμž…λ‹ˆλ‹€.

$cp make/mingw64.mk config.mk; -j4λ₯Ό λ§Œλ“€λ‹€
g++ -m64 -std=c++0x -Wall -O3 -msse2 -Wno-unknown-pragmas -funroll-loops -Iinclude -DDMLC_ENABLE_STD_THREAD=0 -Idmlc-core/include -Irabit/include -fopenmp -MM -MT λΉŒλ“œ/ c_api/c_api.o src/c_api/c_api.cc > λΉŒλ“œ/c_api/c_api.d
g++ -m64 -std=c++0x -Wall -O3 -msse2 -Wno-unknown-pragmas -funroll-loops -Iinclude -DDMLC_ENABLE_STD_THREAD=0 -Idmlc-core/include -Irabit/include -fopenmp -MM -MT λΉŒλ“œ/ c_api/c_api_error.o src/c_api/c_api_error.cc > λΉŒλ“œ/c_api/c_api_error.d
g++ -m64 -std=c++0x -Wall -O3 -msse2 -Wno-unknown-pragmas -funroll-loops -Iinclude -DDMLC_ENABLE_STD_THREAD=0 -Idmlc-core/include -Irabit/include -fopenmp -MM -MT λΉŒλ“œ/ 데이터/sparse_page_raw_format.o src/data/sparse_page_raw_format.cc > λΉŒλ“œ/데이터/sparse_page_raw_format.d
g++ -m64 -std=c++0x -Wall -O3 -msse2 -Wno-unknown-pragmas -funroll-loops -Iinclude -DDMLC_ENABLE_STD_THREAD=0 -Idmlc-core/include -Irabit/include -fopenmp -MM -MT λΉŒλ“œ/ data/simple_dmatrix.o src/data/simple_dmatrix.cc >build/data/simple_dmatrix.d
g++ -m64 -c -std=c++0x -λ²½ -O3 -msse2 -Wno-unknown-pragmas -funroll-loops -Iinclude -DDMLC_ENABLE_STD_THREAD=0 -Idmlc-core/include -Irabit/include -fopenmp -c src/ c_api/c_api.cc -o λΉŒλ“œ/c_api/c_api.o
g++ -m64 -c -std=c++0x -λ²½ -O3 -msse2 -Wno-unknown-pragmas -funroll-loops -Iinclude -DDMLC_ENABLE_STD_THREAD=0 -Idmlc-core/include -Irabit/include -fopenmp -c src/ 데이터/sparse_page_raw_format.cc -o λΉŒλ“œ/데이터/sparse_page_raw_format.o
g++ -m64 -c -std=c++0x -λ²½ -O3 -msse2 -Wno-unknown-pragmas -funroll-loops -Iinclude -DDMLC_ENABLE_STD_THREAD=0 -Idmlc-core/include -Irabit/include -fopenmp -c src/ c_api/c_api_error.cc -o λΉŒλ“œ/c_api/c_api_error.o
g++ -m64 -c -std=c++0x -λ²½ -O3 -msse2 -Wno-unknown-pragmas -funroll-loops -Iinclude -DDMLC_ENABLE_STD_THREAD=0 -Idmlc-core/include -Irabit/include -fopenmp -c src/ data/simple_dmatrix.cc -o build/data/simple_dmatrix.o
C:/TDM-GCC-64/x86_64-w64-mingw32/include/locale.h:12:0에 ν¬ν•¨λœ νŒŒμΌμ—μ„œ,
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/ clocale:42 ,
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/x86_64-w64-mingw32/bits/c++locale.h:41,
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/bits/localefwd.h:40,
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/ string:43 ,
dmlc-core/include/dmlc/base.h:154μ—μ„œ,
포함/xgboost/data.h:10μ—μ„œ,
src/data/simple_dmatrix.cc:7μ—μ„œ:
C:/TDM-GCC-64/x86_64-w64-mingw32/include/stdio.h:450:83: 였λ₯˜: 'FILE* std::fopen(const char_, const char_)'이(κ°€) 'std' 내뢀에 μ„ μ–Έλ˜μ–΄μ•Ό ν•©λ‹ˆλ‹€.
FILE _fopen64(const char * 파일 이름 μ œν•œ , const char * λͺ¨λ“œ μ œν•œ );
^^
C:/TDM-GCC-64/x86_64-w64-mingw32/include/stdio.h:450:83: 였λ₯˜: 'FILE_ std::fopen(const char_, const char_)'이 이전 μ„ μ–Έκ³Ό μΆ©λŒν•©λ‹ˆλ‹€.
C:/TDM-GCC-64/x86_64-w64-mingw32/include/stdio.h:449:17: μ°Έκ³ : 이전 μ„ μ–Έ 'FILE* fopen(const char_, const char_)'
파일 _ cdecl fopen(const char * __restrict _파일 이름, const char * __restrict__ _Mode) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
^^
C:/TDM-GCC-64/x86_64-w64-mingw32/include/locale.h:12:0에 ν¬ν•¨λœ νŒŒμΌμ—μ„œ,
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/ clocale:42 ,
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/x86_64-w64-mingw32/bits/c++locale.h:41,
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/bits/localefwd.h:40,
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/ string:43 ,
dmlc-core/include/dmlc/base.h:154μ—μ„œ,
포함/xgboost/data.h:10μ—μ„œ,
src/data/sparse_page_raw_format.cc:6μ—μ„œ:
C:/TDM-GCC-64/x86_64-w64-mingw32/include/stdio.h:450:83: 였λ₯˜: 'FILE_ std::fopen(const char_, const char_)'이(κ°€) 'std' 내뢀에 μ„ μ–Έλ˜μ–΄μ•Ό ν•©λ‹ˆλ‹€.
FILE _fopen64(const char * 파일 이름 μ œν•œ , const char * λͺ¨λ“œ μ œν•œ );
^^
C:/TDM-GCC-64/x86_64-w64-mingw32/include/stdio.h:450:83: 였λ₯˜: 'FILE_ std::fopen(const char_, const char_)'이 이전 μ„ μ–Έκ³Ό μΆ©λŒν•©λ‹ˆλ‹€.
C:/TDM-GCC-64/x86_64-w64-mingw32/include/stdio.h:449:17: μ°Έκ³ : 이전 μ„ μ–Έ 'FILE* fopen(const char_, const char_)'
파일 _ cdecl fopen(const char * __restrict _파일 이름, const char * __restrict__ _Mode) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
^^
C:/TDM-GCC-64/x86_64-w64-mingw32/include/locale.h:12:0에 ν¬ν•¨λœ νŒŒμΌμ—μ„œ,
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/ clocale:42 ,
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/x86_64-w64-mingw32/bits/c++locale.h:41,
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/bits/localefwd.h:40,
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/ string:43 ,
dmlc-core/include/dmlc/base.h:154μ—μ„œ,
src/c_api/./c_api_error.h:9μ—μ„œ,
src/c_api/c_api_error.cc:6μ—μ„œ:
C:/TDM-GCC-64/x86_64-w64-mingw32/include/stdio.h:450:83: 였λ₯˜: 'FILE_ std::fopen(const char_, const char_)'이(κ°€) 'std' 내뢀에 μ„ μ–Έλ˜μ–΄μ•Ό ν•©λ‹ˆλ‹€.
FILE _fopen64(const char * 파일 이름 μ œν•œ , const char * λͺ¨λ“œ μ œν•œ );
^^
C:/TDM-GCC-64/x86_64-w64-mingw32/include/stdio.h:450:83: 였λ₯˜: 'FILE_ std::fopen(const char_, const char_)'이(κ°€) 이전 μ„ μ–Έκ³Ό μΆ©λŒν•©λ‹ˆλ‹€.
C:/TDM-GCC-64/x86_64-w64-mingw32/include/stdio.h:449:17: μ°Έκ³ : 이전 μ„ μ–Έ 'FILE* fopen(const char_, const char_)'
파일 _ cdecl fopen(const char * __restrict _파일 이름, const char * __restrict__ _Mode) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
^^
C:/TDM-GCC-64/x86_64-w64-mingw32/include/locale.h:12:0에 ν¬ν•¨λœ νŒŒμΌμ—μ„œ,
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/ clocale:42 ,
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/x86_64-w64-mingw32/bits/c++locale.h:41,
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/bits/localefwd.h:40,
C:/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/5.1.0/include/c++/ string:43 ,
dmlc-core/include/dmlc/base.h:154μ—μ„œ,
포함/xgboost/data.h:10μ—μ„œ,
src/c_api/c_api.cc:3μ—μ„œ:
C:/TDM-GCC-64/x86_64-w64-mingw32/include/stdio.h:450:83: 였λ₯˜: 'FILE_ std::fopen(const char_, const char_)'이(κ°€) 'std' 내뢀에 μ„ μ–Έλ˜μ–΄μ•Ό ν•©λ‹ˆλ‹€.
FILE _fopen64(const char * 파일 이름 μ œν•œ , const char * λͺ¨λ“œ μ œν•œ );
^^
C:/TDM-GCC-64/x86_64-w64-mingw32/include/stdio.h:450:83: 였λ₯˜: 'FILE_ std::fopen(const char_, const char_)'이(κ°€) 이전 μ„ μ–Έκ³Ό μΆ©λŒν•©λ‹ˆλ‹€.
C:/TDM-GCC-64/x86_64-w64-mingw32/include/stdio.h:449:17: μ°Έκ³ : 이전 μ„ μ–Έ 'FILE* fopen(const char_, const char_)'
파일 _ cdecl fopen(const char * __restrict _파일 이름, const char * __restrict__ _Mode) __MINGW_ATTRIB_DEPRECATED_SEC_WARN;
^^
Makefile:97 : λŒ€μƒ 'build/c_api/c_api_error.o'에 λŒ€ν•œ λ ˆμ‹œν”Όκ°€ μ‹€νŒ¨ν–ˆμŠ΅λ‹ˆλ‹€.
mingw32-make: _* [λΉŒλ“œ/c_api/c_api_error.o] 였λ₯˜ 1mingw32-make: * λλ‚˜μ§€ μ•Šμ€ μž‘μ—…μ„ κΈ°λ‹€λ¦¬λŠ” 쀑....Makefile:97 : 'build/data/simple_dmatrix.o' λŒ€μƒμ— λŒ€ν•œ λ ˆμ‹œν”Όκ°€ μ‹€νŒ¨ν–ˆμŠ΅λ‹ˆλ‹€.mingw32-make: * * [build/data/simple_dmatrix.o] 였λ₯˜ 1
dmlc-core/include/dmlc/data.h:16:0에 ν¬ν•¨λœ νŒŒμΌμ—μ„œ
include/xgboost/data.h:11μ—μ„œ,
src/data/sparse_page_raw_format.cc:6μ—μ„œ:
dmlc-core/include/dmlc/./registry.h:218:22: κ²½κ³ : 'xgboost::data::make_SparsePageFormat_raw *'κ°€ μ •μ˜λ˜μ—ˆμ§€λ§Œ μ‚¬μš©λ˜μ§€ μ•ŠμŒ [-Wunused-variable]정적 ν•­λͺ© μœ ν˜• & __make_ ## ν•­λͺ© μœ ν˜• 이름 ## _ ## 이름 ## __ =^^src/data/./sparse_batch_page.h:250:3: μ°Έκ³ : 맀크둜 'DMLC_REGISTRY_REGISTER' ν™•μž₯ μ‹œDMLC_REGISTRY_REGISTER(::xgboost::data::SparsePageFormatReg, SparsePageFormat, 이름)^^src/data/sparse_page_raw_format.cc:93:1: μ°Έκ³ : 맀크둜 'XGBOOST_REGISTER_SPARSE_PAGE_FORMAT' ν™•μž₯ μ‹œXGBOOST_REGISTER_SPARSE_PAGE_FORMAT(μ›μ‹œ)^^Makefile:97 : λŒ€μƒ 'build/data/sparse_page_raw_format.o'에 λŒ€ν•œ λ ˆμ‹œν”Όκ°€ μ‹€νŒ¨ν–ˆμŠ΅λ‹ˆλ‹€.mingw32-make: * * [build/data/sparse_page_raw_format.o] 였λ₯˜ 1
src/c_api/c_api.cc:739:12: κ²½κ³ : 'XGBOOST_LINK_RABIT_C_API_'κ°€ μ •μ˜λ˜μ—ˆμ§€λ§Œ μ‚¬μš©λ˜μ§€ μ•ŠμŒ [-Wunused-variable]
정적 int XGBOOST_LINK_RABIT_C_API_ = RabitLinkTag();
^^
Makefile:97 : λŒ€μƒ 'build/c_api/c_api.o'에 λŒ€ν•œ λ ˆμ‹œν”Όκ°€ μ‹€νŒ¨ν–ˆμŠ΅λ‹ˆλ‹€.
mingw32-make: *** [λΉŒλ“œ/c_api/c_api.o] 였λ₯˜ 1

κ°€μž₯ μœ μš©ν•œ λŒ“κΈ€

@ziqilau @tqchen @JasonTianCHD @yanqingmen
μˆ˜μ •λ¨, repoλ₯Ό λ³΅μ œν•œ λ‹€μŒ μˆ˜μ •λ  λ•ŒκΉŒμ§€ 9a48a40으둜 μ²΄ν¬μ•„μ›ƒν•˜μ‹­μ‹œμ˜€. λ§ˆμ§€λ§‰ μ»€λ°‹μ—μ„œ μ»΄νŒŒμΌμ„ 망쳀을 κ²ƒμž…λ‹ˆλ‹€.

git clone --recursive https://github.com/dmlc/xgboost
cd xgboost
git checkout 9a48a40
git submodule init
git submodule update

건배!

λͺ¨λ“  19 λŒ“κΈ€

λ‚˜λ„ 같은 문제λ₯Ό μ•ˆκ³ μžˆμ–΄!!

λ‚˜λ„ 같은 문제λ₯Ό μ•ˆκ³ μžˆμ–΄.

여기도 λ§ˆμ°¬κ°€μ§€!

같은.......

WindowsλŠ” μ‹€μ œλ‘œ mlλ₯Ό μˆ˜ν–‰ν•˜κΈ°μ— 쒋은 선택이 μ•„λ‹™λ‹ˆλ‹€.

@ziqilau @tqchen @JasonTianCHD @yanqingmen
μˆ˜μ •λ¨, repoλ₯Ό λ³΅μ œν•œ λ‹€μŒ μˆ˜μ •λ  λ•ŒκΉŒμ§€ 9a48a40으둜 μ²΄ν¬μ•„μ›ƒν•˜μ‹­μ‹œμ˜€. λ§ˆμ§€λ§‰ μ»€λ°‹μ—μ„œ μ»΄νŒŒμΌμ„ 망쳀을 κ²ƒμž…λ‹ˆλ‹€.

git clone --recursive https://github.com/dmlc/xgboost
cd xgboost
git checkout 9a48a40
git submodule init
git submodule update

건배!

λ‚˜λŠ” 이것이 λ‹ΉλΆ„κ°„ μž‘λ™ν•˜λŠ” 것을 확인할 수 μžˆμŠ΅λ‹ˆλ‹€. 정말 κ°μ‚¬ν•©λ‹ˆλ‹€!

예, 2일 λ™μ•ˆ μ–΄μ§€λŸ½νžŒ ν›„ Cortajarena의 μˆ˜μ • 사항이 μž‘λ™ν–ˆμŠ΅λ‹ˆλ‹€! 정말 κ³ λ§™μŠ΅λ‹ˆλ‹€!!

감사 ν•΄μš” !! @μ½”λ₯΄νƒ€μžλ ˆλ‚˜

@Cortajarena 감사

@Cortajarena 감사

@Cortajarena κ°μ‚¬ν•©λ‹ˆλ‹€!

_ν•˜μ§€λ§Œ jupyter nootbookμ—μ„œ xgboostλ₯Ό importν–ˆμ„ λ•Œ_

μˆ˜μž… OS
mingw_path = "C:TDM-GCC-64bin"
os.environ['경둜'] = mingw_path + ';' + os.environ['경둜']
xgboostλ₯Ό xgb둜 κ°€μ Έμ˜€κΈ°

_였λ₯˜ λ©”μ‹œμ§€κ°€ λ‚˜νƒ€λ‚©λ‹ˆλ‹€:_

OSError 좔적(κ°€μž₯ 졜근 호좜 λ§ˆμ§€λ§‰)
~에()
----> 1 xgboostλ₯Ό xgb둜 κ°€μ Έμ˜€κΈ°

C:UsersLAnaconda3libsite-packagesxgboost-0.4-py3.5.eggxgboost__init__.py in()
9 μˆ˜μž… OS
10
---> .coreμ—μ„œ 11 κ°€μ Έμ˜€κΈ° DMatrix, Booster
.training μˆ˜μž… μ—΄μ°¨μ—μ„œ 12, 이λ ₯μ„œ
λΆ€ν„° 13. μˆ˜μž… 토끼 # λ…ΈμΉ΄

C:UsersLAnaconda3libsite-packagesxgboost-0.4-py3.5.eggxgboostcore.py in()
110
111 # XGBoost 라이브러리λ₯Ό μ „μ—­μ μœΌλ‘œ λ‘œλ“œ
--> 112 _LIB = _λ‘œλ“œ_lib()
113
114

C:UsersLAnaconda3libsite-packagesxgboost-0.4-py3.5.eggxgboostcore.py _load_lib()
104 if len(lib_path) == 0:
105 λ°˜ν™˜ μ—†μŒ
--> 106 라이브러리 = ctypes.cdll.LoadLibrary(lib_path[0])
107 lib.XGBGetLastError.restype = ctypes.c_char_p
108 λ°˜ν™˜ 라이브러리

LoadLibrary(self, name)의 C:UsersLAnaconda3libctypes__init__.py
423
424ν™”
--> 425 λ°˜ν™˜ self._dlltype(이름)
426
427*

C:UsersLAnaconda3libctypes__init__.py init (self, name, mode, handle, use_errno, use_last_error)
345
346 핸듀이 μ—†μŒμΈ 경우:
--> 347 self._handle = _dlopen(self._name, λͺ¨λ“œ)
348 기타:
349ν™”

OSError: [WinError 1114] DLL(동적 μ—°κ²° 라이브러리) μ΄ˆκΈ°ν™” 루틴이 μ‹€νŒ¨ν–ˆμŠ΅λ‹ˆλ‹€.

λˆ„κ΅¬λ“ μ§€ 같은 λ¬Έμ œκ°€ μžˆμ—ˆμŠ΅λ‹ˆκΉŒ? 그것을 κ³ μΉ˜λŠ” 방법?

νŒμ„ μ£Όμ‹  @Cortajarena μ—κ²Œ κ°μ‚¬λ“œλ¦½λ‹ˆλ‹€!
"XGBoost 라이브러리λ₯Ό 후보 κ²½λ‘œμ—μ„œ 찾을 수 μ—†μŠ΅λ‹ˆλ‹€"λΌλŠ” 후속 였λ₯˜κ°€ λ°œμƒν•˜λŠ” μ‚¬λžŒμ΄ μžˆμŠ΅λ‹ˆκΉŒ?
Windows7μ—μ„œ Python 3.5.1κ³Ό ν•¨κ»˜ Anaconda 4.0.0을 μ‚¬μš©ν•˜κ³  μžˆμŠ΅λ‹ˆλ‹€.
λ‹€μŒ λͺ…령이 μ œλŒ€λ‘œ μž‘λ™ν–ˆμŠ΅λ‹ˆλ‹€.

git clone --recursive https://github.com/dmlc/xgboost
cd xgboost
git checkout 9a48a40
git submodule init
git submodule update

Anaconda Prompt둜 λ‹€μ‹œ μ „ν™˜ν–ˆμ„ λ•Œ python-packages ν΄λ”λ‘œ λ¦¬λ””λ ‰μ…˜λ˜μ–΄ λ‹€μŒμ„ μ‹œλ„ν–ˆμŠ΅λ‹ˆλ‹€.

python setup.py install

라이브러리λ₯Ό 찾을 수 μ—†μœΌλ©° 후보 λͺ©λ‘μ„ μ œκ³΅ν•œλ‹€λŠ” 였λ₯˜λ₯Ό λ°›μ•˜μŠ΅λ‹ˆλ‹€.
μˆ˜μ • 방법에 λŒ€ν•œ 아이디어?

@lrvenable

이름을 μ§€μ •ν•œ 단계λ₯Ό μˆ˜ν–‰ν•œ ν›„ λ‹€μŒμ„ μž…λ ₯ν•©λ‹ˆλ‹€.

cd python-package

그런 λ‹€μŒ python νŒ¨ν‚€μ§€ 디렉토리(이미 λ³΅μ œν•œ λ¦¬ν¬μ§€ν† λ¦¬μ˜ xgboost 폴더 λ‚΄λΆ€)에 μžˆμŠ΅λ‹ˆλ‹€.
그런 λ‹€μŒ μ½˜μ†”μ— λ‹€μŒμ„ μž…λ ₯ν•©λ‹ˆλ‹€.

python setup.py install

Windows λͺ…λ Ή ν”„λ‘¬ν”„νŠΈ λŒ€μ‹  λΉ„νŠΈ bashλ₯Ό μ‚¬μš©ν•΄μ•Ό ν•©λ‹ˆλ‹€!
건배!

@Cortajarena 당신은 μ ˆλŒ€μ μΈ κ΅¬μ„Έμ£Όμž…λ‹ˆλ‹€. λ§Žμ€, λ§Žμ€ κ°μ‚¬ν•©λ‹ˆλ‹€!

λ‚˜λ₯Ό μœ„ν•΄ 문제λ₯Ό ν•΄κ²°ν–ˆμŠ΅λ‹ˆλ‹€(Win7 64Bit, mingw-w64).

...dmlc-coreincludedmlcbase.h 라인 110++ (https://github.com/dmlc/xgboost/commit/75d9be55de7e13a0075b4422c37a74f7b39600b1 컀밋)

! μ •μ˜λœ 경우( GNUC )

fopen64 std:: fopen 참고: "std::" 제거

μ—”λ””ν”„

if ( MINGW32 μ •μ˜) || (μ •μ˜λœ MINGW64 )

fopen64 std:: fopen 참고: "std::" 제거

μ—”λ””ν”„

=>

! μ •μ˜λœ 경우( GNUC )

fopen64 fopen μ •μ˜

μ—”λ””ν”„

if ( MINGW32 μ •μ˜) || (μ •μ˜λœ MINGW64 )

fopen64 fopen μ •μ˜

μ—”λ””ν”„

μ—…μŠ€νŠΈλ¦Ό λ¬Έμ œκ°€ μˆ˜μ •λ˜μ—ˆκ³  dmlc-core에 λŒ€ν•œ μ°Έμ‘°κ°€ #1408 μ—…λ°μ΄νŠΈλ˜μ—ˆμŠ΅λ‹ˆλ‹€. μ‚¬λžŒλ“€μ΄ 6μ›” 5일 λ²„μ „μ˜ μ½”λ“œλ₯Ό 계속 μ„€μΉ˜ν•˜μ§€ μ•Šλ„λ‘ λˆ„κ΅°κ°€ 이 문제λ₯Ό λ‹«μ•„μ•Ό ν•œλ‹€κ³  μ œμ•ˆν•©λ‹ˆλ‹€.

Windows 7μ—μ„œ R νŒ¨ν‚€μ§€λ₯Ό λΉŒλ“œν•˜κ³  μžˆμ—ˆμŠ΅λ‹ˆλ‹€. CRAN의 μ΅œμ‹  xgboost νŒ¨ν‚€μ§€κ°€ λΉŒλ“œλ˜μ§€ μ•Šμ•˜μŠ΅λ‹ˆλ‹€.

@Far0n 의 μ†”λ£¨μ…˜μ΄ μ €μ—κ²Œ

@Cortajarena @lrvenable

λ‚˜λŠ” 그것을 μ–»λŠ”λ‹€

 $ python setup.py install
 Traceback (most recent call last):
   File "setup.py", line 19, in <module>
     LIB_PATH = libpath['find_lib_path']()
   File "xgboost/libpath.py", line 45, in find_lib_path
     'List of candidates:\n' + ('\n'.join(dll_path)))
 XGBoostLibraryNotFound: Cannot find XGBoost Libarary in the candicate path, did you install compilers and run build.sh in root path?
 List of candidates:
 ~/xgboost/xgboost/python-package/xgboost/libxgboost.so
 ~/xgboost/xgboost/python-package/xgboost/../../lib/libxgboost.so
 ~/xgboost/xgboost/python-package/xgboost/./lib/libxgboost.so
이 νŽ˜μ΄μ§€κ°€ 도움이 λ˜μ—ˆλ‚˜μš”?
0 / 5 - 0 λ“±κΈ‰