Patent ID: 11907668
Assignee: BEIJING BAIDU NETCOM SCIENCE TECHNOLOGY CO., LTD.
Field: Computer technology (Electrical engineering)
Classification: CPC G | IPC G

Claim 8:
9. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor, the instructions are executed by the at least one processor to cause the at least one processor to implement a method for selecting an annotated sample, comprising:
determining a first attribute and a second attribute of a sample characteristic; wherein the first attribute is a characteristic attribute of the sample characteristic in a source field sample set, and the second attribute is a characteristic attribute of the sample characteristic in a target field sample set; and
determining a target annotated sample from a plurality of candidate annotated samples of the source field sample set according to the first attribute and the second attribute; wherein the target annotated sample is configured to train a classification model, the classification model comprises a model for determining an emotion polarity by analyzing an input sample to be classified;
wherein determining the first attribute comprises:
determining a first frequency value of the sample characteristic in the source field sample set;
determining an importance level and an emotion polarity of the sample characteristic in the source field sample set using the first frequency value; and
determining the importance level and the emotion polarity of the sample characteristic in the source field sample set as the first attribute.