Merge pull request #258 from yzliao/master
remove print in Python function get_fscore()
This commit is contained in:
commit
1d5b4e19a5
@ -517,7 +517,6 @@ class Booster(object):
|
|||||||
trees = self.get_dump(fmap)
|
trees = self.get_dump(fmap)
|
||||||
fmap = {}
|
fmap = {}
|
||||||
for tree in trees:
|
for tree in trees:
|
||||||
sys.stdout.write(str(tree) + '\n')
|
|
||||||
for l in tree.split('\n'):
|
for l in tree.split('\n'):
|
||||||
arr = l.split('[')
|
arr = l.split('[')
|
||||||
if len(arr) == 1:
|
if len(arr) == 1:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user