15 lines
428 B
C++
15 lines
428 B
C++
#include"xgboost_reg_train.h"
|
|
#include"xgboost_reg_test.h"
|
|
using namespace xgboost::regression;
|
|
|
|
int main(int argc, char *argv[]){
|
|
// char* config_path = argv[1];
|
|
// bool silent = ( atoi(argv[2]) == 1 );
|
|
char* config_path = "c:\\cygwin64\\home\\chen\\github\\xgboost\\demo\\regression\\reg.conf";
|
|
bool silent = false;
|
|
RegBoostTrain train;
|
|
train.train(config_path,false);
|
|
|
|
RegBoostTest test;
|
|
test.test(config_path,false);
|
|
} |