repo_url
string
commit_id
string
commit_subject
string
commit_message
string
commit_query
string
post_diff_query_doc
string
query_file_path
string
true_documents
list
true_document_paths
list
secondary_documents
list
negative_documents
list
hard_negative_documents
list
repo_name
string
https://github.com/dmlc/xgboost.git
8863c520e7f54dbff2675760b827a9b7c8b978c1
some quick fix
some quick fix
#include <vector> #include <string> #include <utility> #include <cstring> #include "xgboost_R.h" #include "wrapper/xgboost_wrapper.h" #include "src/utils/utils.h" #include "src/utils/omp.h" #include "src/utils/matrix_csr.h" using namespace xgboost; // implements error handling namespace xgboost { namespace utils { voi...
#include <vector> #include <string> #include <utility> #include <cstring> #include <cstdio> #include "xgboost_R.h" #include "wrapper/xgboost_wrapper.h" #include "src/utils/utils.h" #include "src/utils/omp.h" #include "src/utils/matrix_csr.h" using namespace xgboost; // implements error handling namespace xgboost { nam...
R-package/src/xgboost_R.cpp
[ "#ifndef XGBOOST_UTILS_OMP_H_\n#define XGBOOST_UTILS_OMP_H_\n/*!\n * \\file omp.h\n * \\brief header to handle OpenMP compatibility issues\n * \\author Tianqi Chen\n */\n#if defined(_OPENMP)\n#include <omp.h>\n#else\n#ifndef DISABLE_OPENMP\n// use pragma message instead of warning\n#pragma message (\"Warning: OpenM...
[ "src/utils/omp.h", "src/utils/utils.h", "wrapper/xgboost_wrapper.h", "src/utils/matrix_csr.h" ]
[]
[ "#define _CRT_SECURE_NO_WARNINGS\n#define _CRT_SECURE_NO_DEPRECATE\n#include <cstring>\n#include \"./gbm.h\"\n#include \"./gbtree-inl.hpp\"\n#include \"./gblinear-inl.hpp\"\n\nnamespace xgboost {\nnamespace gbm {\nIGradBooster* CreateGradBooster(const char *name) {\n if (!strcmp(\"gbtree\", name)) return new GBTre...
[ "#ifndef XGBOOST_WRAPPER_R_H_\n#define XGBOOST_WRAPPER_R_H_\n/*!\n * \\file xgboost_wrapper_R.h\n * \\author Tianqi Chen\n * \\brief R wrapper of xgboost\n */\nextern \"C\" {\n#include <Rinternals.h>\n#include <R_ext/Random.h>\n}\n\nextern \"C\" {\n /*!\n * \\brief load a data matrix \n * \\param fname name of...
xgboost
https://github.com/dmlc/xgboost.git
b49927e60235d30d19a88a8493d2ab80115395cb
Update xgboost_R.cpp
Update xgboost_R.cpp
#include "xgboost_R.h" #include <vector> #include <string> #include <utility> #include <cstring> #include "wrapper/xgboost_wrapper.h" #include "src/utils/utils.h" #include "src/utils/omp.h" #include "src/utils/matrix_csr.h" using namespace xgboost; // implements error handling namespace xgboost { namespace utils { voi...
#include <vector> #include <string> #include <utility> #include <cstring> #include "xgboost_R.h" #include "wrapper/xgboost_wrapper.h" #include "src/utils/utils.h" #include "src/utils/omp.h" #include "src/utils/matrix_csr.h" using namespace xgboost; // implements error handling namespace xgboost { namespace utils { voi...
R-package/src/xgboost_R.cpp
[ "#ifndef XGBOOST_UTILS_UTILS_H_\n#define XGBOOST_UTILS_UTILS_H_\n/*!\n * \\file utils.h\n * \\brief simple utils to support the code\n * \\author Tianqi Chen\n */\n#define _CRT_SECURE_NO_WARNINGS\n#include <cstdio>\n#include <cstdarg>\n#include <string>\n#include <cstdlib>\n#ifdef _MSC_VER\n#define fopen64 fopen\n/...
[ "src/utils/utils.h", "src/utils/omp.h", "wrapper/xgboost_wrapper.h", "src/utils/matrix_csr.h" ]
[]
[ "#!/usr/bin/python\nimport sys\nimport random\n\nif len(sys.argv) < 2:\n print ('Usage:<filename> <k> [nfold = 5]')\n exit(0)\n\nrandom.seed( 10 )\n\nk = int( sys.argv[2] )\nif len(sys.argv) > 3:\n nfold = int( sys.argv[3] )\nelse:\n nfold = 5\n\nfi = open( sys.argv[1], 'r' )\nftr = open( sys.argv[1]+'....
[ "#ifndef XGBOOST_WRAPPER_R_H_\n#define XGBOOST_WRAPPER_R_H_\n/*!\n * \\file xgboost_wrapper_R.h\n * \\author Tianqi Chen\n * \\brief R wrapper of xgboost\n */\nextern \"C\" {\n#include <Rinternals.h>\n#include <R_ext/Random.h>\n}\n\nextern \"C\" {\n /*!\n * \\brief load a data matrix \n * \\param fname name of...
xgboost
https://github.com/dmlc/xgboost.git
168f78623f7502df3831e62ac1617091a7e511ed
allow standalone random
allow standalone random
#include <vector> #include <string> #include <utility> #include <cstring> #include "xgboost_R.h" #include "wrapper/xgboost_wrapper.h" #include "src/utils/utils.h" #include "src/utils/omp.h" #include "src/utils/matrix_csr.h" using namespace xgboost; // implements error handling namespace xgboost { namespace utils { voi...
#include "xgboost_R.h" #include <vector> #include <string> #include <utility> #include <cstring> #include "wrapper/xgboost_wrapper.h" #include "src/utils/utils.h" #include "src/utils/omp.h" #include "src/utils/matrix_csr.h" using namespace xgboost; // implements error handling namespace xgboost { namespace utils { voi...
R-package/src/xgboost_R.cpp
[ "#ifndef XGBOOST_UTILS_UTILS_H_\n#define XGBOOST_UTILS_UTILS_H_\n/*!\n * \\file utils.h\n * \\brief simple utils to support the code\n * \\author Tianqi Chen\n */\n#define _CRT_SECURE_NO_WARNINGS\n#include <cstdio>\n#include <cstdarg>\n#include <string>\n#include <cstdlib>\n#ifdef _MSC_VER\n#define fopen64 fopen\n/...
[ "src/utils/utils.h", "src/utils/omp.h", "wrapper/xgboost_wrapper.h", "src/utils/matrix_csr.h" ]
[]
[ "#define _CRT_SECURE_NO_WARNINGS\n#define _CRT_SECURE_NO_DEPRECATE\n#include <cstring>\n#include \"./gbm.h\"\n#include \"./gbtree-inl.hpp\"\n#include \"./gblinear-inl.hpp\"\n\nnamespace xgboost {\nnamespace gbm {\nIGradBooster* CreateGradBooster(const char *name) {\n if (!strcmp(\"gbtree\", name)) return new GBTre...
[ "#ifndef XGBOOST_WRAPPER_R_H_\n#define XGBOOST_WRAPPER_R_H_\n/*!\n * \\file xgboost_wrapper_R.h\n * \\author Tianqi Chen\n * \\brief R wrapper of xgboost\n */\nextern \"C\" {\n#include <Rinternals.h>\n}\n\nextern \"C\" {\n /*!\n * \\brief load a data matrix \n * \\param fname name of the content\n * \\param ...
xgboost
https://github.com/dmlc/xgboost.git
4592e500cb68d113d39a3c3ebd8d37e4deb579d4
add ntree limit
add ntree limit
#include <vector> #include <string> #include <utility> #include <cstring> #include "xgboost_R.h" #include "wrapper/xgboost_wrapper.h" #include "src/utils/utils.h" #include "src/utils/omp.h" #include "src/utils/matrix_csr.h" using namespace xgboost; // implements error handling namespace xgboost { namespace utils { voi...
#include <vector> #include <string> #include <utility> #include <cstring> #include "xgboost_R.h" #include "wrapper/xgboost_wrapper.h" #include "src/utils/utils.h" #include "src/utils/omp.h" #include "src/utils/matrix_csr.h" using namespace xgboost; // implements error handling namespace xgboost { namespace utils { voi...
R-package/src/xgboost_R.cpp
[ "#ifndef XGBOOST_UTILS_UTILS_H_\n#define XGBOOST_UTILS_UTILS_H_\n/*!\n * \\file utils.h\n * \\brief simple utils to support the code\n * \\author Tianqi Chen\n */\n#define _CRT_SECURE_NO_WARNINGS\n#include <cstdio>\n#include <cstdarg>\n#include <string>\n#include <cstdlib>\n#ifdef _MSC_VER\n#define fopen64 fopen\n/...
[ "src/utils/utils.h", "wrapper/xgboost_wrapper.h", "src/utils/omp.h", "src/utils/matrix_csr.h" ]
[]
[ "#ifndef XGBOOST_LEARNER_EVALUATION_INL_HPP_\n#define XGBOOST_LEARNER_EVALUATION_INL_HPP_\n/*!\n* \\file xgboost_evaluation-inl.hpp\n* \\brief evaluation metrics for regression and classification and rank\n* \\author Kailong Chen, Tianqi Chen\n*/\n#include <vector>\n#include <utility>\n#include <string>\n#include <...
[ "#ifndef XGBOOST_WRAPPER_R_H_\n#define XGBOOST_WRAPPER_R_H_\n/*!\n * \\file xgboost_wrapper_R.h\n * \\author Tianqi Chen\n * \\brief R wrapper of xgboost\n */\nextern \"C\" {\n#include <Rinternals.h>\n#include <R_ext/Random.h>\n}\n\nextern \"C\" {\n /*!\n * \\brief load a data matrix \n * \\param fname name of...
xgboost
https://github.com/dmlc/xgboost.git
0ecd6c08f370a046bf31bf1a763a48b1332d2f40
add cross validation
add cross validation
#include <vector> #include <string> #include <utility> #include <cstring> #include <cstdio> #include "xgboost_R.h" #include "wrapper/xgboost_wrapper.h" #include "src/utils/utils.h" #include "src/utils/omp.h" using namespace std; using namespace xgboost; extern "C" { void XGBoostAssert_R(int exp, const char *fmt, ......
#include <vector> #include <string> #include <utility> #include <cstring> #include <cstdio> #include "xgboost_R.h" #include "wrapper/xgboost_wrapper.h" #include "src/utils/utils.h" #include "src/utils/omp.h" using namespace std; using namespace xgboost; extern "C" { void XGBoostAssert_R(int exp, const char *fmt, ......
R-package/src/xgboost_R.cpp
[ "#ifndef XGBOOST_UTILS_OMP_H_\n#define XGBOOST_UTILS_OMP_H_\n/*!\n * \\file omp.h\n * \\brief header to handle OpenMP compatibility issues\n * \\author Tianqi Chen\n */\n#if defined(_OPENMP)\n#include <omp.h>\n#else\n#ifndef DISABLE_OPENMP\n// use pragma message instead of warning\n#pragma message (\"Warning: OpenM...
[ "src/utils/omp.h", "src/utils/utils.h", "wrapper/xgboost_wrapper.h" ]
[]
[ "#ifndef XGBOOST_UTILS_IO_H\n#define XGBOOST_UTILS_IO_H\n#include <cstdio>\n#include <vector>\n#include <string>\n#include \"./utils.h\"\n/*!\n * \\file io.h\n * \\brief general stream interface for serialization, I/O\n * \\author Tianqi Chen\n */\nnamespace xgboost {\nnamespace utils {\n/*!\n * \\brief interface o...
[ "#ifndef XGBOOST_WRAPPER_R_H_\n#define XGBOOST_WRAPPER_R_H_\n/*!\n * \\file xgboost_wrapper_R.h\n * \\author Tianqi Chen\n * \\brief R wrapper of xgboost\n */\nextern \"C\" {\n#include <Rinternals.h>\n#include <R_ext/Random.h>\n}\n\nextern \"C\" {\n /*!\n * \\brief load a data matrix \n * \\param fname name of...
xgboost
https://github.com/dmlc/xgboost.git
efbd1b21a609bbc079b3d465ef4148dbee2a99cb
Merge branch 'tqchen-master'
Merge branch 'tqchen-master'
#include <vector> #include <string> #include <utility> #include <cstring> #include "xgboost_R.h" #include "../../wrapper/xgboost_wrapper.h" #include "../../src/utils/utils.h" #include "../../src/utils/omp.h" #include "../../src/utils/matrix_csr.h" using namespace xgboost; // implements error handling namespace xgboost...
#include <vector> #include <string> #include <utility> #include <cstring> #include <cstdio> #include "xgboost_R.h" #include "wrapper/xgboost_wrapper.h" #include "src/utils/utils.h" #include "src/utils/omp.h" using namespace std; using namespace xgboost; extern "C" { void XGBoostAssert_R(int exp, const char *fmt, ......
R-package/src/xgboost_R.cpp
[ "#ifndef XGBOOST_UTILS_OMP_H_\n#define XGBOOST_UTILS_OMP_H_\n/*!\n * \\file omp.h\n * \\brief header to handle OpenMP compatibility issues\n * \\author Tianqi Chen\n */\n#if defined(_OPENMP)\n#include <omp.h>\n#else\n#ifndef DISABLE_OPENMP\n#ifndef _MSC_VER\n#warning \"OpenMP is not available, compile to single thr...
[ "src/utils/omp.h", "src/utils/utils.h", "wrapper/xgboost_wrapper.h" ]
[]
[ "#ifndef XGBOOST_LEARNER_OBJECTIVE_INL_HPP_\n#define XGBOOST_LEARNER_OBJECTIVE_INL_HPP_\n/*!\n * \\file objective-inl.hpp\n * \\brief objective function implementations\n * \\author Tianqi Chen, Kailong Chen\n */\n#include <vector>\n#include <cmath>\n#include <algorithm>\n#include <utility>\n#include <functional>\n...
[ "#ifndef XGBOOST_WRAPPER_R_H_\n#define XGBOOST_WRAPPER_R_H_\n/*!\n * \\file xgboost_wrapper_R.h\n * \\author Tianqi Chen\n * \\brief R wrapper of xgboost\n */\nextern \"C\" {\n#include <Rinternals.h>\n}\n\nextern \"C\" {\n /*!\n * \\brief load a data matrix \n * \\param fname name of the content\n * \\param ...
xgboost
https://github.com/dmlc/xgboost.git
909a61edac9654f68a5fde79e1702942b1a7e050
Merge branch 'master' of https://github.com/tqchen/xgboost into tqchen-master
Merge branch 'master' of https://github.com/tqchen/xgboost into tqchen-master Conflicts: README.md
#include <vector> #include <string> #include <utility> #include <cstring> #include "xgboost_R.h" #include "../../wrapper/xgboost_wrapper.h" #include "../../src/utils/utils.h" #include "../../src/utils/omp.h" #include "../../src/utils/matrix_csr.h" using namespace xgboost; // implements error handling namespace xgboost...
#include <vector> #include <string> #include <utility> #include <cstring> #include <cstdio> #include "xgboost_R.h" #include "wrapper/xgboost_wrapper.h" #include "src/utils/utils.h" #include "src/utils/omp.h" using namespace std; using namespace xgboost; extern "C" { void XGBoostAssert_R(int exp, const char *fmt, ......
R-package/src/xgboost_R.cpp
[ "#ifndef XGBOOST_UTILS_OMP_H_\n#define XGBOOST_UTILS_OMP_H_\n/*!\n * \\file omp.h\n * \\brief header to handle OpenMP compatibility issues\n * \\author Tianqi Chen\n */\n#if defined(_OPENMP)\n#include <omp.h>\n#else\n#ifndef DISABLE_OPENMP\n#ifndef _MSC_VER\n#warning \"OpenMP is not available, compile to single thr...
[ "src/utils/omp.h", "src/utils/utils.h", "wrapper/xgboost_wrapper.h" ]
[]
[ "#ifndef XGBOOST_LEARNER_HELPER_UTILS_H_\n#define XGBOOST_LEARNER_HELPER_UTILS_H_\n/*!\n * \\file helper_utils.h\n * \\brief useful helper functions\n * \\author Tianqi Chen, Kailong Chen\n */\n#include <utility>\n#include <vector>\n#include <algorithm>\nnamespace xgboost {\nnamespace learner {\n// simple helper fu...
[ "#ifndef XGBOOST_WRAPPER_R_H_\n#define XGBOOST_WRAPPER_R_H_\n/*!\n * \\file xgboost_wrapper_R.h\n * \\author Tianqi Chen\n * \\brief R wrapper of xgboost\n */\nextern \"C\" {\n#include <Rinternals.h>\n}\n\nextern \"C\" {\n /*!\n * \\brief load a data matrix \n * \\param fname name of the content\n * \\param ...
xgboost
https://github.com/dmlc/xgboost.git
9c0389981a554714e687890ab33fd2048dd6b01e
fix print problem, fix Tong's email format
fix print problem, fix Tong's email format
#include <vector> #include <string> #include <utility> #include <cstring> #include "xgboost_R.h" #include "wrapper/xgboost_wrapper.h" #include "src/utils/utils.h" #include "src/utils/omp.h" #include "src/utils/matrix_csr.h" using namespace xgboost; // implements error handling namespace xgboost { namespace utils { voi...
#include <vector> #include <string> #include <utility> #include <cstring> #include "xgboost_R.h" #include "wrapper/xgboost_wrapper.h" #include "src/utils/utils.h" #include "src/utils/omp.h" #include "src/utils/matrix_csr.h" using namespace xgboost; // implements error handling namespace xgboost { namespace utils { voi...
R-package/src/xgboost_R.cpp
[ "#ifndef XGBOOST_UTILS_OMP_H_\n#define XGBOOST_UTILS_OMP_H_\n/*!\n * \\file omp.h\n * \\brief header to handle OpenMP compatibility issues\n * \\author Tianqi Chen\n */\n#if defined(_OPENMP)\n#include <omp.h>\n#else\n#ifndef DISABLE_OPENMP\n#ifndef _MSC_VER\n#warning \"OpenMP is not available, compile to single thr...
[ "src/utils/omp.h", "wrapper/xgboost_wrapper.h", "src/utils/matrix_csr.h", "src/utils/utils.h" ]
[]
[ "#define _CRT_SECURE_NO_WARNINGS\n#define _CRT_SECURE_NO_DEPRECATE\n\n#include <ctime>\n#include <string>\n#include <cstring>\n#include \"io/io.h\"\n#include \"utils/utils.h\"\n#include \"utils/config.h\"\n#include \"learner/learner-inl.hpp\"\n\nnamespace xgboost {\n/*!\n * \\brief wrapping the training process \n ...
[ "#ifndef XGBOOST_WRAPPER_R_H_\n#define XGBOOST_WRAPPER_R_H_\n/*!\n * \\file xgboost_wrapper_R.h\n * \\author Tianqi Chen\n * \\brief R wrapper of xgboost\n */\nextern \"C\" {\n#include <Rinternals.h>\n}\n\nextern \"C\" {\n /*!\n * \\brief load a data matrix \n * \\param fname name of the content\n * \\param ...
xgboost
https://github.com/dmlc/xgboost.git
76c513b1918ea6486a1741683d455eec36e5185e
t push origin unityMerge branch 'master' into unity
t push origin unityMerge branch 'master' into unity
#include <vector> #include <string> #include <utility> #include <cstring> #include "xgboost_R.h" #include "wrapper/xgboost_wrapper.h" #include "src/utils/utils.h" #include "src/utils/omp.h" #include "src/utils/matrix_csr.h" using namespace xgboost; // implements error handling namespace xgboost { namespace utils { voi...
#include <vector> #include <string> #include <utility> #include <cstring> #include <cstdio> #include "xgboost_R.h" #include "wrapper/xgboost_wrapper.h" #include "src/utils/utils.h" #include "src/utils/omp.h" #include "src/utils/matrix_csr.h" using namespace std; using namespace xgboost; extern "C" { void XGBoostAsse...
R-package/src/xgboost_R.cpp
[ "#ifndef XGBOOST_UTILS_MATRIX_CSR_H_\n#define XGBOOST_UTILS_MATRIX_CSR_H_\n/*!\n * \\file matrix_csr.h\n * \\brief this file defines some easy to use STL based class for in memory sparse CSR matrix\n * \\author Tianqi Chen\n */\n#include <vector>\n#include <algorithm>\n#include \"./io.h\"\n#include \"./utils.h\"\n\...
[ "src/utils/matrix_csr.h", "wrapper/xgboost_wrapper.h", "src/utils/utils.h", "src/utils/omp.h" ]
[]
[ "#ifndef XGBOOST_GBM_GBM_H_\n#define XGBOOST_GBM_GBM_H_\n/*!\n * \\file gbm.h\n * \\brief interface of gradient booster, that learns through gradient statistics\n * \\author Tianqi Chen\n */\n#include <vector>\n#include \"../data.h\"\n#include \"../utils/io.h\"\n#include \"../utils/fmap.h\"\n\nnamespace xgboost {\n...
[ "#ifndef XGBOOST_WRAPPER_R_H_\n#define XGBOOST_WRAPPER_R_H_\n/*!\n * \\file xgboost_wrapper_R.h\n * \\author Tianqi Chen\n * \\brief R wrapper of xgboost\n */\nextern \"C\" {\n#include <Rinternals.h>\n}\n\nextern \"C\" {\n /*!\n * \\brief load a data matrix \n * \\param fname name of the content\n * \\param ...
xgboost
https://github.com/dmlc/xgboost.git
c75275a861654b60bdcda038003cb6a0fc802ca3
more movement to beginptr
more movement to beginptr
#include <vector> #include <string> #include <utility> #include <cstring> #include <cstdio> #include "xgboost_R.h" #include "wrapper/xgboost_wrapper.h" #include "src/utils/utils.h" #include "src/utils/omp.h" #include "src/utils/matrix_csr.h" using namespace std; using namespace xgboost; using namespace xgboost::utils; ...
#include <vector> #include <string> #include <utility> #include <cstring> #include <cstdio> #include "xgboost_R.h" #include "wrapper/xgboost_wrapper.h" #include "src/utils/utils.h" #include "src/utils/omp.h" #include "src/utils/matrix_csr.h" using namespace std; using namespace xgboost; extern "C" { void XGBoostAsse...
R-package/src/xgboost_R.cpp
[ "#ifndef XGBOOST_UTILS_MATRIX_CSR_H_\n#define XGBOOST_UTILS_MATRIX_CSR_H_\n/*!\n * \\file matrix_csr.h\n * \\brief this file defines some easy to use STL based class for in memory sparse CSR matrix\n * \\author Tianqi Chen\n */\n#include <vector>\n#include <algorithm>\n#include \"./utils.h\"\n\nnamespace xgboost {\...
[ "src/utils/matrix_csr.h", "wrapper/xgboost_wrapper.h", "src/utils/utils.h", "src/utils/omp.h" ]
[]
[ "#ifndef XGBOOST_LEARNER_EVALUATION_INL_HPP_\n#define XGBOOST_LEARNER_EVALUATION_INL_HPP_\n/*!\n* \\file xgboost_evaluation-inl.hpp\n* \\brief evaluation metrics for regression and classification and rank\n* \\author Kailong Chen, Tianqi Chen\n*/\n#include <vector>\n#include <utility>\n#include <string>\n#include <...
[ "#ifndef XGBOOST_WRAPPER_R_H_\n#define XGBOOST_WRAPPER_R_H_\n/*!\n * \\file xgboost_wrapper_R.h\n * \\author Tianqi Chen\n * \\brief R wrapper of xgboost\n */\nextern \"C\" {\n#include <Rinternals.h>\n#include <R_ext/Random.h>\n}\n\nextern \"C\" {\n /*!\n * \\brief load a data matrix \n * \\param fname name of...
xgboost
https://github.com/dmlc/xgboost.git
27cabd131efa0af5ee782bd10c410c6b65cfa08f
add beginPtr, to make vector address taking safe
add beginPtr, to make vector address taking safe
#include <vector> #include <string> #include <utility> #include <cstring> #include <cstdio> #include "xgboost_R.h" #include "wrapper/xgboost_wrapper.h" #include "src/utils/utils.h" #include "src/utils/omp.h" #include "src/utils/matrix_csr.h" using namespace std; using namespace xgboost; extern "C" { void XGBoostAsse...
#include <vector> #include <string> #include <utility> #include <cstring> #include <cstdio> #include "xgboost_R.h" #include "wrapper/xgboost_wrapper.h" #include "src/utils/utils.h" #include "src/utils/omp.h" #include "src/utils/matrix_csr.h" using namespace std; using namespace xgboost; using namespace xgboost::utils; ...
R-package/src/xgboost_R.cpp
[ "#ifndef XGBOOST_UTILS_MATRIX_CSR_H_\n#define XGBOOST_UTILS_MATRIX_CSR_H_\n/*!\n * \\file matrix_csr.h\n * \\brief this file defines some easy to use STL based class for in memory sparse CSR matrix\n * \\author Tianqi Chen\n */\n#include <vector>\n#include <algorithm>\n#include \"./utils.h\"\n\nnamespace xgboost {\...
[ "src/utils/matrix_csr.h", "wrapper/xgboost_wrapper.h", "src/utils/utils.h", "src/utils/omp.h" ]
[]
[ "#ifndef XGBOOST_TREE_PARAM_H_\n#define XGBOOST_TREE_PARAM_H_\n/*!\n * \\file param.h\n * \\brief training parameters, statistics used to support tree construction\n * \\author Tianqi Chen\n */\n#include <cstring>\n#include \"../data.h\"\n\nnamespace xgboost {\nnamespace tree {\n\n/*! \\brief training parameters fo...
[ "#ifndef XGBOOST_WRAPPER_R_H_\n#define XGBOOST_WRAPPER_R_H_\n/*!\n * \\file xgboost_wrapper_R.h\n * \\author Tianqi Chen\n * \\brief R wrapper of xgboost\n */\nextern \"C\" {\n#include <Rinternals.h>\n#include <R_ext/Random.h>\n}\n\nextern \"C\" {\n /*!\n * \\brief load a data matrix \n * \\param fname name of...
xgboost
https://github.com/dmlc/xgboost.git
bb5c151f574c6e2a9281af5af5bfb44da7bd8825
move sprintf into std
move sprintf into std
#include <vector> #include <string> #include <utility> #include <cstring> #include <cstdio> #include "xgboost_R.h" #include "wrapper/xgboost_wrapper.h" #include "src/utils/utils.h" #include "src/utils/omp.h" #include "src/utils/matrix_csr.h" using namespace std; using namespace xgboost; extern "C" { void XGBoostAsse...
#include <vector> #include <string> #include <utility> #include <cstring> #include <cstdio> #include "xgboost_R.h" #include "wrapper/xgboost_wrapper.h" #include "src/utils/utils.h" #include "src/utils/omp.h" #include "src/utils/matrix_csr.h" using namespace std; using namespace xgboost; extern "C" { void XGBoostAsse...
R-package/src/xgboost_R.cpp
[ "#ifndef XGBOOST_UTILS_MATRIX_CSR_H_\n#define XGBOOST_UTILS_MATRIX_CSR_H_\n/*!\n * \\file matrix_csr.h\n * \\brief this file defines some easy to use STL based class for in memory sparse CSR matrix\n * \\author Tianqi Chen\n */\n#include <vector>\n#include <algorithm>\n#include \"./utils.h\"\n\nnamespace xgboost {\...
[ "src/utils/matrix_csr.h", "wrapper/xgboost_wrapper.h", "src/utils/utils.h", "src/utils/omp.h" ]
[]
[ "#ifndef XGBOOST_TREE_MODEL_H_\n#define XGBOOST_TREE_MODEL_H_\n/*!\n * \\file model.h\n * \\brief model structure for tree\n * \\author Tianqi Chen\n */\n#include <string>\n#include <cstring>\n#include <sstream>\n#include <limits>\n#include <algorithm>\n#include <vector>\n#include <cmath>\n#include \"../utils/io.h\...
[ "#ifndef XGBOOST_WRAPPER_R_H_\n#define XGBOOST_WRAPPER_R_H_\n/*!\n * \\file xgboost_wrapper_R.h\n * \\author Tianqi Chen\n * \\brief R wrapper of xgboost\n */\nextern \"C\" {\n#include <Rinternals.h>\n#include <R_ext/Random.h>\n}\n\nextern \"C\" {\n /*!\n * \\brief load a data matrix \n * \\param fname name of...
xgboost
https://github.com/dmlc/xgboost.git
29a7027dbab2f98665355643738262df1aa68758
fix the zero length vector
fix the zero length vector
#include <vector> #include <string> #include <utility> #include <cstring> #include <cstdio> #include "xgboost_R.h" #include "wrapper/xgboost_wrapper.h" #include "src/utils/utils.h" #include "src/utils/omp.h" #include "src/utils/matrix_csr.h" using namespace std; using namespace xgboost; extern "C" { void XGBoostAsse...
#include <vector> #include <string> #include <utility> #include <cstring> #include <cstdio> #include "xgboost_R.h" #include "wrapper/xgboost_wrapper.h" #include "src/utils/utils.h" #include "src/utils/omp.h" #include "src/utils/matrix_csr.h" using namespace std; using namespace xgboost; extern "C" { void XGBoostAsse...
R-package/src/xgboost_R.cpp
[ "#ifndef XGBOOST_UTILS_MATRIX_CSR_H_\n#define XGBOOST_UTILS_MATRIX_CSR_H_\n/*!\n * \\file matrix_csr.h\n * \\brief this file defines some easy to use STL based class for in memory sparse CSR matrix\n * \\author Tianqi Chen\n */\n#include <vector>\n#include <algorithm>\n#include \"./utils.h\"\n\nnamespace xgboost {\...
[ "src/utils/matrix_csr.h", "wrapper/xgboost_wrapper.h", "src/utils/utils.h", "src/utils/omp.h" ]
[]
[ "#define _CRT_SECURE_NO_WARNINGS\n#define _CRT_SECURE_NO_DEPRECATE\n#include <cstring>\nusing namespace std;\n#include \"./gbm.h\"\n#include \"./gbtree-inl.hpp\"\n#include \"./gblinear-inl.hpp\"\n\nnamespace xgboost {\nnamespace gbm {\nIGradBooster* CreateGradBooster(const char *name) {\n if (!strcmp(\"gbtree\", n...
[ "#ifndef XGBOOST_WRAPPER_R_H_\n#define XGBOOST_WRAPPER_R_H_\n/*!\n * \\file xgboost_wrapper_R.h\n * \\author Tianqi Chen\n * \\brief R wrapper of xgboost\n */\nextern \"C\" {\n#include <Rinternals.h>\n#include <R_ext/Random.h>\n}\n\nextern \"C\" {\n /*!\n * \\brief load a data matrix \n * \\param fname name of...
xgboost
https://github.com/dmlc/xgboost.git
42fb7b4d9d218d00ad74f6b7ad79875a837e874f
some fix to make it more c++
some fix to make it more c++
#include <vector> #include <string> #include <utility> #include <cstring> #include <cstdio> #include "xgboost_R.h" #include "wrapper/xgboost_wrapper.h" #include "src/utils/utils.h" #include "src/utils/omp.h" #include "src/utils/matrix_csr.h" using namespace xgboost; extern "C" { void XGBoostAssert_R(int exp, const c...
#include <vector> #include <string> #include <utility> #include <cstring> #include <cstdio> #include "xgboost_R.h" #include "wrapper/xgboost_wrapper.h" #include "src/utils/utils.h" #include "src/utils/omp.h" #include "src/utils/matrix_csr.h" using namespace std; using namespace xgboost; extern "C" { void XGBoostAsse...
R-package/src/xgboost_R.cpp
[ "#ifndef XGBOOST_UTILS_MATRIX_CSR_H_\n#define XGBOOST_UTILS_MATRIX_CSR_H_\n/*!\n * \\file matrix_csr.h\n * \\brief this file defines some easy to use STL based class for in memory sparse CSR matrix\n * \\author Tianqi Chen\n */\n#include <vector>\n#include <algorithm>\n#include \"./utils.h\"\n\nnamespace xgboost {\...
[ "src/utils/matrix_csr.h", "wrapper/xgboost_wrapper.h", "src/utils/utils.h", "src/utils/omp.h" ]
[]
[ "#ifndef XGBOOST_GBM_GBM_H_\n#define XGBOOST_GBM_GBM_H_\n/*!\n * \\file gbm.h\n * \\brief interface of gradient booster, that learns through gradient statistics\n * \\author Tianqi Chen\n */\n#include <vector>\n#include \"../data.h\"\n#include \"../utils/io.h\"\n#include \"../utils/fmap.h\"\n\nnamespace xgboost {\n...
[ "#ifndef XGBOOST_WRAPPER_R_H_\n#define XGBOOST_WRAPPER_R_H_\n/*!\n * \\file xgboost_wrapper_R.h\n * \\author Tianqi Chen\n * \\brief R wrapper of xgboost\n */\nextern \"C\" {\n#include <Rinternals.h>\n#include <R_ext/Random.h>\n}\n\nextern \"C\" {\n /*!\n * \\brief load a data matrix \n * \\param fname name of...
xgboost
https://github.com/dmlc/xgboost.git
b0130545a62ed023a3f8b1b2a59cf960a7b91fa3
Merge branch 'master' of https://github.com/tqchen/xgboost
Merge branch 'master' of https://github.com/tqchen/xgboost
#include <vector> #include <string> #include <utility> #include <cstring> #include "xgboost_R.h" #include "../../wrapper/xgboost_wrapper.h" #include "../../src/utils/utils.h" #include "../../src/utils/omp.h" #include "../../src/utils/matrix_csr.h" using namespace xgboost; // implements error handling namespace xgboost...
#include <vector> #include <string> #include <utility> #include <cstring> #include "xgboost_R.h" #include "wrapper/xgboost_wrapper.h" #include "src/utils/utils.h" #include "src/utils/omp.h" #include "src/utils/matrix_csr.h" using namespace xgboost; // implements error handling namespace xgboost { namespace utils { voi...
R-package/src/xgboost_R.cpp
[ "#ifndef XGBOOST_UTILS_OMP_H_\n#define XGBOOST_UTILS_OMP_H_\n/*!\n * \\file omp.h\n * \\brief header to handle OpenMP compatibility issues\n * \\author Tianqi Chen\n */\n#if defined(_OPENMP)\n#include <omp.h>\n#else\n#ifndef DISABLE_OPENMP\n#ifndef _MSC_VER\n#warning \"OpenMP is not available, compile to single thr...
[ "src/utils/omp.h", "wrapper/xgboost_wrapper.h", "src/utils/utils.h", "src/utils/matrix_csr.h" ]
[]
[ "#ifndef XGBOOST_IO_IO_H_\n#define XGBOOST_IO_IO_H_\n/*!\n * \\file io.h\n * \\brief handles input data format of xgboost\n * I/O module handles a specific DMatrix format\n * \\author Tianqi Chen\n */\n#include \"../data.h\"\n#include \"../learner/dmatrix.h\"\n\nnamespace xgboost {\n/*! \\brief namespace related...
[ "#ifndef XGBOOST_WRAPPER_R_H_\n#define XGBOOST_WRAPPER_R_H_\n/*!\n * \\file xgboost_wrapper_R.h\n * \\author Tianqi Chen\n * \\brief R wrapper of xgboost\n */\nextern \"C\" {\n#include <Rinternals.h>\n}\n\nextern \"C\" {\n /*!\n * \\brief load a data matrix \n * \\param fname name of the content\n * \\param ...
xgboost
https://github.com/dmlc/xgboost.git
3e92eb13d34cec1ebd9dd68eaa51556f5ba6c1bd
make it packable
make it packable
#include <vector> #include <string> #include <utility> #include <cstring> #include "xgboost_R.h" #include "../../wrapper/xgboost_wrapper.h" #include "../../src/utils/utils.h" #include "../../src/utils/omp.h" #include "../../src/utils/matrix_csr.h" using namespace xgboost; // implements error handling namespace xgboost...
#include <vector> #include <string> #include <utility> #include <cstring> #include "xgboost_R.h" #include "wrapper/xgboost_wrapper.h" #include "src/utils/utils.h" #include "src/utils/omp.h" #include "src/utils/matrix_csr.h" using namespace xgboost; // implements error handling namespace xgboost { namespace utils { voi...
R-package/src/xgboost_R.cpp
[ "#ifndef XGBOOST_UTILS_OMP_H_\n#define XGBOOST_UTILS_OMP_H_\n/*!\n * \\file omp.h\n * \\brief header to handle OpenMP compatibility issues\n * \\author Tianqi Chen\n */\n#if defined(_OPENMP)\n#include <omp.h>\n#else\n#ifndef DISABLE_OPENMP\n#ifndef _MSC_VER\n#warning \"OpenMP is not available, compile to single thr...
[ "src/utils/omp.h", "wrapper/xgboost_wrapper.h", "src/utils/utils.h", "src/utils/matrix_csr.h" ]
[]
[ "#ifndef XGBOOST_GBM_GBM_H_\n#define XGBOOST_GBM_GBM_H_\n/*!\n * \\file gbm.h\n * \\brief interface of gradient booster, that learns through gradient statistics\n * \\author Tianqi Chen\n */\n#include <vector>\n#include \"../data.h\"\n#include \"../utils/io.h\"\n#include \"../utils/fmap.h\"\n\nnamespace xgboost {\n...
[ "#ifndef XGBOOST_WRAPPER_R_H_\n#define XGBOOST_WRAPPER_R_H_\n/*!\n * \\file xgboost_wrapper_R.h\n * \\author Tianqi Chen\n * \\brief R wrapper of xgboost\n */\nextern \"C\" {\n#include <Rinternals.h>\n}\n\nextern \"C\" {\n /*!\n * \\brief load a data matrix \n * \\param fname name of the content\n * \\param ...
xgboost