Giter Site home page Giter Site logo

ivmreg / xgboost_sharp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from kmbnw/xgboost_sharp

0.0 2.0 0.0 24 KB

Unofficial C# wrapper for the awesome xgboost library (https://github.com/dmlc/xgboost)

License: Apache License 2.0

Makefile 5.39% C++ 41.76% C# 52.85%

xgboost_sharp's Introduction

xgboost_sharp

Unofficial C# wrapper for the awesome XGBoost library (https://github.com/dmlc/xgboost).

The C# class calls a C++ class (to keep the interop interface simple); you may find the C++ to be directly useful as well.

The makefiles in this project assume xgboost is installed on your system. As there isn't a 'make install' for that, you can do the following to ensure it is available on Linux (for Windows, I recommend using VC++ 2015 Community edition and letting the IDE handle your paths).

  1. Clone xgboost from https://github.com/dmlc/xgboost
  2. Compile xgboost following the instructions at https://xgboost.readthedocs.io/en/latest/build.html
  3. Copy the lib and include files out to /usr/local. From the directory you cloned xgboost to, run the following:
sudo cp lib/libxgboost.so /usr/local/lib/

# not actually sure if this is needed but xgboost itself references rabit/c_api.h so...
sudo cp lib/rabit/librabit.a /usr/local/lib/

sudo cp -R include/xgboost /usr/local/include/
sudo cp -R rabit/include/rabit /usr/local/include/
sudo cp -R rabit/include/dmlc /usr/local/include/

Assuming now that /usr/local is in your library and include paths (which seems like a safe assumption) you should be able to compile and run this project.

xgboost_sharp's People

Contributors

kmbnw avatar

Watchers

James Cloos avatar  avatar

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.