Open laksheenmendis opened 4 years ago
When I completed this exercise the other day, I used 10 examples. For example,
xs = 1.0 up to and including 10.0 ys = 1.0 up to and including 5.5. For example, 1.0, 1.5, and so on.
The predication should be close to 4.0 but not exactly 4.0. Finally, I learned through trial and error to do the following to create a good feeback loop:
Run all cells
Check the results
Save the Notebook
%%javascript
<!-- Save the notebook -->
IPython.notebook.save_checkpoint();
Submit the Notebook
In another window, refresh the submission page.
e.g. You want to refresh this page
When I run the code in Jupyter Notebook, I'm getting a prediction of 4.008... But when submitted it shows the below error in grader's output..
Can't compile the student's code. invalid syntax (student_solution.py, line 22)
I'm clueless.. Can you please look into it..