Skip to content
Snippets Groups Projects
Commit a36462a2 authored by aastorg2's avatar aastorg2
Browse files

changing how python sum function is called for compatabily purposes

parent c066d08a
No related branches found
No related tags found
No related merge requests found
......@@ -89,8 +89,7 @@ class DTreeLearner(LearnerBase):
@staticmethod
def _compose_s2f_functions(s2f_func_list):
def composed_func(sample):
return sum((list(f(sample)) for f in s2f_func_list),
start=[])
return sum((list(f(sample)) for f in s2f_func_list),[])
return composed_func
@staticmethod
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment