Math for Machine Learning FAQ

TOPIC 1a HOW TO GET A FRESH OR LATEST VERSION OF A NOTEBOOK

These steps are tried and tested :smile:

  1. Click file, then select open. You will find all the files related to the assignment. Here if you have saved a copy of your notebook with renaming other than what was mentioned. Then go ahead and delete the assignment notebook by selecting the particular notebook.

  2. Once deleted, you will find 404 not found image on your browser. Then close the browser.

  3. Open the assignment page again, when you open you will find 404 not found.

  4. At this time, click :question: on the right hand top corner Before Grades, where you will find Reboot. Click reboot.

  5. Then click the same :question:on the right hand top corner, then click Get latest version and then Update lab.

I just now tried and got a fresh copy, just to see if this would work, and it does work.

Sometime closing the browser helps you to get the fresh copy before you click Get Latest version and Update lab.

Hope it Helps!!!

Regards
DP

Topic 1b: Short version of “getting a new copy of a notebook”

  • Open the notebook.
  • From the File menu, “Rename” the notebook. You can use this for reference later.
  • If the notebook uses a file for unit tests (such as “w?_unittest.py”), you should use the File → Open → Delete process to delete the existing .py. When you select a file’s checkbox, a red “trash can” icon will appear. Click on it to delete the selected file.
  • From the Help menu, use “Get latest version”. This will give you the latest version of any missing files (i.e. any files you have renamed or deleted).
  • From the File menu, open the notebook file that was just installed. It will have the original notebook file name.
  • Go to the Kernel menu, and use “Restart and clear output”.

Now you can begin working on the assignment.
Note: You cannot submit a renamed notebook for grading.

TOPIC 2: Do not use the “#grade up to here” tag
Any incomplete code after that tag will cause extremely confusing error messages from the grader, regarding functions being 'NoneType", etc.

TOPIC 3: Tips for C3 W1 assignment: prob_of_f _given_C() function
There are a lot of “None” statements to replace in this function. Here are a few guidelines:

  • The match inside the for-loop is over the feature names.
  • References to params_dict[…] use the the breed and feature name, and a text string for the appropriate dictionary value (such as “mu”, “sigma”, “n”, “p”, “a”, or “b”).
  • References to a probability function use a feature val and the correct parameters for that probability (found within the same case statement).
  • The final multiplication uses the probability_f value that was computed in each case.
4 Likes
C2_W3_Assignment submission error old version
C3_W1_Assignment is not grading
C1_W2 LAB Submit error
Fresh copy of C3_W4_Assignment
C3_W1_Assignment exercise 6 unexpected output
C2_W1 Assignment problem w/ Exercise 4
Guys . What is the answer of Q6!week 1
C3_W1 got zero for naive Bayes
HELP NEEDED! C1W3 Assginemnt exercise 4
An error in w1_unittest.test
Exercise 4 - C1_W3_Assignment
C2_W1_Assigment Exercise 2
Optimizing Functions of One Variable Cost Minimization
C1_W3_Assignment_The_Loop_Exercise_4
C3_W1_Assignment: Exercise 6: Compute the Probability of X given the Breed
Issue with week 3 assignment: Single Perceptron Neural Networks for Linear Regression
Programming Assignment Week 3 : Single Perceptron
Welcome to Natural Language Processing with Sequence Models
Frozen Cell Issue Affected Grading
C1W2 Error in grading(0/100) even after passing all the tests (Indent Error)
C3W4_Assignment exercise 3
Lost Information for C1W3_Assignment Exercise 5
C1W2_Assignment Exercise 1
C1W2 Assignment - Details: B must be a column vector
How to refresh the lab
C1W2_Assignment Exercise 1
No grades for C3 W1 assignment
Exercise 4 - C1_W3_Assignment
C2_W1_Assignment 'name 'prices_A' is not defined'
Grading Issue in Submitting
Help me to refine the assignment
Lab Not updating Error
Programming Assignment: A/B Testing
C3W4_Programming Assignment: A/B Testing
Problem with Exercise 1 in Programming Assignment C1W2 - Gaussian Elimination
C1W2 Programming assignment exercise 2
C1W2 Programming assignment exercise 2
Ml specialization the last assignment for week 3
Ml specialization the last assignment for week 3
Cannot Access Jupyter Graded Assignment
Having trouble with grading
C3W1_Assignment-Excersize2
Error in lab "name 'g' is not defined
I got Error
Get 0/100 in lab even I get all test passed
All codes were deleted! help me
Prognosis C2 W1 #UNIQ_C4 help needed]
Help me solve this issue: "There was a problem compiling the code from your notebook, please check that you saved before submitting. Details: name 'series_valid' is not defined"