Skip to content
Snippets Groups Projects
Commit dc776827 authored by Caroline DE POURTALES's avatar Caroline DE POURTALES
Browse files

change fi with fname

parent a87a0087
Branches
No related tags found
1 merge request!3Decision tree done
......@@ -174,7 +174,7 @@ class DecisionTree():
for line in lines[1:]:
feat, val, real = line.split()
self.fvmap[tuple([feat, int(val)])] = '{0}{1}'.format(feat, real)
self.fvmap[tuple([feat, int(val)])] = '{0}{1}'.format(self.feature_names[feat], real)
#if feat not in self.feids:
# self.feids[feat] = len(self.feids)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment