update regression
This commit is contained in:
@@ -1,17 +1,27 @@
|
||||
# General Parameters
|
||||
booster_type = 0
|
||||
loss_type = 2
|
||||
# General Parameters, see comment for each definition
|
||||
# choose the tree booster, 0: tree, 1: linear
|
||||
booster_type = 0
|
||||
# choose logistic regression loss function for binary classification
|
||||
loss_type = 2
|
||||
|
||||
# Tree Booster Parameters
|
||||
bst:tree_maker=2
|
||||
bst:eta=1.0
|
||||
bst:gamma=1.0
|
||||
bst:min_child_weight=1
|
||||
bst:max_depth=3
|
||||
# step size shrinkage
|
||||
bst:eta = 1.0
|
||||
# minimum loss reduction required to make a further partition
|
||||
bst:gamma = 1.0
|
||||
# minimum sum of instance weight(hessian) needed in a child
|
||||
bst:min_child_weight = 1
|
||||
# maximum depth of a tree
|
||||
bst:max_depth = 3
|
||||
|
||||
# Binary Classification Parameters
|
||||
num_round=2
|
||||
save_period=0
|
||||
data = "agaricus.txt.train"
|
||||
eval[test] = "agaricus.txt.test"
|
||||
test:data = "agaricus.txt.test"
|
||||
# Task Parameters
|
||||
# the number of round to do boosting
|
||||
num_round = 2
|
||||
# 0 means do not save any model except the final round model
|
||||
save_period = 0
|
||||
# The path of training data
|
||||
data = "agaricus.txt.train"
|
||||
# The path of validation data, used to monitor training process, here [test] sets name of the validation set
|
||||
eval[test] = "agaricus.txt.test"
|
||||
# The path of test data
|
||||
test:data = "agaricus.txt.test"
|
||||
|
||||
Reference in New Issue
Block a user