{"id":274241,"date":"2016-02-14T19:57:01","date_gmt":"2016-02-14T16:57:01","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=274241"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=274241","title":{"rendered":"\u0421\u043e\u0431\u0438\u0440\u0430\u0435\u043c XGBoost \u043f\u043e\u0434 OS X"},"content":{"rendered":"<p>       <a href=\"https:\/\/github.com\/dmlc\/xgboost\">XGBoost<\/a> \u2014 \u0421++ \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430, \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u044e\u0449\u0430\u044f \u043c\u0435\u0442\u043e\u0434\u044b \u0433\u0440\u0430\u0434\u0438\u0435\u043d\u0442\u043d\u043e\u0433\u043e \u0431\u0443\u0441\u0442\u0438\u043d\u0433\u0430, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0432\u0441\u0435 \u0447\u0430\u0449\u0435 \u043c\u043e\u0436\u043d\u043e \u0432\u0441\u0442\u0440\u0435\u0442\u0438\u0442\u044c \u0432 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f\u0445 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u043e\u0432-\u043f\u043e\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u0435\u0439 \u043d\u0430 Kaggle. \u0414\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u0437 R \u0438\u043b\u0438 Python \u0435\u0441\u0442\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u043e\u0431\u0432\u044f\u0437\u043a\u0438, \u043d\u043e \u0441\u0430\u043c\u0443 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432. \u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0432 make, \u044f \u0443\u0432\u0438\u0434\u0435\u043b \u043c\u0430\u0441\u0441\u0443 \u043e\u0448\u0438\u0431\u043e\u043a, \u0441\u043e\u043e\u0431\u0449\u0430\u044e\u0449\u0438\u0445 \u043e \u043d\u0435\u043d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u0445 \u0445\u0438\u0434\u0435\u0440\u0430\u0445 \u0438 \u043d\u0435\u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u043e\u043c OpenMP. \u041d\u0443, \u043d\u0435 \u0432\u043f\u0435\u0440\u0432\u043e\u0439. <br \/>  <a name=\"habracut\"><\/a><br \/>  \u041f\u043b\u0430\u043d \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439:   <\/p>\n<ol>\n<li>\u0421\u043a\u0430\u0447\u0430\u0442\u044c XCode<\/li>\n<li>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c command line tools<\/li>\n<li>\u0421\u043e\u0431\u0440\u0430\u0442\u044c Clang c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 OpenMP<\/li>\n<li>\u0421\u043e\u0431\u0440\u0430\u0442\u044c Intel OpenMP \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443<\/li>\n<li>\u041f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0443\u0442\u044c \u043a OpenMP \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435 \u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c \u0445\u0438\u0434\u0435\u0440\u0430\u043c<\/li>\n<li>\u0421\u043e\u0431\u0440\u0430\u0442\u044c XGBoost<\/li>\n<li>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043e\u0431\u0432\u044f\u0437\u043a\u0443 \u0434\u043b\u044f Python<\/li>\n<li>\u041f\u043e\u043a\u043e\u0440\u044f\u0442\u044c \u0442\u043e\u043f\u044b \u043b\u0438\u0434\u0435\u0440\u0431\u043e\u0440\u0434\u043e\u0432 \u043d\u0430 Kaggle<\/li>\n<\/ol>\n<p>  1. <b>\u0421\u043a\u0430\u0447\u0430\u0442\u044c XCode<\/b><br \/>  XCode \u043c\u043e\u0436\u043d\u043e \u0441\u043e\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u043e \u0431\u0435\u0441\u043f\u043b\u0430\u0442\u043d\u043e \u0441\u043a\u0430\u0447\u0430\u0442\u044c \u0438\u0437 App Store. \u041f\u043e\u0441\u043b\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438, \u043d\u0430\u0431\u0440\u0430\u0432 \u0432 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0435 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0430 gcc -v, \u043c\u044b \u0434\u043e\u043b\u0436\u043d\u044b \u0443\u0432\u0438\u0434\u0435\u0442\u044c \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0435:  <\/p>\n<pre><code class=\"bash\">Configured with: --prefix=\/Applications\/Xcode.app\/Contents\/Developer\/\/usr --with-gxx-include-dir=\/usr\/include\/c++\/4.2.1 Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn) Target: x86_64-apple-darwin14.3.0 Thread model: posix <\/code><\/pre>\n<p>  2. <b>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c command line tools<\/b><br \/>  \u0415\u0441\u043b\u0438 \u043f\u0440\u043e\u043f\u0443\u0441\u0442\u0438\u0442\u044c \u044d\u0442\u043e\u0442 \u0448\u0430\u0433, \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440 \u043d\u0435 \u0441\u043c\u043e\u0436\u0435\u0442 \u043d\u0430\u0439\u0442\u0438 \u0441\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u044b\u0435 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438 C \u0438 C++. \u0412 \u0442\u0435\u0440\u043c\u0438\u043d\u0430\u043b\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c  <\/p>\n<pre><code class=\"bash\">xcode-select --install <\/code><\/pre>\n<p>  \u0438 \u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u044c \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f\u043c.<\/p>\n<p>  3. <b>\u0421\u043e\u0431\u0440\u0430\u0442\u044c Clang c \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u043e\u0439 OpenMP<\/b><br \/>  \u042d\u0442\u0430 \u0432\u0435\u0440\u0441\u0438\u044f \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440\u0430 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 OpenMP-\u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u0438 \u0434\u043b\u044f \u0440\u0430\u0441\u043f\u0430\u0440\u0430\u043b\u043b\u0435\u043b\u0438\u0432\u0430\u043d\u0438\u044f \u0438 \u0440\u0430\u0437\u0440\u0430\u0431\u0430\u0442\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u0441\u043e\u0442\u0440\u0443\u0434\u043d\u0438\u043a\u0430\u043c\u0438 Intel. \u041c\u043e\u0436\u043d\u043e \u043d\u0430\u0434\u0435\u044f\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u0432 \u043e\u0434\u0438\u043d \u043f\u0440\u0435\u043a\u0440\u0430\u0441\u043d\u044b\u0439 \u0434\u0435\u043d\u044c \u044d\u0442\u0430 \u0432\u0435\u0442\u043a\u0430 \u0432\u043e\u043b\u044c\u0435\u0442\u0441\u044f \u043e\u0431\u0440\u0430\u0442\u043d\u043e \u0432 \u0442\u0440\u0430\u043d\u043a, \u0438 OpenMP \u0431\u0443\u0434\u0435\u0442 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u043e \u0432 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u043e\u043c Clang \u0438\u0437 \u043a\u043e\u0440\u043e\u0431\u043a\u0438. \u0421\u0443\u0434\u044f \u043f\u043e \u0432\u0441\u0435\u043c\u0443, \u043d\u0435\u043a\u043e\u0442\u043e\u0440\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043d\u0430\u0437\u0430\u0434 \u043c\u043e\u0436\u043d\u043e \u0431\u044b\u043b\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c clang-omp \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e brew, \u043d\u043e \u044d\u0442\u043e \u0441\u0447\u0430\u0441\u0442\u043b\u0438\u0432\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u043f\u0440\u043e\u0448\u043b\u043e. \u0418\u0442\u0430\u043a, \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440:  <\/p>\n<pre><code class=\"bash\">mkdir clang-omp && cd clang-omp git clone https:\/\/github.com\/clang-omp\/llvm git clone https:\/\/github.com\/clang-omp\/compiler-rt llvm\/projects\/compiler-rt git clone -b clang-omp https:\/\/github.com\/clang-omp\/clang llvm\/tools\/clang mkdir build && cd build cmake ..\/llvm -DCMAKE_BUILD_TYPE=Release make -j 4 <\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u044f\u0434\u0435\u0440 \u043d\u0430 \u043c\u0430\u0448\u0438\u043d\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 4, \u0438\u043c\u0435\u0435\u0442 \u0441\u043c\u044b\u0441\u043b \u043f\u043e\u043f\u0440\u0430\u0432\u0438\u0442\u044c \u0446\u0438\u0444\u0440\u0443 \u0432 \u043f\u043e\u0441\u043b\u0435\u0434\u043d\u0435\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u0435.<\/p>\n<p>  4. <b>\u0421\u043e\u0431\u0440\u0430\u0442\u044c Intel OpenMP \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443<\/b><br \/>  \u0411\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 \u0434\u043b\u044f \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 OpenMP \u0442\u0430\u043a \u0436\u0435 \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u0442\u0441\u044f \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432. <a href=\"https:\/\/www.openmprtl.org\/download#stable-releases\">\u0421\u043a\u0430\u0447\u0438\u0432\u0430\u0435\u043c<\/a>, \u0440\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c, \u0441\u043e\u0431\u0438\u0440\u0430\u0435\u043c:  <\/p>\n<pre><code class=\"bash\">mkdir build && cd build cmake .. make -j 4 <\/code><\/pre>\n<p>  5. <b>\u041f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u043f\u0443\u0442\u044c \u043a OpenMP \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0435 \u0438 \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u043c \u0445\u0438\u0434\u0435\u0440\u0430\u043c<\/b><br \/>  \u0427\u0442\u043e\u0431\u044b \u043a\u043e\u043c\u043f\u0438\u043b\u044f\u0442\u043e\u0440 \u0438 \u043b\u0438\u043d\u043a\u0435\u0440 \u043f\u0440\u0438 \u0441\u0431\u043e\u0440\u043a\u0435 XGBoost \u0441\u043c\u043e\u0433\u043b\u0438 \u043d\u0430\u0439\u0442\u0438 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0435 \u0438\u043c \u043a\u043e\u043c\u043f\u043e\u043d\u0435\u043d\u0442\u044b, \u043d\u0443\u0436\u043d\u043e \u043f\u0440\u043e\u043f\u0438\u0441\u0430\u0442\u044c \u043a \u043d\u0438\u043c \u043f\u0443\u0442\u0438. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432 ~\/.bash_profile \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435 \u0441\u0442\u0440\u043e\u043a\u0438:  <\/p>\n<pre><code class=\"bash\">export C_INCLUDE_PATH=PATH_TO_LIBOMP\/libomp\/exports\/common\/include\/:$C_INCLUDE_PATH export CPLUS_INCLUDE_PATH=PATH_TO_LIBOMP\/libomp\/exports\/common\/include\/:$CPLUS_INCLUDE_PATH export LIBRARY_PATH=PATH_TO_LIBOMP\/libomp\/exports\/mac_32e\/lib\/:$LIBRARY_PATH export DYLD_LIBRARY_PATH=PATH_TO_LIBOMP\/libomp\/exports\/mac_32e\/lib\/:$LD_LIBRARY_PATH <\/code><\/pre>\n<p>  \u041a\u0430\u043a \u043c\u043e\u0436\u043d\u043e \u0434\u043e\u0433\u0430\u0434\u0430\u0442\u044c\u0441\u044f, PATH_TO_LIBOMP \u2014 \u043f\u0443\u0442\u044c \u043a \u043f\u0430\u043f\u043a\u0435, \u0433\u0434\u0435 \u043b\u0435\u0436\u0438\u0442 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430. \u0427\u0442\u043e\u0431\u044b \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f \u0432\u0441\u0442\u0443\u043f\u0438\u043b\u0438 \u0432 \u0441\u0438\u043b\u0443, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u044c \u043a\u043e\u043c\u0430\u043d\u0434\u0443 <\/p>\n<pre><code class=\"bash\">source ~\/.bash_profile <\/code><\/pre>\n<p>  \u041d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u0432\u0441\u0435 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u043a\u043e\u0440\u0440\u0435\u043a\u0442\u043d\u043e. \u0414\u043b\u044f \u044d\u0442\u043e\u0433\u043e \u0441\u043e\u0437\u0434\u0430\u0434\u0438\u043c \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443-\u0441\u044d\u043c\u043f\u043b  <\/p>\n<pre><code class=\"cpp\">#include &lt;omp.h&gt; #include &lt;stdio.h&gt; #include &lt;iostream&gt;  int main(int argc, char** argv) {     std::cout &lt;&lt; &quot;Hello!&quot; &lt;&lt; std::endl;     #pragma omp parallel     printf(&quot;Hello from thread %d, nthreads %d\\n&quot;, omp_get_thread_num(), omp_get_num_threads());     return 0; }  <\/code><\/pre>\n<p>  \u0438 \u043f\u043e\u043f\u044b\u0442\u0430\u0435\u043c\u0441\u044f \u0435\u0435 \u0441\u043a\u043e\u043c\u043f\u0438\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c:  <\/p>\n<pre><code class=\"bash\">PATH_TO_CLANGOMP\/clang-omp\/build\/bin\/clang++ sample.cpp -o sample -fopenmp <\/code><\/pre>\n<p>  \u0415\u0441\u043b\u0438 \u0432\u0441\u0435 \u0445\u043e\u0440\u043e\u0448\u043e, \u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0432 \u043f\u0440\u043e\u0433\u0440\u0430\u043c\u043c\u0443, \u043c\u044b \u0443\u0432\u0438\u0434\u0438\u043c \u043d\u0430 \u044d\u043a\u0440\u0430\u043d\u0435 \u0441\u043e\u043e\u0431\u0449\u0435\u043d\u0438\u044f \u0438\u0437 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u0438\u0445 \u0442\u0440\u0435\u0434\u043e\u0432.<\/p>\n<p>  6. <b>\u0421\u043e\u0431\u0440\u0430\u0442\u044c XGBoost<\/b><br \/>  \u041c\u044b \u043f\u043e\u0447\u0442\u0438 \u0443 \u0446\u0435\u043b\u0438. \u0412 \u043f\u0430\u043f\u043a\u0435 xgboost \u043b\u0435\u0436\u0438\u0442 Makefile, \u043f\u0435\u0440\u0432\u044b\u0435 \u0441\u0442\u0440\u043e\u0447\u043a\u0438 \u043a\u043e\u0442\u043e\u0440\u043e\u0433\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c:  <\/p>\n<pre><code class=\"bash\">export CC  = PATH_TO_CLANGOMP\/clang-omp\/build\/bin\/clang export CXX = PATH_TO_CLANGOMP\/clang-omp\/build\/bin\/clang++ export MPICXX = mpicxx export LDFLAGS= -pthread -lm  export CFLAGS = -Wall -O3 -msse2 -Wno-unknown-pragmas -funroll-loops -fopenmp <\/code><\/pre>\n<p>  \u0421\u043e\u0431\u0438\u0440\u0430\u0435\u043c:  <\/p>\n<pre><code class=\"bash\">make -j 4 <\/code><\/pre>\n<p>  \u041f\u043e\u0431\u0435\u0434\u0430.<\/p>\n<p>  7. <b>\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043e\u0431\u0432\u044f\u0437\u043a\u0443 \u0434\u043b\u044f Python<\/b>  <\/p>\n<pre><code class=\"bash\">cd wrapper python setup.py install <\/code><\/pre>\n<p>  \u0423\u0431\u0435\u0434\u0438\u0442\u044c\u0441\u044f, \u0447\u0442\u043e \u043e\u0431\u0432\u044f\u0437\u043a\u0430 XGBoost \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0434\u043e\u043b\u0436\u043d\u044b\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c, \u043c\u043e\u0436\u043d\u043e \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u0434\u0435\u043c\u043e-\u0441\u043a\u0440\u0438\u043f\u0442\u043e\u0432, \u043b\u0435\u0436\u0430\u0449\u0438\u0445 \u0432 xgboost\/demo.<\/p>\n<p>  8. <b>\u041f\u043e\u043a\u043e\u0440\u044f\u0442\u044c \u0442\u043e\u043f\u044b \u043b\u0438\u0434\u0435\u0440\u0431\u043e\u0440\u0434\u043e\u0432 \u043d\u0430 Kaggle<\/b><br \/>  \u0412\u043d\u0435\u0437\u0430\u043f\u043d\u043e \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u043b\u043e\u0441\u044c \u044d\u043b\u0435\u043a\u0442\u0440\u0438\u0447\u0435\u0441\u0442\u0432\u043e, \u0438 \u044d\u0442\u0430 \u0441\u0430\u043c\u0430\u044f \u0432\u0430\u0436\u043d\u0430\u044f \u0447\u0430\u0441\u0442\u044c, \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0431\u044b\u043b\u0430 \u0443\u0442\u0440\u0430\u0447\u0435\u043d\u0430 \u0438 \u0431\u0443\u0434\u0435\u0442 \u043e\u0441\u0432\u0435\u0449\u0435\u043d\u0430 \u0432 \u0434\u0430\u043b\u044c\u043d\u0435\u0439\u0448\u0435\u043c.       <\/p>\n<div class=\"clear\"><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"https:\/\/habrahabr.ru\/post\/277189\/\"> https:\/\/habrahabr.ru\/post\/277189\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>       <a href=\"https:\/\/github.com\/dmlc\/xgboost\">XGBoost<\/a> \u2014 \u0421++ \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430, \u0440\u0435\u0430\u043b\u0438\u0437\u0443\u044e\u0449\u0430\u044f \u043c\u0435\u0442\u043e\u0434\u044b \u0433\u0440\u0430\u0434\u0438\u0435\u043d\u0442\u043d\u043e\u0433\u043e \u0431\u0443\u0441\u0442\u0438\u043d\u0433\u0430, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u0432\u0441\u0435 \u0447\u0430\u0449\u0435 \u043c\u043e\u0436\u043d\u043e \u0432\u0441\u0442\u0440\u0435\u0442\u0438\u0442\u044c \u0432 \u043e\u043f\u0438\u0441\u0430\u043d\u0438\u044f\u0445 \u0430\u043b\u0433\u043e\u0440\u0438\u0442\u043c\u043e\u0432-\u043f\u043e\u0431\u0435\u0434\u0438\u0442\u0435\u043b\u0435\u0439 \u043d\u0430 Kaggle. \u0414\u043b\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u044f \u0438\u0437 R \u0438\u043b\u0438 Python \u0435\u0441\u0442\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u043e\u0431\u0432\u044f\u0437\u043a\u0438, \u043d\u043e \u0441\u0430\u043c\u0443 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0441\u043e\u0431\u0440\u0430\u0442\u044c \u0438\u0437 \u0438\u0441\u0445\u043e\u0434\u043d\u0438\u043a\u043e\u0432. \u0417\u0430\u043f\u0443\u0441\u0442\u0438\u0432 make, \u044f \u0443\u0432\u0438\u0434\u0435\u043b \u043c\u0430\u0441\u0441\u0443 \u043e\u0448\u0438\u0431\u043e\u043a, \u0441\u043e\u043e\u0431\u0449\u0430\u044e\u0449\u0438\u0445 \u043e \u043d\u0435\u043d\u0430\u0439\u0434\u0435\u043d\u043d\u044b\u0445 \u0445\u0438\u0434\u0435\u0440\u0430\u0445 \u0438 \u043d\u0435\u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u043c\u043e\u043c OpenMP. \u041d\u0443, \u043d\u0435 \u0432\u043f\u0435\u0440\u0432\u043e\u0439.   <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-274241","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/274241","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=274241"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/274241\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=274241"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=274241"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=274241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}