This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
cs401r_w2016:lab2 [2018/01/22 20:13] sadler |
cs401r_w2016:lab2 [2018/01/22 20:13] sadler |
||
---|---|---|---|
Line 52: | Line 52: | ||
<code python> | <code python> | ||
- | prior = numpy.ones(( len(concepts), 1 )) | + | prior = numpy.ones(len(concepts)) |
prior[0] = 5 | prior[0] = 5 | ||
prior[1] = 5 | prior[1] = 5 |