Promoting SPSS Modeler flows and models
You can promote SPSS Modeler flows and models to a deployment space if you have the watsonx.ai Runtime service.
After you build a model, you need to publish it or the flow that it is in so that others can access the model. In a deployment space, you can prepare your flows and models for use in pre-production or production environments to generate predictions and insights. Users, developers, or systems can access the model in the deployment space and use it to analyze data or make predictions.
Deploying models and flows has these benefits.
- Real-time Insights
- Deployed models can provide real-time predictions or insights. Real-time data enables faster decision-making and more efficient operations.
- Scalability
- Deployed models can scale to handle increasing amounts of data and demand so that they maintain their performance as your business grows.
- Integration
- Deployed models can be integrated with other systems and applications. For example, you can use API end points to enable integration.
- Security
- Deployed models can be secured by using access controls, encryption, and other best practices. Security measures ensure that sensitive data remains protected.
- Maintainability
- Deployed models can be updated and maintained. You can update models as needed so that they remain accurate and relevant over time.
Models in deployment spaces
Models can be saved as either a scoring branch or as predictive model markup language (PMML). PMML is an XML format for describing data mining and statistical models. It includes inputs to the models, transformations that are used to prepare data for data mining, and the parameters that define the models themselves. If you save models as PMML, it is possible to share models with other applications that support this format. For more information about PMML, see the Data Mining Group website.
Models can be deployed in either online or batch deployments. For more information about deployments, see Creating online deployments and Creating batch deployments.
Flows in deployment spaces
After you promote the flow to the deployment space, you do not need to pick how to deploy the flow. Flows are automatically deployed in platform jobs.
For flows in a deployment space, you can decide which terminal nodes to run in the flow each time that you create a job from the flow. You can use this flexibility to run the whole flow or only a few nodes from it. For more information about creating batch jobs for flows in deployment spaces, see Creating jobs in deployment spaces for SPSS Modeler flows.
Data assets and connections in deployment spaces
You might want to use different data sources in a deployment space instead of the data sources that you used to train models in a project. You must create these data sources by importing data assets and connections into the deployment space or promoting them.
For flows, the data sources are automatically mapped based on the names in the flow when it is promoted to a deployment space. If you want to use different data sources with the flow in the deployment space, update the flow to have the names of the data sources in the deployment space before promoting the flow.
Promoting SPSS Modeler models and flows to a deployment space
You can promote any model or flow to a deployment space if it is saved as a project asset.
- If you want to promote a model, you need to save it to the project before you can promote it:
- In your SPSS Modeler flow, click the Save Model icon on the toolbar.
- In Branch terminal node, select the node that you want to make into a model.
- Enter a name and click Save to save the model to as a project asset.
- Promote the flow or model:
- Click the Assets tab and find the model or flow. Click the overflow menu
and select Promote to space.
- In Target space, select the deployment space. Click Promote.
- Click the Assets tab and find the model or flow. Click the overflow menu
- If the flow or model needs any data assets or connections to run in the deployment space, promote them from the Assets tab as well.
In the deployment space, you can then create deployments and jobs to generate predictions for new data. For more information, see Deploying AI assets.
For a list of which data sources are supported for models in a deployment space, refer to the SPSS section under Batch deployment input details for SPSS Modeler models.
Importing SPSS Modeler models and flows into a deployment space
If you want to deploy several models and flows to a deployment space, you can export the project that they are in and then import the project in the deployment space. For more information about exporting and importing projects, see Exporting project assets and Importing space and project assets into deployment spaces.