Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
minor bug fix
  • Loading branch information
koki0702 committed Jun 16, 2014
commit 20cb4ef8b77d8f4f5e5af2cb9fe3838b09e428c4
2 changes: 2 additions & 0 deletions ch02/stump.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@


best_acc = -1.0
best_fi = -1.0
best_t = -1.0
for fi in range(features.shape[1]):
thresh = features[:, fi].copy()
thresh.sort()
Expand Down