C3_W2_RecSysNN_Assignment error predict_uservec() got an unexpected

I received TypeError: predict_uservec() got an unexpected keyword argument ‘scaledata’

How can I fix this error?

Hi @HuyHuynh!

The error message indicates that the function predict_uservec does not accept the keyword argument scaledata. Is there a typo in this keyword argument? Maybe you should change scaledata to scaleData.

Feel free to reach out if you encounter any further issues. Happy learning!

I assume this is from Section 5.1 of the notebook.

I checked the default notebook, and it appears you may have modified the code in that cell in ways you should not have.

The code in that cell was provided for you , and you did not need to make any changes.