Bug in function plot_state_sequence_and_overlap

Bug in function plot_state_sequence_and_overlap

by Chiara Gastaldi -
Number of replies: 1

Dear all, 

concerning the Hopfield python exercise:

if the state of your network is anti-correlated to the checkerboard pattern and you use the function "plot_state_sequence_and_overlap", the overlap values are plotted correctly, however, the state is all completely blue. That's a bug, the overlap is correct but the state is not. 

So you can answer the question ignoring the state plot. 

Best,

the TAs

In reply to Chiara Gastaldi

Re: Bug in function plot_state_sequence_and_overlap

by Chiara Gastaldi -

Hello!

A few more comments on graded python exercise 2: exercise 8.6.

- 8.6.1 : L×P -> LxN

- if thresh.copy(...) doesn't work on your laptop, you can try np.copy(...). It depends on the python version you have installed.

- 8.6.1: you are asked to print both the shape of items and the shape of weights.

Bye!

the TAs