Method and device for optimizing training set for text classification and storage medium
AssigneeBeijing Xiaomi Intelligent Technology Co., Ltd.
InventorsHongxu JI, Qun GUO, Xiao LU, Erli MENG
Life of this patent
Estimating the term…
Loading patent…
AssigneeBeijing Xiaomi Intelligent Technology Co., Ltd.
InventorsHongxu JI, Qun GUO, Xiao LU, Erli MENG
Estimating the term…
A method for optimizing a training set for text classification includes: the training set for text classification is acquired; part of samples are selected from the training set as a first initial training subset, and an incorrectly tagged sample in the first initial training subset is corrected to obtain a second initial training subset; a text classification model is trained according to the second initial training subset; the samples in the training set are predicted by the trained text classification model to obtain a prediction result; an incorrectly tagged sample set is generated according to the prediction result; a key incorrectly tagged sample is selected from the incorrectly tagged sample set, and a tag of the key incorrectly tagged sample is corrected to generate a correctly tagged sample corresponding to the key incorrectly tagged sample; and the training set is updated by using the correctly tagged sample.
A method for optimizing a training set for text classification, comprising:
A device for optimizing a training set for text classification, comprising:
A non-transitory computer-readable storage medium having stored thereon instructions, which is executed by a processor of a server to enable the server to execute the following operations:
Dependencies are inferred from the claim text.