Text classification algorithm based on bidirectional dynamic routing with label constraint
A text classification and labeling technology, applied in text database clustering/classification, text database query, unstructured text data retrieval, etc., can solve problems such as unreasonable distribution of capsule networks, and achieve the effect of solving unreasonable distribution
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0071] The present invention will be further described below in conjunction with the accompanying drawings.
[0072] Such as figure 1 A text classification algorithm based on two-way dynamic routing with label constraints is shown, including the following steps:
[0073] Step S1, Embedding Layer: Encode the given text, each word vector and label vector are randomly initialized to initialize the distribution; specifically,
[0074] Given a sequence of words X = {w 1 ,w 2 …w M}, where M represents the number of words in the text, w i Represents the word at the i-th position in the text; using the word embedding method: embedding each word in the sequence into a high-dimensional vector space, as follows:
[0075] E. X ={e 1 , e 2 ...e M}
[0076] where word embedding matrix where V is the size of the dictionary and D w is the dimension of the word vector.
[0077] Step S2, BiLSTM Layer: In the word vector, each word is independent of other words in the sentence. For...
PUM

Abstract
Description
Claims
Application Information

- Generate Ideas
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com