Exercise 1 requires regularization in first test

Hello Nathan @evoalg, @saadoun123,

The team has made a change that will automatically apply to all new learners. For existing learners, however, they will only see the change if they manually get a new copy of the notebook.

The change is basically to reorder the testing cells so that

  • the tests for without-regularization will come first,
  • followed by the tests for with-regularization,
  • and lastly the public tests for with-regularization.

Here is how we can do to proceed:

  1. Since the change is only about reordering the cells, you may choose not to update the lab, but run the cells in the right order. I am sharing a screenshot of the right order here:

  2. If you want to update the lab, you may follow these steps which will ask you to rename your current notebook so that the system can give you a new one. Then you may copy your work from your current notebook back to the new one.

  3. Lastly, these changes DO NOT change the requirement that you need to add regularization to the cofi_cost_func after passing the without-regularization tests, in order to pass the rest of the tests.

Cheers,
Raymond

P.S. I am making this post the solution so that others can quickly jump to here.

1 Like