C2_W1_Assignment - Grading time out problem

Hi all, I’m facing an issue when trying to submit my the assignment. First it takes ages to run the cells and when I try to submit it I get a time out error.

And this is the error I get when trying to run the test.

I have the code in my GB but not sure if I can post it here due to Code of Honor.
In a previous post, someone was having similar output from the tests, but I don’t think is the same case as I haven’t touched anything outside delimited code areas.

Thanks for your help.

I run the notebook in my local computer and still getting the same errors. It took plus 5 minutes to complete grading the work, or anything related with f_of_omega function.

That’s the notebook code in case anyone wants to have a look.

Thanks

Hi @jonrico I wonder if you can help this learner with his issue, I see you are a mentor for this specialization. :slight_smile:

Hi @Jay_M_Gonzalez

For your f_of_omega function, simply implement this equation for f as in the instruction
Screen Shot 2023-06-06 at 3.26.57 PM

Remember that when you multiply an array with a scalar, it will give an array as a result as well. So that you do not need to run an iteration to calculate f.

Let me know if you still encounter another problem.

1 Like

Thanks both for help, it’s working now :slight_smile:

2 Likes