Use the data flow editor to score a predictive model on any data set, or score a registered Oracle machine learning model on a data set in its corresponding database.
Use this information to understand the data flow editor and Apply Model step options:
The registered models are displayed and available for review and analyses. Unregistered models aren't displayed.
The available output columns are specific to the model type. For example, for numeric prediction, output columns include PredictedValue and PredictedConfidence, and for clustering, output columns include the clusterId.
The available parameters are specific to the model type. For example, if you use a clustering model for scoring, maximum null values is a parameter that you can provide for the scoring process. This parameter is used in the missing value imputation.
The model and the mapped input data types must match when you're working with an Oracle machine learning model. See View a Registered Model's Details.
- On the Home page, click Create, and then click Data Flow.
- Select the data set that you want to apply the model to. Click Add.
- In the Data Flow editor, click Add a step (+).
- From the Data Flow Steps pane, double-click Apply Model, and then select the model to use.
- In Apply Model, go to the Inputs section, and then select a column as the input.
- In Apply Model, go to the Outputs section, and then select the columns that you want created with the data set, and update the Column Name fields as needed.
- In the data flow editor, click Add a step (+) and select Save Data.
- Enter a name. In the Save data to field, specify the location for saving the output data. If you're working with an Oracle machine learning model, then the data set's connection information defaults to the input data set's connection.
- Set data preferences as needed in the Treat As and Default Aggregation fields.When you save data, the apply model appends the model's output columns that you selected to the data set.
- Click Save, enter a name and description for the data flow, and click OK to save the data flow.
- Click Run Data Flow to create the data set.