tab eliminated

This commit is contained in:
kalenhaha 2014-02-19 13:25:01 +08:00
parent a20b1d1866
commit a0dddaf224
6 changed files with 468 additions and 470 deletions

View File

@ -18,8 +18,6 @@ booster_type=1
do_reboost=0 do_reboost=0
bst:num_roots=0
bst:num_feature=3 bst:num_feature=3
learning_rate=0.01 learning_rate=0.01

View File

@ -3,8 +3,8 @@
using namespace xgboost::regression; using namespace xgboost::regression;
int main(int argc, char *argv[]){ int main(int argc, char *argv[]){
// char* config_path = argv[1]; //char* config_path = argv[1];
// bool silent = ( atoi(argv[2]) == 1 ); //bool silent = ( atoi(argv[2]) == 1 );
char* config_path = "c:\\cygwin64\\home\\chen\\github\\xgboost\\demo\\regression\\reg.conf"; char* config_path = "c:\\cygwin64\\home\\chen\\github\\xgboost\\demo\\regression\\reg.conf";
bool silent = false; bool silent = false;
RegBoostTrain train; RegBoostTrain train;

View File

@ -2,14 +2,14 @@
#define _XGBOOST_REGDATA_H_ #define _XGBOOST_REGDATA_H_
/*! /*!
* \file xgboost_regdata.h * \file xgboost_regdata.h
* \brief input data structure for regression and binary classification task. * \brief input data structure for regression and binary classification task.
* Format: * Format:
* The data should contain each data instance in each line. * The data should contain each data instance in each line.
* The format of line data is as below: * The format of line data is as below:
* label <nonzero feature dimension> [feature index:feature value]+ * label <nonzero feature dimension> [feature index:feature value]+
* \author Kailong Chen: chenkl198812@gmail.com, Tianqi Chen: tianqi.tchen@gmail.com * \author Kailong Chen: chenkl198812@gmail.com, Tianqi Chen: tianqi.tchen@gmail.com
*/ */
#include <cstdio> #include <cstdio>
#include <vector> #include <vector>
#include "../booster/xgboost_data.h" #include "../booster/xgboost_data.h"