v4

latestSwagger 2.0raw.githubusercontent.com2019-06-176695189.2 KB
Predictions

Creates or updates the model status of prediction.

post/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CustomerInsights/hubs/{hubName}/predictions/{predictionName}/modelStatus

Path parameters

resourceGroupNamestring required

The name of the resource group.

hubNamestring required

The name of the hub.

predictionNamestring required

The name of the Prediction.

subscriptionIdstring required

Gets subscription credentials which uniquely identify Microsoft Azure subscription. The subscription ID forms part of the URI for every service call.

Query parameters

api-versionstring required

Client Api Version.

Request body

tenantIdstring

The hub name.

predictionNamestring

The prediction name.

predictionGuidIdstring

The prediction GUID ID.

status'New' | 'Provisioning' | 'ProvisioningFailed' | 'PendingDiscovering' | 'Discovering' | 'PendingFeaturing' | 'Featuring' | 'FeaturingFailed' | 'PendingTraining' | 'Training' | 'TrainingFailed' | 'Evaluating' | 'EvaluatingFailed' | 'PendingModelConfirmation' | 'Active' | 'Deleted' | 'HumanIntervention' | 'Failed' required

Prediction model life cycle. When prediction is in PendingModelConfirmation status, it is allowed to update the status to PendingFeaturing or Active through API.

messagestring

The model status message.

trainingSetCountinteger

Count of the training set.

testSetCountinteger

Count of the test set.

validationSetCountinteger

Count of the validation set.

trainingAccuracyinteger

The training accuracy.

signalsUsedinteger

The signals used.

modelVersionstring

Version of the model.

Response

OK. Successfully created or updated the prediction model status.