User Tools

Site Tools


cs401r_w2016:lab5

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
cs401r_w2016:lab5 [2018/01/25 22:57]
wingated
cs401r_w2016:lab5 [2021/06/30 23:42] (current)
Line 95: Line 95:
 <code python> <code python>
 import matplotlib.pyplot as plt import matplotlib.pyplot as plt
-plt.imshow( X.reshape(28,​28).T,​ interpolation='​nearest',​ cmap=matplotlib.cm.gray)+plt.imshow( X.reshape(28,​28).T,​ interpolation='​nearest',​ cmap="gray")
 </​code>​ </​code>​
  
cs401r_w2016/lab5.1516921039.txt.gz ยท Last modified: 2021/06/30 23:40 (external edit)