Skip to content

Commit

Permalink
Don't print non-final tree
Browse files Browse the repository at this point in the history
  • Loading branch information
msoos committed May 23, 2018
1 parent 7307016 commit dc2d617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/learn/mini_pred.py
Expand Up @@ -197,7 +197,7 @@ def one_classifier(df, features, to_predict, names, w_name, w_number, final):
if False:
calc_cross_val()

if options.dot is not None:
if options.dot is not None and final:
output_to_dot(clf, features, names[0])

return best_features
Expand Down

0 comments on commit dc2d617

Please sign in to comment.