For result on Visualize Training Statistics:
1st time :
We encountered the following warnings when grading this part:
Grader timed out while grading your submission. Please try submitting an optimized solution. If you think your solution is correct, please visit the Discussion forum to see if your peers are experiencing similar errors. If the issue isn’t resolved in 24 hours, please reach out to Coursera through our Help Center.
2nd time and 3rd time:
There was a problem grading your submission. Check stderr for more details.
For result on Compare Training and Evaluation Statistics:
1st and 2nd time:
Failed rhs_name correctly set.
Expected:
True,
but got:
False.
Failed lhs_name correctly set.
Expected:
True,
but got:
False.
3rd time:
There was a problem grading your submission. Check stderr for more details.
I got all answers correct matching the reference given with no errors when running cell by cell till the end of the notebook but yet still couldn’t get full marks. Submitted the same codes for 3 times and each round it returned somewhat different grader output remarks… Any advise on this?
Hi SLin! Can you double check if you used the name provided in the hint for rhs_statistics in that exercise (i.e. TRAIN_DATASET)? That happened to me before but I found out that I had a typo in that section. If it’s correct and you’re still getting errors, please check your inbox. We may need a copy of your notebook to see if there is an issue with the grader. Thanks!
Hi Chris, Thanks for your reply. I used the suggested name as lhs_name='EVAL_DATASET', rhs_name='TRAIN_DATASET' but still can’t get through with it at the grader stage. Have replied you with a link to my notebook. Thanks!
For reference to other learners who may run into the same issue: There is nothing wrong with the solutions. The issue is with the notebook metadata (it was missing). Problem is resolved with these steps:
Rename your current notebook from within the Coursera jupyter workspace. Any filename will do (e.g. C2W1_Assignment_1.ipynb ).
This should grab you a fresh copy of the notebook named C2W1_Assignment.ipynb . Please copy your solutions into this new notebook and click Submit Assignment again. Hopefully, you’ll get the correct grade then.
Thanks chris for solving problem.
I got raise score from 53 to 63.
That method is helped to “Ex7. Check anomalies in the serving set”, but still under-scored.
I think my solution of Ex1 need to mofify.
train_stats = tfdv.generate_statistics_from_dataframe (train_df, stats_options=tfdv.StatsOptions (), n_jobs=1)
Glad to hear that! If it helps, you can also use the ungraded labs before the assignments as reference for most of the commands you’ll be running. If you get stuck and you cant find any similar threads, you can post a new topic with the details so mentors can assist. Thank you!
I retry a few times. There is no change at 63 points.
-. my solution of Ex1 :
train_stats = tfdv.generate_statistics_from_dataframe (train_df, stats_options=tfdv.StatsOptions (), n_jobs=1)
Number of features used: 50
Number of examples used: 71236
First feature: encounter_id
Last feature: readmitted
Expected Output:
Number of features used: 48
Number of examples used: 71236
First feature: race
Last feature: readmitted
If my solution of Ex1 is wrong to be considered 2).
2) When solving the first problem, it seems that the metadata was saved in a twisted state. Can’t it be set to a completely initial state of education?
Hi @jschoi , it could be due to the stats_options=tfdv.StatsOptions () isn’t right. You can either just pass in the stats_options that has already been defined earlier or just add feature_whitelist=approved_cols as parameter into tfdv.StatsOptions ()
Hi Mahendra! Welcome to Discourse! Glad you found the post useful. By any chance, did you delete or add any cell (even outside the graded exercise cells) in your old notebook when you were getting the grader error? We’re trying to troubleshoot this bug and this info will definitely help. Thank you!
Hi Mattias! Welcome to Discourse! Glad you found the post useful. By any chance, did you delete or add any cell (even outside the graded exercise cells) in your old notebook when you were getting the grader error? We’re trying to troubleshoot this bug and this info will definitely help. Thank you!
Hi I have noted all the steps and copy all the existing solutions to the C2W1_Assignment.ipynb.` However, still grader output showed an error. Can you assist in this?