Adding a Scoring Model
Scenario
RTDService supports score calculation models using the Predictive Model Markup Language (PMML). Service managers import a scoring model file (in PMML) trained offline to the RTD platform for real-time message data calculation and processing by a scoring model. The results can be used as model variables by stored procedure rules.
Procedure
- Log in to the RTD web UI as a service user and select a tenant. For details, see Accessing the RTDService Web UI.
- Choose Variable and Rule Configuration > Model Variables > PMML Model.
- Click Add and set the required parameters by referring to the following table.
Table 1 PMML model parameters Parameter
Description
Event Source Type
Event source type of the scoring model
Name
Model name
Description
Model description
PMML File Path
Path that storing the PMML file. Click upload to add a PMML model file.
Model Constraint Verification
(Optional) Whether to forcibly verify the model constraint configuration. By default, this function is enabled.
Model Input-Parameter Dependency
(Optional) Third-party platform on which a model depends. The default value is None. You can select Feature Variable Platform.
Click Check to check the validity of the PMML model file. You can view the PMML model score, including Model Summary, Model Parameter Information, and Model Check Information.
If the file fails the check, modify the file as prompted and check again.
- Click OK.
You can select the added model on the PMML Model page and choose More > Online or Offline to bring the model online or take it offline.
Before creating a model, you need to bring the event source of the model online.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot