Giter Site home page Giter Site logo

schwt / xgboost Goto Github PK

View Code? Open in Web Editor NEW

This project forked from clockfly/xgboost

0.0 2.0 0.0 29.35 MB

Scalable, Portable and Distributed Gradient Boosting (GBDT, GBRT or GBM) Library, for Python, R, Java, Scala, C++ and more. Runs on single machine, Hadoop, Spark, Flink and DataFlow

License: Other

CMake 1.62% Makefile 0.76% R 12.22% Shell 9.94% M4 0.05% C 3.21% C++ 33.75% CSS 0.20% TeX 0.05% Python 10.20% Java 5.96% Scala 13.71% Cuda 8.32%

xgboost's Introduction

changed version by schwt

  • new makefile configure, suitable for my spark context. (done by Sean.Zhong)
  • new predict function (def my_predict()), which easy to evaluate.
notes:
  1. added new function my_predict() from premal predict() in version: java, scala, spark.scala
  2. tocheck: in java version, DMatrix.getLabel(), keep order?

eXtreme Gradient Boosting

Build Status Build Status Documentation Status GitHub license CRAN Status Badge PyPI version Gitter chat for developers at https://gitter.im/dmlc/xgboost

Documentation | Resources | Installation | Release Notes | RoadMap

NOTES on the build

  1. git clone --recursive https://github.com/dmlc/xgboost.git
  2. Make sure the gcc version >= 4.8. Make sure g++/gcc can be found on PATH env. Make sure the GCC library can be found in runtime.
    export LD_LIBRARY_PATH=${YOUR_GCC_DIRECTORY}/lib64
    
  3. Make sure you use a new verion of ld. I use binutils version 2.2.8. Make sure ld can be found on PATH env.
  4. Make sure the cmake version > 3.2. Make sure cmake can be found on PATH env.
  5. export JAVA_HOME=/path/to/your/jdk
  6. To enable HDFS support, please modify jvm-packages/create_jni.py. "USE_HDFS": "ON" libhdfs.a is not compiled with -fPIC flag, which will cause building problems. We need to recompile libhdfs.a with -fPIC support by following link dmlc/dmlc-core#10 (comment) I have compiled a new libhdfs.a for CDH 5.3.2.
    export HADOOP_HOME=${YOUR_XGBOOST_SRC_DIR}/hadoop-hdfs-2.5.0-cdh5.3.2
    
  7. Make the build
    make clean
    make -j4
    cd jvm-packages
    mvn clean
    mvn package
    
  8. The build has been verified with gcc 4.8.2, cmake 3.8.2 on a CentOS 6.6 machine.

XGBoost

XGBoost is an optimized distributed gradient boosting library designed to be highly efficient, flexible and portable. It implements machine learning algorithms under the Gradient Boosting framework. XGBoost provides a parallel tree boosting (also known as GBDT, GBM) that solve many data science problems in a fast and accurate way. The same code runs on major distributed environment (Hadoop, SGE, MPI) and can solve problems beyond billions of examples.

What's New

Ask a Question

Help to Make XGBoost Better

XGBoost has been developed and used by a group of active community members. Your help is very valuable to make the package better for everyone.

License

© Contributors, 2016. Licensed under an Apache-2 license.

Reference

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.