From f1dee6eb08df7d6e893ba2bf6eb3baebebae73a8 Mon Sep 17 00:00:00 2001 From: Peter Prettenhofer Date: Fri, 31 May 2013 09:31:23 +0200 Subject: [PATCH] fix: add missing str formatting operator --- .../plot_label_propagation_digits_active_learning.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/semi_supervised/plot_label_propagation_digits_active_learning.py b/examples/semi_supervised/plot_label_propagation_digits_active_learning.py index 01a2b127e44..ac2f58aa97d 100644 --- a/examples/semi_supervised/plot_label_propagation_digits_active_learning.py +++ b/examples/semi_supervised/plot_label_propagation_digits_active_learning.py @@ -56,7 +56,7 @@ for i in range(5): cm = confusion_matrix(true_labels, predicted_labels, labels=lp_model.classes_) - print('Iteration %i %s' (i, 70 * '_')) + print('Iteration %i %s' % (i, 70 * '_')) print("Label Spreading model: %d labeled & %d unlabeled (%d total)" % (n_labeled_points, n_total_samples - n_labeled_points, n_total_samples))