Big Data Model Training
Download OpenAPI specification:Download
Paginated query for model list
Authorizations:
Sign
query Parameters
name | string Example: name=model-1 Query models by name (fuzzy search) |
trainable | integer Example: trainable=1 Whether the model is trainable (0 - not trainable, 1 - trainable) |
pageNo | string Example: pageNo=1 Page number |
pageSize | string Example: pageSize=20 Number of items per page |
Responses
Response samples
- 200
- 400
Content type
application/json
{- "list": [
- {
- "id": "uuiduuiduuid",
- "name": "model-1",
- "description": "Linear regression training model",
- "code": "Xsdfsfd24dfsadfsaf",
- "inParams": "[{\"name\":\"a\",\"dataType\":\"Integer\",\"description\":\"a\"},{\"name\":\"y\",\"dataType\":\"String\",\"description\":\"y\"}]",
- "outParams": "[{\"name\":\"pre\",\"dataType\":\"Double\",\"description\":\"a\"}]",
- "trainable": 0,
- "createdTime": 15612344562000,
- "updateTime": 15612344562000
}
], - "pagination": {
- "total": 100,
- "pageSize": 20,
- "current": 1
}
}
Response samples
- 200
- 400
Content type
application/json
{- "list": [
- {
- "id": "uuiduuiduuid",
- "description": "Upgrade model accuracy to 99%",
- "modelCode": "Xsdfsfd24dfsadfsaf",
- "version": "v1.0",
- "createdTime": 15612344562000
}
]
}
Model Training
Authorizations:
Sign
path Parameters
modelCode required | string Example: Xsdfsfd24dfsadfsaf Model code |
Request Body schema: multipart/form-data
file required | string <binary> Training data file, supports Excel 2007 and CSV (comma-separated) |
source | string Training source |
sourceId | string Training source ID |
sourceName | string Training source name |
Responses
Response samples
- 201
- 400
Content type
application/json
{- "id": "uuiduuiduuid"
}