Skip to main content
Version: 8.2

IMLServiceProxy class

Level: advanced
note

The functionality is relevant to Classic UI.

Implements the IMLServiceProxy interface.

It is the proxy to the prediction service.

A wrapper class for http requests to a prediction service.

Methods

IMLServiceProxy.UploadData()

Sends a data package for the training session.

IMLServiceProxy.BeginTraining()

Calls the service for setting up training in the queue.

IMLServiceProxy.GetTrainingSessionInfo()

Requests the current state from the service for the training session.

IMLServiceProxy.Classify(Guid modelInstanceUId, Dictionary<string, object> data)

Calls the prediction service of the field value for a single set of field values for the previously trained model instance. In the Dictionary data parameter, the field name is passed as the key, which must match the name specified in the MetaData field of the model lookup. If the result is successful, the method returns a list of values ​​with the ClassificationResult type.

ClassificationResult properties

Value

Field value.

Probability

The probability of a given value in the [0:1] range. The sum of the probabilities for one list of results is close to 1 (values ​​of about 0 can be omitted).

Significance

The level of importance of this prediction.

Significance enumeration

High

This field value has a distinct advantage over other values ​​from the list. Only one element in the prediction list can have this level.

Medium

The value of the field is close to several other high values ​​in the list. For example, two values ​​in the list have a probability of 0.41 and 0.39, and all the others are significantly smaller.

None

Irrelevant values ​​with low probabilities.