Task 3: Uploading a PMML file and connecting a predictive model
You upload a PMML file to create a machine learning model deployment and connect a
predictive model to the machine learning model.
- From Task 2, you should be in the loan risk score predictive model.
- Click Configure in the right panel to connect the predictive model to the provider you defined in Task 2.
- Click Select provider and deployment and choose the wml-short provider.
- Click Upload and add the Standard scaler PMML file.
- Click Upload again. A new machine learning model deployment is created and selected. You are redirected to the next step to define the input schema.
- Review the input schema: it is already complete, just browse through it.
- Click Next to run a test invocation. Then, click
Run to validate the model. You get an output similar
to:
{ "fields": [ "probability_0", "probability_1", "predicted_paymentDefault" ], "values": [ [ 0.17825993285555802, 0.821740067144442, 1 ] ] }Values may vary due to precision differences.
- Click Next to define the output schema. Select Generate from test output. Then, click OK.
- Click Apply to connect the predictive model.