I am trying to learn DL with an example.However, running the following code (attached in image) results in an error :

Undefined function 'categories' for input arguments of type 'double'.

I understand that categories in the original example is string based labels. But mine is int values. Not sure why it isn't working. Kindly help

More Huma Chaudhry's questions See All
Similar questions and discussions