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
bst:num_roots=0
bst:num_feature=3
learning_rate=0.01

View File

@ -3,8 +3,8 @@
using namespace xgboost::regression;
int main(int argc, char *argv[]){
// char* config_path = argv[1];
// bool silent = ( atoi(argv[2]) == 1 );
//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;

View File

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