IMLEntityPredictor class
The IMLEntityPredictor utility class helps to predict the field value based on one or more specified models for the object.
Methods
PredictEntityValueAndSaveResult(
Guid modelId,
Guid entityId
)
Perform predictions and record the results in the resulting object field. Work with any machine learning task: classification, scoring, numeric field prediction.
Parameters
modelId | The unique ID of the ML model to use for prediction. Specifies which trained model to apply. |
entityId | The unique ID of the object record for which the prediction is performed. Defines the object instance where the prediction result is saved. |
ClassifyEntityValues(
List<Guid> modelIds,
Guid entityId
)
Perform classification and return the glossary whose key is the model object, and the values are the predicted values.
Parameters
modelId | The unique ID of the ML model to use for prediction. Specifies which trained model to apply. |
entityId | The unique ID of the object record for which the prediction is performed. Defines the object instance where the prediction result is saved. |