Html Error or actual code issue on cell 10?

2.4 Cost function for logistic regression

Is there an actual test here? The formatting has embedded html and my entire lab fails because of this cell (all of the rest of the code has passed in the other cells). So, UNQ_C2 Graded Function passes, but the preceding cell throws a syntax error and I fail the lab.

Thanks for any help,

Kit.

Sounds like you may have mangled the markup in that cell, so it’s rendering as HTML instead of markup.

There is an “Undo” button in the editor, or you may have to save your notebook as a new file name, and get a fresh copy (by using the Help menu).

ty for the quick response. It’s pretty frustrating, everything else has passed and this is an issue with the tool vs assignment.

The help section refreshed the kernel. However, it didn’t refresh the cells. Undo, etc didn’t help. Although changing the cell to markdownI’m trying to figure out how to get a fresh copy of the lab book now

The Help menu on the upper-right side of the notebook should give you an option to “Get latest version”.

Thanks for the quick response! When I tried that it would update the notebook but didn’t overwrite the cells. Maybe I missed a step?

I finally just merged the cells and they passed the tests.

Hi @Kit_Sharma!

This is the complete guide on how to get a clean copy of your assignment. In the future, you might need it.