+ 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()
2 odpowiedzi
+ 1
Okay I'm coming