Deploy a Spark model from Flow Editor
When you work with a Spark machine learning flow in the Flow Editor interface, you can deploy the model directly by right-clicking a node and selecting the Deploy option. Once you've saved the model from the Flow Editor, it appears in your list of models in the Watson Studio project view and can be deployed from there as well.
Note: The deploy context-menu item is present for all nodes except source and model build nodes. A machine learning flow can only be deployed if it contains a trained model and will error if no model object is present.
Flow Editor deployment steps
When you use the Flow Editor to create a machine learning flow, you must first save the machine learning flow as a model before you can deploy it.
- First, save the machine learning flow.
- Right-click the model nugget node.
- Click Save as a model.
- In the Model Name box type a name.
- Click Save.
- Then, deploy this model.
- Return to the project.
- From the Assets tab, in the Models section, click the model
- Click Add Deployment.
- In the Deployment Type box, select Online.
- In the Name box, type a name.
- Click Deploy.
For more information about continuous learning and model evaluation, see Continuous learning and model evaluation