Skip to content

Commit 91ad990

Browse files
committed
small change
1 parent 5ce6b0d commit 91ad990

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/ex2_soft_margin_svm.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ def plot_image_matrix(images, titles, h, w, n_row=3, n_col=4) -> None:
2424
plt.figure(figsize=(1.8 * n_col, 2.4 * n_row))
2525
plt.subplots_adjust(bottom=0, left=0.01, right=0.99, top=0.90, hspace=0.35)
2626
indices = np.arange(n_row * n_col)
27-
np.random.shuffle(indices)
2827
for i in range(n_row * n_col):
2928
plt.subplot(n_row, n_col, i + 1)
3029
plt.imshow(images[indices[i]].reshape((h, w)), cmap=plt.cm.gray)

0 commit comments

Comments
 (0)