[CLI] initial refactor of CLI

This commit is contained in:
tqchen
2016-01-05 20:43:13 -08:00
parent 0d95e863c9
commit cee148ed64
5 changed files with 357 additions and 340 deletions

View File

@@ -36,6 +36,13 @@ typedef void *BoosterHandle;
*/
XGB_DLL const char *XGBGetLastError();
/*!
* \brief Entry point of CLI program.
* \param argc The number of arguments.
* \param argv The command line arguments.
*/
XGB_DLL int XGBoostCLIMain(int argc, char* argv[])
/*!
* \brief load a data matrix
* \param fname the name of the file