Syntax Error: Expected an operand but found class

I'm trying to follow the neural network video tutorials, but for some reason my Matrix class stopped working. It was working until I started on the feedforward part of the tutorial. I had an error on it's browser so I tried to exit out of it then reopen, but now I get "Synteax Error: Expected an operand but found class" when I click run. I switched out my Matrix class code with the one in the github but it still won't work. The link to the github code is below. I'm using p5.js

https://github.com/CodingTrain/Rainbow-Code/blob/master/Courses/intelligence_learning/session4/toy-neural-network-js/lib/matrix.js

Answers

Sign In or Register to comment.