8000 Fixing flake8 issue. · scikit-learn/scikit-learn@fcd597a · GitHub
[go: up one dir, main page]

Skip to content

Commit fcd597a

Browse files
committed
Fixing flake8 issue.
1 parent b26e943 commit fcd597a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

sklearn/tree/tree.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,8 @@ def predict(self, X, check_input=True):
437437

438438
else:
439439
class_type = self.classes_[0].dtype
440-
predictions = np.zeros((n_samples, self.n_outputs_), dtype=class_type)
440+
predictions = np.zeros((n_samples, self.n_outputs_),
441+
dtype=class_type)
441442
for k in range(self.n_outputs_):
442443
predictions[:, k] = self.classes_[k].take(
443444
np.argmax(proba[:, k], axis=1),

0 commit comments

Comments
 (0)
0