Training method, device, equipment and medium for cross-domain text sentiment classification model
A sentiment classification and cross-domain technology, applied in the field of natural language processing, can solve the problems of inaccurate sentiment classification of cross-domain text sentiment classification models, and the inability to provide cross-domain text sentiment classification models, etc., to achieve the effect of improving the accuracy of sentiment classification
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] figure 1 The implementation process of the training method of the cross-domain text sentiment classification model provided by the first embodiment of the present invention is shown. For the convenience of explanation, only the parts related to the embodiment of the present invention are shown, and the details are as follows:
[0040] In step S101, the pre-built cross-domain text sentiment classification model is initially trained according to the preset source domain sample set and the preset target domain sample set.
[0041] The embodiments of the present invention are applicable to text or natural language processing platforms, systems or devices, such as personal computers, servers, and the like. The pre-built cross-domain text sentiment classification model is first trained according to the preset source domain sample set and the preset target domain sample set, wherein the source domain sample set contains labeled samples and unlabeled samples, and the target dom...
Embodiment 2
[0068] figure 2 The structure of the training device for the cross-domain text sentiment classification model provided by Embodiment 2 of the present invention is shown. For the convenience of description, only the parts related to the embodiment of the present invention are shown, including:
[0069] The model initial training unit 21 is used to perform initial training on the pre-built cross-domain text sentiment classification model according to the preset source domain sample set and the preset target domain sample set;
[0070] The emotion classification unit 22 is used to perform emotion classification on the target field sample set according to the trained cross-domain text emotion classification model, and obtain the emotion prediction label corresponding to each target sample in the target field sample set and each target sample belonging to each preset The membership degree of an emotional category;
[0071] The fuzzy value calculation unit 23 is used to calculate ...
Embodiment 3
[0080] Figure 4 The structure of the computing device provided by the third embodiment of the present invention is shown, and for the convenience of description, only the parts related to the embodiment of the present invention are shown.
[0081] The computing device 4 of the embodiment of the present invention includes a processor 40 , a memory 41 and a computer program 42 stored in the memory 41 and operable on the processor 40 . When the processor 40 executes the computer program 42, it realizes the steps in the embodiment of the training method of the above-mentioned cross-domain text sentiment classification model, for example figure 1 Steps S101 to S105 are shown. Alternatively, when the processor 40 executes the computer program 42, the functions of the units in the above-mentioned device embodiments are realized, for example figure 2 Function of units 21 to 25 shown.
[0082] In the embodiment of the present invention, after the initial training of the cross-doma...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com