4.3.1 Classification Training Service
This topic describes about the payload details for document classification model training service.
Input Payload
| Name | in | Type | Required | Remarks | 
|---|---|---|---|---|
| trainCorpusPath | formData | string | true | Training Corpus path | 
| modelType | formData | File | true | Type of model being trained | 
| runRef | formData | string | true | Unique running reference number | 
- name: " trainCorpusPath"
                        in: "formData" type: string required: true 
- name: " modelType"
                        in: "formData" type: string value for document classification training: "docClassification" required: true 
- name: " runRef "
                        in: "formData" type: string required: true 
Output Payload
  {
   "data": {
    "timeTaken": 0,
    "corpusSize": 0,
    "precision": 0,
    "recall": 0,
    "f1score": 0,
    "model_fold_performances”: null,
    "tag_perfomances": null
  }
 }Output Payload Data Model Definition
ModelTrainParamsDTO:
type: object
properties:
data:
type: object
properties:
timeTaken:
type: number
corpusSize:
type: number
precision:
type: number
recall:
type: number
f1score:
type: number
model_fold_performances:
type: array
items:
$ref: "#/definitions/ModelFoldPerfromancesDTO"
tag_perfomances:
type: array
items:
$ref: "#/definitions/MltbTagPerfomancesDTO"Parent topic: 3P Service Integration