Trouble in train_val_split function

i still receive the following error code from grader after i have refreshed the notebook and resubmitted

Please give me some guidance
Berry

Hello @berrysweet ,

Try the following :
Refresh your Lab by following the instructions here- click here

If this doesn’t help,
Send me your notebook via dm such that I can check where it went wrong. By clicking on the profile picture, you will see an option to message. There you can attach your notebook. Then we can discuss the issues here, under the topic you created.

With regards,
Nilosree Sengupta

Hello @berrysweet ,

I am checking your notebook.
I see in many functions you haven’t replaced the “None” with correct parameters and values.

That’s why you are getting NoneType errors.
Like this :
Screenshot 2023-05-15 at 12.43.10 AM

Screenshot 2023-05-15 at 12.46.02 AM

You need to code between the block :

### START CODE HERE
....
....
### END CODE HERE

You need to replace the “None” under every graded functions with appropriate parameters/values/variables/etc.
Sometimes you may also need to write code of your own within the start code...end code block.

With regards,
Nilosree Sengupta