(I’ve taken Andrew Ng’s Machine Learning course a few months ago)
is that feedback for all exercises or in particular to exercise 1?
please click on my name and DM the codes..
Regards
DP
That was the feedback from the graded on exercise 1 (after i submitted the entire assignment). I did not check the feedback for other exercises (they were all 0 points)
send me the code screenshot by personal DM
Your codes in all missing the important instruction string object
although you mention prompt for exercise 1 but didn’t elaborate about how to write the essay topic.
Also remember the instruction just before grade function cell clearly mentions topic is a string object, compare how the model implements the str object to get response from llm in the same exercise.
similar mistakes have been done in exercise 2 and 3, but here you did add the prompt instructions, but remember all the 3 exercise prompt instruction needs to be written using f-string.
In the subsequent exercise 2 and 3 where it mentions draft(exercise 2) and original draft and reflection which is the feedback needs to string object, something like
For example
prompt =f”"" Write a detail essay topic regarding how i spent my holiday in the year end 2025.
The draft need to have a proper introduction, description and summary.
topic:
{topic}
"""
I also read your exercise 2 and 3 prompt instruction, I would suggest you to improvise them using the Requirements pointers given just before the exercise.
Do these corrections, you should be able to pass the assignment. In all 3 exercises the major points you are missing is you need to include input and output for exercise 1;, and for exercise 2 and 3 input, output and requirements instructions mentioned under exercise headers.
Good Luck! let me know if you need any further help.
Regards
DP
Thanks for looking into this!
I have a related question on the C1M2 graded lab.
Although my submission passed the unit tests, it received a score of 0/30 in the evaluation. While I understand that my prompt may not be fully polished, it seems unlikely that a correct implementation would fail all evaluation test cases. Could you please help clarify this discrepancy?
please create a new topic for your query. Post screenshot of the grader feedback in your created topic. You can always tag mentors or share the post links that you think, are similar to your query or issue.
As this is your first post comment, a gentle reminder to not post any grade function codes as posting any codes that grades your assignment is considered Violation of Code of Conduct.
Once you have created your topic, I will close this thread to avoid mixing creator topic with other learner’s issues.
Learner’s issue has been shifted to his new created topic
Closing this thread.
Regards
DP
