Hope it is OK to resume discussion here - am fumbling getting to 0 bugs, I’m afraid as I do not understand the error messages relative to the problem at hand.
UNC 2:
23 assert np.allclose(pred.transpose(), Y), "Model must give a perfect accuracy"
google says: Raises an AssertionError if two objects are not equal up to desired tolerance.
So, computed tol in pred is likely the problem?
Not sure what to do about it, and am guessing on problem.
Now running into the ‘funny’ error from cell 22 again, although all compiles clean for me and I am using any_word for avg.
Interesting, that in the mix up of cell numbering that happens all of the time, I now need to differentiate between 12 and 22, as 12 is now numbered ‘22’, and so is the 22 correctly in sequence.