Python Forum
NameError: name 'predicted_labels' is not defined
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
NameError: name 'predicted_labels' is not defined
#2
check the full code in the github repo
https://github.com/aryan109/medium/blob/...tion.ipynb

The link is in the article. It looks like not all cells were included in the article, e.g. at least the second to last cells is missing in the article and there predicted_labels is defined
hobbyist likes this post
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply


Messages In This Thread
RE: NameError: name 'predicted_labels' is not defined - by buran - Dec-07-2023, 06:11 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  NameError: name 'rand' is not defined Truman 7 6,977 Jun-17-2020, 07:14 PM
Last Post: Truman
  NameError mlab not defined PythonAndArduino 5 7,126 Nov-08-2017, 06:47 PM
Last Post: nilamo
  Python : NameError: name 'total_wait' is not defined carla 3 5,356 Jun-04-2017, 05:49 PM
Last Post: metulburr

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020