All you need to do is call lr_sklearn.fit(…), and pass it the correct data.
It’s one line of code.
The data set was already created in the previous cell.
I mean what I remember was that I was writing the code and trying to find the right sequence of numbers to get the expected output. I didn’t see any of the earlier cells of the data set.
From the File menu, use “Rename” to change the name of your current notebook.
From the Help menu, use “Get latest version”. this will put a copy of the notebook into your file folder, with the original file name.
In the File → Open menu, double-click on the notebook with the original name.
This will open a fresh copy of the notebook in your browser for editing.
Every time you open a notebook, you have to run all of the cells starting from the top. That’s where the assets are imported and the environment is created.
For example, lr_sklearn() is created when you run this cell: