Hello,

I passed the test on excercise 6 but the values don’t match.

dj_db: 0.28

First few elements of regularized dj_dw:

[16.237444240683217, 12.047326628088538, 1026.397204362715, 696.2311299647832]

All tests passed!

versus expected **Expected Output**:

**dj_db:**0.07138288792343

**First few elements of regularized dj_dw:**

[[-0.010386028450548], [0.011409852883280], [0.0536273463274], [0.003140278267313]]

I got the following in the learning parameters: Iteration 0: Cost nan Iteration 1000: Cost nan Iteration 2000: Cost nan Iteration 3000: Cost nan Iteration 4000: Cost nan Iteration 5000: Cost nan Iteration 6000: Cost nan Iteration 7000: Cost nan Iteration 8000: Cost nan Iteration 9000: Cost nan Iteration 9999: Cost nan

The plot shows:

Train Accuracy: 60.000000

**Expected Output**:

**Train Accuracy:**~ 80%