Train an Intelligence Model
post
/rest/v19/intelligenceSetup/models/{modelId}/actions/train
Use this endpoint start an intelligence model training session.
Request
Supported Media Types
- application/json
Path Parameters
Back to Top
Response
Supported Media Types
- application/json
200 Response
Success
Root Schema : IntelligenceTraining
Type:
Show Source
object
-
analyticsInfo:
string()
Title:
Training Information
Read Only:true
Information about the training. -
createdBy:
Created By
Title:
Created By
Read Only:true
The details of the user who created the record. -
dateAdded:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Date Added
Read Only:true
Creation Date of the Training. -
dateModified:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Date Modified
Read Only:true
Last Modified date of the Training. -
duration:
integer()
Title:
Duration
Read Only:true
Training duration. -
id:
integer()
Title:
ID
Read Only:true
ID of the Intelligence Training. -
lastDeployed:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Last Deployed
Read Only:true
Date of the training's last deployment. -
lastModifiedBy:
Last Modified By
Title:
Last Modified By
Read Only:true
The details of the user who modified the record. -
learningTimeElapsed:
string()
Title:
Learning Time
Read Only:true
Learning time elapsed. -
links:
array Links
Title:
Links
Read Only:true
The link relations associated with the resource instance. -
message:
string()
Title:
Message
Read Only:true
Training message. -
status:
string()
Title:
Status
Read Only:true
Allowed Values:[ "Started", "Completed", "Failed" ]
Training status. -
testErrorRate:
number()
Title:
Test Error Rate
Read Only:true
Test error rate. -
totalRecords:
integer()
Title:
Total Records
Read Only:true
Total number of records used for training. -
trainingErrorRate:
number()
Title:
Training Error Rate
Read Only:true
Training error rate.
Nested Schema : Created By
Title:
Created By
Read Only:
true
The details of the user who created the record.
Match All
The details of the user who created the record.
Show Source
Nested Schema : Last Modified By
Title:
Last Modified By
Read Only:
true
The details of the user who modified the record.
Match All
The details of the user who modified the record.
Show Source
Nested Schema : Links
Type:
array
Title:
Links
Read Only:
true
The link relations associated with the resource instance.
Show Source
Nested Schema : UserDetails
Type:
Show Source
object
-
emailId:
string()
Title:
Email Id
Email Id of the user -
firstName:
string()
Title:
First Name
First Name of the user -
lastName:
string()
Title:
Last Name
Last Name of the user
Examples
The following example shows how to start an intelligence model training session by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl - X POST -H "Authorization: Bearer <token>" - H "Content-type: application/json" https://sitename.oracle.com/rest/v19/intelligenceSetup/models/321456/actions/train
Request Body Sample
[{ "id": 321456, "startDate": "2024-08-09T07:00:00Z", "status": "In Progress" } ]