Exercise 17: Bag of words advanced

Hi,

I have followed the discussions before regarding the statement … = np.empty(N, N…….)

Have tried the different variants but cannot get it to work.

When executing the code in my local machine a ususally get ther result (4, 4). Occasionally I get different result with same code!

When running the code in the browser i always get result (2,3) whatever code I try with.

Anyone that have an idea where to investigate?

Regards Kari Talltjärn