Merge pull request #258 from yzliao/master

remove print in Python function get_fscore()
This commit is contained in:
Tianqi Chen
2015-04-24 08:49:47 -07:00

View File

@@ -517,7 +517,6 @@ class Booster(object):
trees = self.get_dump(fmap)
fmap = {}
for tree in trees:
sys.stdout.write(str(tree) + '\n')
for l in tree.split('\n'):
arr = l.split('[')
if len(arr) == 1: