Skip to content

Commit

Permalink
fixing bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
AiramL committed Jun 26, 2020
1 parent 1e5ea39 commit bab4d93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dfedForest.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def createTree(self,depth):

def createRandomTree(self,depth):
self.newRandomTree = RandomForestClassifier(n_estimators=1,max_depth=depth)
self.newRandomTree = self.newTree.fit(self.data, self.label)
self.newRandomTree = self.newRandomTree.fit(self.data, self.label)

# Show all tree on the list
def getTrees(self):
Expand Down

0 comments on commit bab4d93

Please sign in to comment.