Turn your Script into a Model
Saving & loading a Data Science Lab model
Last updated
Saving & loading a Data Science Lab model
Last updated
Check-out the walk-through on how to save and load a DSL Model.
Once the Notebook script is executed successfully, the users can save them as a model. The saved model can be loaded into the Notebook.
Navigate to a Notebook.
Write code using the following sequence:
Read DataFrame
Define test and train data
Create a model
Execute the script.
Get a new cell.
Give a model name to specify the model.
Execute the cell.
After the code gets executed, click the Save Model notebook in a new cell.
The saved model gets listed under the Models list.
Click on a new cell and select the model by using the given checkbox to load it.
The model gets loaded into a new cell.