C1_W3_Logistic_Regression jypiter notebook restart

Hello. By mistaken I was deleted the piece of code from original assignment. Currently, I do not know how to restore the original code the way that if i would open notebook for the firt time. Does anyone know how i can update/refresh/ troubleshoot?

Hello @elnaramammadzada

Here you go.

H​ow to Refresh your Workspace:

O​ption 1 - Using Lab Help

  1. O​pen the assignment.
  2. After the assignment opens up, c​lick "File" (top left) and then "Open…"
  3. W​hen your workspace opens, select the check box before your assignment file. After it is selected, press "Shutdown".
  4. U​sing the same procedure mentioned above, "Rename" your file. For instance you can change it from assignment_name.ipynb to assignment_name_v2.ipynb. By doing this you’ll be able to save your current progress on the assignment after the latest assignment file is fetched.
  5. Using the same procedure, "Delete" any other file, if any, that you want to get a fresh copy of.
  6. After renaming your file, click on the "Help" button on the top right of the page. From the panel that opens, click "Get latest version" button, and then "Update lab".
  7. A​fter the page reloads go to File → Open… , as described in (2)
  8. Now you’ll see two notebook files. The one you renamed (as done in step 4) will have your previous progress, and the latest version. (Depending on how many previous versions you have kept saved, you could have more than two assignment files in the worksapce)

O​ption 2 - via URL


It helped. Thank you a lot for this help.

1 Like

Thanks… However, even after doing these steps , I am unable to see the X_train dataset array , before loading dataset. I have lost values of x_train array, where can I find it.