tab eliminated
This commit is contained in:
parent
a20b1d1866
commit
a0dddaf224
@ -18,8 +18,6 @@ booster_type=1
|
||||
|
||||
do_reboost=0
|
||||
|
||||
bst:num_roots=0
|
||||
|
||||
bst:num_feature=3
|
||||
|
||||
learning_rate=0.01
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user