Running a Machine Learning model
You modify a decision service to use a Machine Learning model in Rule Designer. Then, you publish the
decision service to Decision Center
and deploy it to Rule Execution Server for
testing.
About this task
The Miniloan decision service checks the eligibility of potential borrowers. By adding the Mortgage Approval Prediction Model predictive model, the decision service determines the probability of granting a loan to a person based on their profile.
In this task, you update the rules in the decision service to use the Machine Learning model. Then, you publish the decision service to Decision Center, where you can find the model in the artifacts of the decision service. Finally, you deploy the decision service to Rule Execution Server, where you run the decision service and check its output.
Procedure
To run the Machine Learning model in the Miniloan sample:
Results
You can experiment with the decision service in Rule Execution Server by using the following
data:
| Case | Input | Output |
|---|---|---|
| Without the Machine Learning model Note: In the HTDS
endpoint for the decision service, change
<approved>true<approved> to
<approved>false<approved> in the default input. |
|
|
| With the Machine Learning model Note: In the HTDS endpoint for the decision service, change
<approved>false<approved> to <approved>true<approved>
in the default input to get the extra loan messages in the output. |
|
|

