Machine Learning with Python Projects - Linear Regression Health Costs Calculator

Tell us what’s happening:
InvalidArgumentError: assertion failed: [Labels must be <= n_classes - 1] [Condition x <= y did not hold element-wise:] [x (head/losses/Cast:0) = ] [[0.28][0.28][1.69]…] [y (head/losses/check_label_range/Const:0) = ] [1] what does this error mean?

Your code so far

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/107.0.0.0 Safari/537.36

Challenge: Machine Learning with Python Projects - Linear Regression Health Costs Calculator

Link to the challenge:

i cant copy paste my code due to this
An error occurred: Sorry you cannot post a link to that host.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.