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.
  1. From Task 2, you should be in the loan risk score predictive model.
  2. Click Configure in the right panel to connect the predictive model to the provider you defined in Task 2.
  3. Click Select provider and deployment and choose the wml-short provider.
  4. Click Upload and add the Standard scaler PMML file.
  5. 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.
  6. Review the input schema: it is already complete, just browse through it.
  7. 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.

  8. Click Next to define the output schema. Select Generate from test output. Then, click OK.
  9. Click Apply to connect the predictive model.