+ 1

Please my colleague can tell me how to use this code in my system?

fig, axes = plt.subplots(2, 3, figsize=(5, 4)) for i, ax in enumerate(axes.ravel()): coef = mlp.coefs_[0][:, i] ax.matshow(coef.reshape(28, 28), cmap=plt.cm.gray) ax.set_xticks(()) ax.set_yticks(()) ax.set_title(i + 1) plt.show()

10th Sep 2021, 2:37 AM
Jamilu Abubakar Sadiq
Jamilu Abubakar Sadiq - avatar
2 odpowiedzi
+ 1
Okay I'm coming
10th Sep 2021, 8:58 AM
Jamilu Abubakar Sadiq
Jamilu Abubakar Sadiq - avatar