Forums

Full Version: How to save data as Model?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
from Notebook.DSNotebook.NotebookExecutor import NotebookExecutor
nb = NotebookExecutor()
saved_model = nb.save_model(model = 'model', modelName = 'cluster_model.pkl', modelType = 'ml')


Using this code we can save the data as model. Here ‘modelName’ represents the name with which we are saving.
But in order to use it as model we have to register it.

In order to register it as Model
                   Go to the option called Models which is available in Right side panel of DS lab.
                   There go to 3dots which is right next to our model name. There we have to select register option.