add base code

This commit is contained in:
tqchen
2014-02-07 18:40:53 -08:00
parent 4e2d67b81a
commit 0d3ecd9033
3 changed files with 286 additions and 1 deletions

View File

@@ -9,5 +9,19 @@
#include <climits>
#include "xgboost.h"
#include "../utils/xgboost_utils.h"
#include "../gbm-base/xgboost_base_model.h"
namespace xgboost{
namespace booster{
/*!
* \brief create a gradient booster, given type of booster
* \param booster_type type of gradient booster, can be used to specify implements
* \return the pointer to the gradient booster created
*/
IBooster *CreateBooster( int booster_type ){
// TODO
return NULL;
}
};
};

View File

@@ -104,7 +104,7 @@ namespace xgboost{
* \param booster_type type of gradient booster, can be used to specify implements
* \return the pointer to the gradient booster created
*/
IBooster *create_booster( int booster_type );
IBooster *CreateBooster( int booster_type );
};
};
#endif