Vote Help me in Week1 C3 assignment of Specialization Mathematics for ML and DS by

My output is the same with the expected output but grader is gradin me zero with error message in the picture. This is the same problem with all the task below too

Hello ,

please check the grader output where it shows why you failed the grader output. In case you are not able to understand, share the screenshot of that grader output, for others to help you out.


Here is the output below,


Although I am not mentor for this course. you can personal DM your notebook to check what is wrong. click on my name, and message your notebook. Also you are check the wrong exercise cell. the grader output say the problem is with your inverse_cdf_gaussian and you are looking before this exercise.

Here is it sir

I am sorry pls, I was carried away by my problem

Hello Yusuf,

Kindly remove the notebook from this post. Please do not share notebook in public post as it is against community guidelines, send it via personal DM. Click on my name, click on message and then send your notebook.


Thanks sir

does Utils get imported in the notebook you are working?

When I am running your notebook import utils gives me this error

ModuleNotFoundError Traceback (most recent call last)

in <cell line: 10>() 8 from sklearn.metrics import accuracy_score 9 —> 10 import utils

ModuleNotFoundError: No module named ‘utils’

--------------------------------------------------------------------------- NOTE: If your import is failing due to a missing package, you can manually install dependencies using either !pip or !apt. To view examples of installing some common dependencies, click the “Open Examples” button below.

Yes, it is on the last line of the first code cell

Hello Yusuf,

you need to see if the library are imported properly, it was not importing. I used pip install to run the cell, now your inverse pdf is working but your Gaussian generator doesn’t work and states utils is not defined. So either it means your files didn’t import utils file properly.



Did you save and rename your file before starting to work on the notebook??

Hello Yusuf,

your inverse pdf gaussian code is incorrect.
you need to do that correction, use this link to do the correction.

I also noticed you have copied a cell twice, so I would honestly suggest you to redo your notebook, do not use this copy of notebook for submission.

also make sure your required library files are imported properly before going ahead to the next cell



Please how do I get a new notebook

There will be reading instructions before the assignment sections to follow. This section will have all the instructions to how save a file copy, download.

or check this link

I hope you got the correct code for inverse cdf gaussian code. Feel free to ask if still having trouble. As I can see you assignment section is more related to utils library, make sure to go back to course video and then do the assignment.


Thank you for your time and effort on getting me back to the right track. I wiil update you on my progress.

1 Like