fix: add missing str formatting operator

This commit is contained in:
Peter Prettenhofer 2013-05-31 09:31:23 +02:00
parent 7840620270
commit f1dee6eb08
1 changed files with 1 additions and 1 deletions

View File

@ -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))