demo
This commit is contained in:
parent
615074efb6
commit
2fcd875675
@ -1,4 +1,4 @@
|
|||||||
|
#! /usr/bin/python
|
||||||
import sys
|
import sys
|
||||||
import numpy as np
|
import numpy as np
|
||||||
sys.path.append('../../python/')
|
sys.path.append('../../python/')
|
||||||
@ -29,7 +29,6 @@ param['objective'] = 'multi:softmax'
|
|||||||
# scale weight of positive examples
|
# scale weight of positive examples
|
||||||
param['bst:eta'] = 0.1
|
param['bst:eta'] = 0.1
|
||||||
param['bst:max_depth'] = 6
|
param['bst:max_depth'] = 6
|
||||||
param['eval_metric'] = 'auc'
|
|
||||||
param['silent'] = 1
|
param['silent'] = 1
|
||||||
param['nthread'] = 4
|
param['nthread'] = 4
|
||||||
param['num_class'] = 5
|
param['num_class'] = 5
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user