Skip to content
Snippets Groups Projects
Commit 4012c1b9 authored by Baptiste Bauvin's avatar Baptiste Bauvin
Browse files

removed print

parent 58c55652
No related branches found
No related tags found
No related merge requests found
......@@ -211,7 +211,6 @@ class TreeClassifiersGenerator(ClassifiersGenerator):
estimators_ = []
self.attribute_indices = [self.sub_sample_attributes(X) for _ in range(self.n_trees)]
self.example_indices = [self.sub_sample_examples(X) for _ in range(self.n_trees)]
print(self.example_indices)
for i in range(self.n_trees):
estimators_.append(DecisionTreeClassifier(criterion=self.criterion, splitter=self.splitter, max_depth=self.max_depth).fit(X[:, self.attribute_indices[i]][self.example_indices[i], :], y[self.example_indices[i]]))
self.estimators_ = np.asarray(estimators_)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment