A word vector incremental learning method, device and electronic equipment
A technology of incremental learning and word vectors, applied in the field of machine learning, can solve problems such as re-learning word vectors, and achieve the effect of reducing cost and time consumption
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0077] In order to make the above objects, features and advantages of the present invention more comprehensible, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments.
[0078] Such as figure 1 As shown, according to the principle of word2vec, only one of the training methods is used here, that is, the negative sampling method is used to train word vectors, including the following steps:
[0079] 1. If the word vector table does not exist, then initialize the word vector table randomly, wherein each word wordi (i=1, 2, 3, ..., N) corresponds to a length N (N is a positive integer) dimensional array, as a vector (i.e. word vector).
[0080] 2. Obtain the training corpus prepared in advance, and each row represents a time series.
[0081] 3. Use the sliding window to collect the central word and its surrounding context context (that is, other words in the sliding window except the central word) to...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


