Returns the status of a training job. Use the progress field to determine how far the training has progressed. When training completes successfully, the status
is SUCCEEDED
and the progress
is 1
.
Response Body
Name | Type | Description | Available Version |
---|---|---|---|
| string | Algorithm used to create the model. Returned only when the | 2.0 |
| date | Date and time that the model was created. | 2.0 |
| long | ID of the dataset trained to create the model. | 2.0 |
| int | N/A | 2.0 |
| boolean | Specifies whether the training process stopped before completing all the epochs. The training process stops before the specified number of epochs when the model has reached the optimal accuracy. The | 2.0 |
| int | Number of epochs used during training. | 2.0 |
| string | Reason the dataset training failed. Returned only if the training status is | 2.0 |
| int | Last training iteration performed. | 2.0 |
| string | Model language inherited from the dataset language. | 2.0 |
| float | N/A for intent and sentiment models. | 2.0 |
| string | ID of the model. Contains letters and numbers. | 2.0 |
| string | Type of data from which the model was created. Valid values are:
| 2.0 |
| string | Name of the model. | 2.0 |
| string | Object returned; in this case, | 2.0 |
| float | How far the training job has progressed. Values are between 0–1. | 2.0 |
| int | Where the training job is in the queue. This field appears in the response only if the status is | 2.0 |
| string | Status of the training job. Valid values are:
| 2.0 |
| string | Training parameters passed into the request. | 2.0 |
| object | Statistics about the training. | 2.0 |
| string | Date and time that the model was last updated. | 2.0 |
trainStats Response Body
Name | Type | Description | Available Version |
---|---|---|---|
| string | Time it took to load the dataset to be trained. | 2.0 |
| boolean | Specifies whether the training process stopped before completing all the epochs. The training process stops before the specified number of epochs when the model has reached the optimal accuracy. The | 2.0 |
| int | Total number of examples in the dataset from which the model was created. | 2.0 |
| string | Time it took to load global resources. Returned only when | 2.0 |
| int | Total number of labels in the dataset from which the model was created. | 2.0 |
| int | Number of the last training iteration that completed. | 2.0 |
| string | Time it took to save the model. | 2.0 |
| int | Number of examples (from the dataset total number of examples) used to test the model. | 2.0 |
| string | Total training time: | 2.0 |
| string | Time it took to train the dataset to create the model. | 2.0 |
| int | Number of examples (from the dataset total number of examples) used to train the model. | 2.0 |