Tell us what’s happening:
I am getting " InvalidArgumentError: assertion failed: [Labels must be <= n_classes - 1] [Condition x <= y did not hold element-wise:] [x (head/losses/Cast:0) = ] [[12644.5898][9715.84][3906.13]…] [y (head/losses/check_label_range/Const:0) = ] [1]" error while trying to training the model. Could you check my code?
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/88.0.4324.104 Safari/537.36 OPR/74.0.3911.75
.
Challenge: Linear Regression Health Costs Calculator
Link to the challenge: