xgboost/python/xgboost_wrapper_R.h
2014-08-23 09:30:02 -07:00

21 lines
360 B
C

#ifndef XGBOOST_WRAPPER_R_H_
#define XGBOOST_WRAPPER_R_H_
/*!
* \file xgboost_wrapper_R.h
* \author Tianqi Chen
* \brief R wrapper of xgboost
*/
extern "C" {
#include <Rinternals.h>
}
extern "C" {
/*!
* \brief load a data matrix
* \return a loaded data matrix
*/
SEXP XGDMatrixCreateFromFile_R(SEXP fname);
};
#endif // XGBOOST_WRAPPER_H_