Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to save data as Model?
#1
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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)