remove dependency on bst

This commit is contained in:
tqchen
2014-08-26 18:06:22 -07:00
parent 46f14b8c27
commit 3c1ed847fb
7 changed files with 25 additions and 20 deletions

View File

@@ -6,13 +6,13 @@ objective = binary:logistic
# Tree Booster Parameters
# step size shrinkage
bst:eta = 1.0
eta = 1.0
# minimum loss reduction required to make a further partition
bst:gamma = 1.0
gamma = 1.0
# minimum sum of instance weight(hessian) needed in a child
bst:min_child_weight = 1
min_child_weight = 1
# maximum depth of a tree
bst:max_depth = 3
max_depth = 3
# Task Parameters
# the number of round to do boosting

View File

@@ -42,8 +42,8 @@ param = {}
param['objective'] = 'binary:logitraw'
# scale weight of positive examples
param['scale_pos_weight'] = sum_wneg/sum_wpos
param['bst:eta'] = 0.1
param['bst:max_depth'] = 6
param['eta'] = 0.1
param['max_depth'] = 6
param['eval_metric'] = 'auc'
param['silent'] = 1
param['nthread'] = 16

View File

@@ -25,8 +25,8 @@ param = {}
# use softmax multi-class classification
param['objective'] = 'multi:softmax'
# scale weight of positive examples
param['bst:eta'] = 0.1
param['bst:max_depth'] = 6
param['eta'] = 0.1
param['max_depth'] = 6
param['silent'] = 1
param['nthread'] = 4
param['num_class'] = 6

View File

@@ -5,13 +5,13 @@ objective="rank:pairwise"
# Tree Booster Parameters
# step size shrinkage
bst:eta = 0.1
eta = 0.1
# minimum loss reduction required to make a further partition
bst:gamma = 1.0
gamma = 1.0
# minimum sum of instance weight(hessian) needed in a child
bst:min_child_weight = 0.1
min_child_weight = 0.1
# maximum depth of a tree
bst:max_depth = 6
max_depth = 6
# Task parameters
# the number of round to do boosting

View File

@@ -7,13 +7,13 @@ objective = reg:linear
# Tree Booster Parameters
# step size shrinkage
bst:eta = 1.0
eta = 1.0
# minimum loss reduction required to make a further partition
bst:gamma = 1.0
gamma = 1.0
# minimum sum of instance weight(hessian) needed in a child
bst:min_child_weight = 1
min_child_weight = 1
# maximum depth of a tree
bst:max_depth = 3
max_depth = 3
# Task parameters
# the number of round to do boosting