User data analysis method based on data mining
Through the calculation of the neural network model and the core content correlation index, the appropriate damping coefficient is determined, which solves the problem of data analysis inaccuracy caused by improper damping coefficient in the PageRank algorithm, and improves the accuracy of data analysis and user interest assessment.
Patent Information
- Application Number
- CN202410823807.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-06-25
AI Technical Summary
If the damping coefficient in the PageRank algorithm is too large or too small, it will affect the accuracy of the data analysis results. It is difficult to effectively solve this problem with existing technology.
Through the user data analysis method based on data mining, combined with the neural network model, the semantic vector, part-of-speech characteristics, TF-IDF score and topic content coherence index of the web page are obtained, the user's core content correlation index is calculated, and then the appropriate damping coefficient is determined, combined with PageRank algorithm performs data analysis.
It improves the accuracy of user data analysis results, avoids the uncertainty caused by too large or too small damping coefficients, and provides more accurate web page ranking and user interest assessment.
Smart Images

Figure CN118378053B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data processing, and in particular to a user data analysis method based on data mining. Background Art
[0002] In the digital age, companies have accumulated a large amount of customer data, including transaction records, online behaviors, social media interactions, etc. Data mining and data analysis are an indispensable part of modern business decision-making. They help companies extract valuable information from massive data to support more accurate market positioning and decision-making. By analyzing users' web page data and extracting customer behavior characteristics, more relevant and interesting content can be provided to web browsing users, especially for e-commerce and other sales-oriented websites. Personalized web page sorting can increase users' willingness to buy, thereby improving conversion rates.
[0003] Data mining technology is a series of methods and processes used to discover patterns, trends and relationships from large amounts of data. Among them, the PageRank algorithm is very effective in evaluating the importance of web pages and can well reflect the popularity and authority of web pages, thus playing a key role in web page ranking and search engine optimization. However, if the damping coefficient in the PageRank algorithm is too large or too small, it may weaken the accuracy of data analysis results. Summary of the invention
[0004] In view of the above, it is necessary to provide a user data analysis method based on data mining, combining the main content characteristics of the user's browsing web pages to obtain the damping coefficient, so as to avoid the damping coefficient in the PageRank algorithm being too large or too small, affecting the accuracy of the user data analysis results.
[0005] An embodiment of the present application provides a user data analysis method based on data mining, the method comprising:
[0006] Based on all the text data collected from the web pages browsed by users, combined with the neural network model, all the sentences on each web page, all the words in each sentence, and the semantic vector of each word are obtained; the words in each sentence on each web page are tagged with parts of speech, and the frequency and TF-IDF score of each word in each sentence on each web page are obtained;
[0007] According to the part of speech, frequency distribution and distance distribution of any two words in each sentence of each web page, the first feature value of the any two words in each sentence of each web page is obtained; based on the distribution of all the first feature values of each sentence of each web page, the webpage keyword feature coefficient of each sentence of each web page is obtained;
[0008] According to the numerical characteristics of the web page keyword characteristic coefficients of the adjacent sentences of each web page, combined with the TF-IDF scores of all words in each sentence of each web page, the second characteristic value of each sentence of each web page is obtained; according to the distribution difference of the semantic vectors of all words between each sentence of each web page and the next sentence, the third characteristic value of each sentence of each web page is obtained; according to the second characteristic value and the third characteristic value of all sentences of each web page, the coherence index of the subject content of each web page is obtained;
[0009] According to the similarity of word distribution between web pages browsed by the user, combined with the subject content coherence index, the user's core content relevance index is obtained; based on the user's core content relevance index, the user's damping coefficient in the PageRank algorithm is obtained; combined with the PageRank algorithm, the data analysis results of the user's browsing web pages are obtained.
[0010] In one embodiment, the obtaining of the first feature value of any two words in each sentence of each webpage comprises the following specific steps:
[0011] Based on each sentence, according to the difference between the parts of speech of any two words, obtain the difference weights of the any two words;
[0012] The sum of the frequencies of any two words in each sentence multiplied by the difference weight is used as the numerator of the first eigenvalue of any two words in each sentence; the difference in word order of the any two words in the corresponding sentences is used as the denominator of the first eigenvalue of any two words in each sentence.
[0013] In one embodiment, the step of obtaining the difference weights of the arbitrary two words comprises:
[0014] Based on each sentence, if any two words have the same part of speech, the first preset value is used as the difference weight of the any two words; otherwise, the second preset value is used as the difference weight of the any two words.
[0015] In one embodiment, the webpage keyword characteristic coefficient of each sentence of each webpage is specifically a forward fusion result of the first characteristic values of all arbitrary two words in each sentence.
[0016] In one embodiment, the obtaining of the second characteristic value of each sentence of each webpage is specifically as follows:
[0017] The sum of the webpage keyword feature coefficients of each sentence of each webpage and its adjacent sentences before and after is used as the local feature of each sentence of each webpage;
[0018] The forward fusion result of the local feature and the average TF-IDF score of all words in the corresponding sentence is used as the second feature value of each sentence.
[0019] In one embodiment, the obtaining of the third characteristic value of each statement of each webpage is specifically:
[0020] The mean of the elements in the same position between the semantic vectors of all words in each sentence of each web page is taken as the mean vector of each sentence; the correlation coefficient between the mean vector of each sentence of each web page and the mean vector of the next sentence is taken as the third eigenvalue of each sentence of each web page.
[0021] In one embodiment, the subject content coherence index of each web page is specifically a forward fusion result of the second eigenvalue and the third eigenvalue of all sentences in each web page.
[0022] In one embodiment, the step of obtaining the core content relevance index of the user comprises:
[0023] For each web page, a preset number of words are selected to form an important word character sequence of each web page;
[0024] Calculate the sum of the subject content coherence indexes of any two web pages; obtain the distance measure of the important word character sequences of the any two web pages;
[0025] Based on the addition result of the arbitrary two web pages and the distance metric, obtaining a correlation factor between the arbitrary two web pages; wherein the correlation factor is in an increasing relationship with the addition result and in a decreasing relationship with the distance metric;
[0026] The distribution trend value of the relevance index obtained by combining all web pages browsed by the user in pairs is used as the user's core content relevance index.
[0027] In one embodiment, the damping coefficient of the user in the PageRank algorithm is specifically a normalized value of the user's core content relevance index.
[0028] In one embodiment, the step of obtaining the data analysis result of the user browsing the web page comprises:
[0029] All web pages browsed by the user are used as the input of the PageRank algorithm, and combined with the damping coefficient, the PageRank value of each web page browsed by the user is obtained as the user data analysis result.
[0030] This application has at least the following beneficial effects:
[0031] The present application first processes the text data collected from the web page, obtains all the sentences and all the words in the sentences, and provides an analysis basis for the subsequent data analysis of the web page by users; and obtains the word's part of speech and frequency, provides a data basis for the feature extraction of the main content of the web page, obtains the word's TF-IDF score, and measures the importance of the word to the web page text data; obtains the first eigenvalue, measures the text characteristics of each sentence in the web page, and effectively evaluates the degree of association between the words in the sentence; constructs a web page keyword feature coefficient, measures the part of speech distribution of each sentence, and measures the possibility of each sentence containing core content based on the part of speech; obtains the second eigenvalue, measures the local part of speech change characteristics of each sentence and the importance of the words contained; obtains the third eigenvalue, describes the degree of semantic difference between words; constructs a topic content coherence index to judge the user's interest in the web page; constructs a core content association index to measure the degree of association between the content of the web pages browsed by the user; obtains the damping coefficient, combines it with the PageRank algorithm, obtains the data analysis results of the user browsing the web page, effectively avoids the damping coefficient in the PageRank algorithm being too large or too small, and improves the accuracy of the user data analysis results. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] Figure 1 A flowchart of the user data analysis method based on data mining provided in this application;
[0033] Figure 2 A flowchart for obtaining the core content relevance index provided for this application. DETAILED DESCRIPTION
[0034] In the description of the embodiments of the present application, words such as "exemplary", "or", "for example" and the like are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary", "or", "for example" and the like is intended to present related concepts in a concrete manner.
[0035] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art in the present application. The terms used in the specification of the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application.
[0036] It should also be noted that the terms "first" and "second" in this application and its drawings are used to distinguish similar objects, rather than to describe a specific order or sequence. The method disclosed in the embodiments of the present application or the method shown in the flow chart includes one or more steps for implementing the method. Without departing from the scope of protection of this application, the execution order of multiple steps can be interchanged with each other, and some steps can also be deleted.
[0037] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
[0038] The present application embodiment first proposes a user data analysis method based on data mining, which is applied to the field of data processing technology. Figure 1 , the method comprises the following steps:
[0039] Step 1: Based on all the text data collected from the web pages browsed by users, combined with the neural network model, obtain all the sentences on each web page, all the words in each sentence, and the semantic vector of each word; perform part-of-speech tagging on the words in each sentence on each web page, and obtain the frequency of occurrence of each word in each sentence on each web page and the TF-IDF score.
[0040] When users browse the web, the system will automatically record their web log information. With the user's authorization, the system can obtain the historical web page data browsed by the user in the past six months and the time the user stayed on each web page through the web log. In order to facilitate the analysis and feature extraction of user data, the obtained web page data is preprocessed.
[0041] A neural network model is used to extract text data from each web page to obtain all text data. In some embodiments of the present application, a CRNN (Convolutional Recurrent Neural Network) neural network model is used to extract text data from a web page, the loss function is a CTC (Connectionist Temporal Classification) loss function, and the optimization model is set to Adam (Adaptive Moment Estimation). The input of the algorithm is a historical web page, and the output is all text data in the web page. It should be noted that the CRNN neural network model is a well-known technology, and the specific process will not be repeated.
[0042] Since there may be some non-informative data in the extracted text data, such as special symbols, emoticons, and HTML tags, which may interfere with subsequent data processing, the text data needs to be further processed. In some embodiments of the present application, Pandas and SciPy libraries in Python are used to remove non-informative data.
[0043] Since the frequency of each word is used as a reference for user data analysis and behavior feature extraction, in order to remove words that have no practical meaning in the text, such as prepositions and pronouns, the stop word list provided by the spaCy library in Python is used to process stop words, and each sentence in the web page can be divided.
[0044] Each sentence is segmented to obtain all the words in each sentence and the semantic vector of each word. In some embodiments of the present application, the BERT model is used to segment the text data after noise removal, the loss function is set to MLM (Masked Language Model), the optimizer is set to Adam, the input of the BERT model is each sentence, and the output is all the words in each sentence and the semantic vector of each word. It should be noted that Pandas, SciPy library and BERT model are well-known technologies, and the specific process will not be repeated.
[0045] Part-of-speech tagging is performed on the words of each sentence in each web page, and the frequency of occurrence of each word in each sentence in each web page and the TF-IDF score are obtained. In some embodiments of the present application, the spaCy library in Python is used for part-of-speech tagging to obtain the part of speech of each word and mark it, marking nouns as 1, verbs as 2, etc. Then the TF-IDF (TermFrequency-Inverse Document Frequency) algorithm is used to count the frequency of each word in the web page. The input of the algorithm is the preprocessed text data of each web page, and the output is the frequency of each word in each web page and the TF-IDF score. The TF-IDF score can represent the importance of the word in the web page. It should be noted that the spaCy library and the TF-IDF method are well-known technologies, and the specific process will not be repeated.
[0046] Step 2: According to the part of speech, frequency distribution and distance distribution of any two words in each sentence of each web page, obtain the first feature value of the any two words in each sentence of each web page; based on the distribution of all the first feature values of each sentence of each web page, obtain the webpage keyword feature coefficient of each sentence of each web page.
[0047] The historical web pages that users have browsed all contain their own core content. The objects described by different web pages may be significantly different, and the texts of these web pages also show different characteristics in the distribution of parts of speech. For example, if a web page contains a large number of nouns, the web page may be a reference page introducing a specific thing or place; if the web page contains more verbs, the web page may be a sports-related introduction or a news report; and web pages containing more adjectives or adverbs indicate that they contain more emotional descriptions.
[0048] Based on this, the first feature value of any two words in each sentence of each web page is obtained, specifically:
[0049] Based on each sentence, if any two words have the same part of speech, the first preset value is used as the difference weight of the any two words; otherwise, the second preset value is used as the difference weight of the any two words.
[0050] In some embodiments of the present application, the first preset value is 2, and the second preset value is 1; the implementer can adjust it according to the actual situation. It should be noted that the first preset value is greater than the second preset value.
[0051] The sum of the frequencies of any two words in each sentence and the product of the difference weight are used as the numerator of the first eigenvalue of any two words in each sentence. The larger the numerator, the more frequently the words with the same part of speech appear in the sentence, and the richer the description of the related content. The difference in word order between the any two words in the corresponding sentence is used as the denominator of the first eigenvalue of any two words in each sentence.
[0052] The webpage keyword characteristic coefficient of each sentence of each webpage is obtained, specifically, the result of the forward fusion of the first characteristic values of all two arbitrary words in each sentence.
[0053] In some embodiments of the present application, the cumulative sum of the first feature values of all two arbitrary words in each sentence is used as the webpage keyword feature coefficient of each sentence. The larger the webpage keyword feature coefficient, the more consistent the description of the sentence is with the main content of the webpage.
[0054] Step 3: Based on the numerical characteristics of the web page keyword feature coefficients described in adjacent sentences on each web page and the TF-IDF scores of all words in each sentence on each web page, obtain the second feature value of each sentence on each web page; based on the distribution difference of the semantic vectors of all words between each sentence on each web page and the next sentence, obtain the third feature value of each sentence on each web page; based on the second feature values and the third feature values of all sentences on each web page, obtain the subject content coherence index of each web page.
[0055] However, relying solely on the keyword feature coefficients in a single sentence cannot fully capture and summarize the entire object described by the web page text. A web page usually contains multiple sentences, each of which may convey different information, and when a sentence is examined alone, it may be associated with multiple different web page topics. If the sentences are semantically related, the content of the entire web page will revolve around the central theme. Therefore, analyzing the semantic relevance between these sentences helps to build a complete view of the content to analyze whether the web page content is consistent with the theme.
[0056] Get the second feature value of each sentence on each web page, specifically:
[0057] The sum of the webpage keyword feature coefficients of each sentence of each webpage and its adjacent sentences before and after is taken as the local feature of each sentence of each webpage.
[0058] In some embodiments of the present application, the sum of the webpage keyword feature coefficients of the i-th sentence and the i-1-th and i+1-th sentences of each webpage is used as the local feature of the i-th sentence of each webpage. It should be noted that the first sentence and the last sentence are processed as follows: the sum of the webpage keyword feature coefficient of the first sentence and the webpage keyword feature coefficient of the next sentence is used as the local feature of the i-th sentence of each webpage. As the local feature of the first sentence; the sum of the webpage keyword feature coefficient of the last sentence and the webpage keyword feature coefficient of the previous sentence As a local feature of the last sentence.
[0059] The forward fusion result of the local feature and the average TF-IDF score of all words in the corresponding sentence is used as the second feature value.
[0060] It should be noted that the forward fusion calculations specifically include: addition, multiplication, mixed operations of addition and multiplication, etc., and this application does not impose any restrictions on this.
[0061] In some embodiments of the present application, the product of the local feature and the average TF-IDF score of all words in the corresponding sentence is used as the second feature value. If the second feature value is larger, it means that the description of the sentence and its two preceding and following sentences is more consistent with the main content of the webpage, and has a higher representativeness.
[0062] Get the third characteristic value of each statement on each web page, specifically:
[0063] The mean of the elements in the same position between the semantic vectors of all words in each sentence of each web page is taken as the mean vector of each sentence; the correlation coefficient between the mean vector of each sentence of each web page and the mean vector of the next sentence is taken as the third eigenvalue of each sentence of each web page.
[0064] It should be noted that the correlation coefficient measures the similarity between sequences, and specifically includes: Pearson correlation coefficient, cosine similarity, Jaccard similarity, etc.; this application does not impose any limitation on this.
[0065] In some embodiments of the present application, the absolute value of the cosine similarity between the mean vector of each sentence in each web page and the mean vector of the next sentence is used as the third eigenvalue of each sentence in each web page. The larger the third eigenvalue, the more semantically consistent the two consecutive sentences are.
[0066] Get the coherence index of the subject content of each web page, specifically:
[0067] The forward fusion result of the second eigenvalue and the third eigenvalue of all sentences in each web page is recorded as the topic content coherence index of each web page.
[0068] In some embodiments of the present application, the cumulative sum of the products of the second eigenvalue and the third eigenvalue of all sentences in each web page is recorded as the subject content coherence index of each web page. If the subject content coherence index is larger, it means that the text data in the web page is more focused on a specific topic, the user may be more interested, and the importance of the web page is higher.
[0069] Step 4: Based on the similarity of word distribution between web pages browsed by the user and the subject content coherence index, obtain the user's core content relevance index; based on the user's core content relevance index, obtain the user's damping coefficient in the PageRank algorithm; combined with the PageRank algorithm, obtain the data analysis results of the user's browsing web pages.
[0070] Furthermore, in the historical web pages browsed by the user, if the content correlation of different web page text data is higher, this indicates that the user has a clear preference for information related to one or more topics, that is, during the user's browsing process, the possibility of jumping from a link in a web page to the next web page is higher, and the possibility of randomly opening a web page is lower.
[0071] Based on this, the user's core content relevance index is obtained, specifically:
[0072] For each web page, a preset number of words are selected to form an important word character sequence for each web page.
[0073] In some embodiments of the present application, in order to better analyze the correlation between web pages, the TF-IDF scores of all words in a web page are arranged in order from large to small, and the words corresponding to the top 10% are taken in descending order of TF-IDF scores to form an important word character sequence.
[0074] Calculate the sum of the subject content coherence indexes of any two web pages; and obtain the distance measure of the important word character sequences of the any two web pages.
[0075] Based on the addition result and the distance metric of the arbitrary two web pages, a correlation factor of the arbitrary two web pages is obtained; wherein the correlation factor is in an increasing relationship with the addition result and in a decreasing relationship with the distance metric.
[0076] It should be noted that the distance metric between sequences is a method for measuring sequence similarity or difference, including: Jaccard similarity, Hamming distance, Levenshtein distance, etc.; the reverse relationship calculation method includes subtraction, division, inverse, etc.; this application does not impose any restrictions on this.
[0077] In some embodiments of the present application, the ratio of the addition result of any two web pages to the Levenshtein distance of the corresponding important word character sequence is used as the correlation factor of the any two web pages. It should be noted that in the process of calculating the ratio, in order to avoid the situation where the denominator is zero, a preset value needs to be added to the denominator, and the preset value is 1. In addition, the calculation of the Levenshtein distance is a well-known technology, and the specific process will not be repeated.
[0078] It should be understood that the smaller the denominator of the correlation index is, the higher the similarity of the web page text content is, and the larger the numerator is, the more likely it is that they belong to the same topic.
[0079] In order to provide users with web page recommendations that are more in line with their interests, during the web page sorting process, the lower the damping coefficient of the PageRank algorithm, the greater the probability of random jumps, and the calculated PageRank values are relatively evenly distributed among the web pages; the higher the damping coefficient, the more likely users are to jump between web pages through links rather than randomly, and the PageRank values will be more concentratedly allocated to web pages with highly related content and interconnected links. The higher the PageRank value, the higher the ranking of the web page.
[0080] The distribution trend value of the relevance index obtained by combining all web pages browsed by the user in pairs is used as the user's core content relevance index.
[0081] It should be noted that the distribution trend value describes the degree of dispersion or concentration of the data distribution, specifically including: mean, variance, standard deviation, median, mode, etc., and this application does not impose any restrictions on this.
[0082] In some embodiments of the present application, the average value of the correlation index obtained by combining all web pages in pairs is used as the core content correlation index of the user. The higher the calculated core content correlation index is, the greater the correlation between the historical web pages browsed by the user is.
[0083] Among them, the flow chart of obtaining the core content relevance index is as follows: Figure 2 shown.
[0084] Furthermore, the damping coefficient of the PageRank algorithm is obtained according to the core content relevance index of the user; wherein the damping coefficient and the core content relevance index have a consistent changing trend.
[0085] In some embodiments of the present application, since the damping coefficient is a value between 0 and 1, a logarithmic normalization method is used to normalize the user's core content relevance index, and the result is used as the damping coefficient. The logarithmic normalization method is a well-known technology, and the specific process is not repeated here.
[0086] All web pages browsed by users are used as inputs to the PageRank algorithm. Combined with the damping coefficient, the PageRank values of each web page browsed by users are obtained and used as the result of user data analysis. The higher the PageRank, the more important the web page is to the user, and users are more inclined to browse web pages with high PageRank values.
[0087] The embodiment of the present application provides a user data analysis method based on data mining, the method comprising: firstly processing text data collected from a web page, obtaining all sentences and all words in the sentences, and providing an analysis basis for subsequent data analysis of the web page by users; and obtaining the word part of speech and frequency, providing a data basis for feature extraction of the main content of the web page, obtaining the TF-IDF score of the word, and measuring the importance of the word to the web page text data; obtaining a first feature value, measuring the text features of each sentence in the web page, and effectively evaluating the degree of association between the words in the sentence; constructing a web page keyword feature coefficient, measuring the part of speech distribution of each sentence, and measuring the possibility of each sentence containing core content based on the part of speech; obtaining a second feature value, measuring the local part of speech change feature of each sentence and the importance of the words contained; obtaining a third feature value, describing the degree of semantic difference between words; constructing a topic content coherence index, judging the user's interest in the web page; constructing a core content association index, measuring the degree of association between the contents of the web pages browsed by the user; obtaining a damping coefficient, combining with the PageRank algorithm, obtaining the data analysis results of the user browsing the web page, improving the accuracy of the data analysis results, and facilitating better use of user data.
[0088] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two continuous boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two continuous operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.
[0089] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A user data analysis method based on data mining, characterized in that: The method comprises the following steps: Based on all the text data collected from the web pages browsed by users, combined with the neural network model, all the sentences on each web page, all the words in each sentence, and the semantic vector of each word are obtained; the words in each sentence on each web page are tagged with parts of speech, and the frequency and TF-IDF score of each word in each sentence on each web page are obtained; According to the part of speech, frequency distribution and distance distribution of any two words in each sentence of each web page, the first feature value of the any two words in each sentence of each web page is obtained; based on the distribution of all the first feature values of each sentence of each web page, the webpage keyword feature coefficient of each sentence of each web page is obtained; According to the numerical characteristics of the web page keyword characteristic coefficients of the adjacent sentences of each web page, combined with the TF-IDF scores of all words in each sentence of each web page, the second characteristic value of each sentence of each web page is obtained; according to the distribution difference of the semantic vectors of all words between each sentence of each web page and the next sentence, the third characteristic value of each sentence of each web page is obtained; according to the second characteristic value and the third characteristic value of all sentences of each web page, the coherence index of the subject content of each web page is obtained; According to the similarity of word distribution between web pages browsed by the user, combined with the subject content coherence index, the core content relevance index of the user is obtained; based on the core content relevance index of the user, the damping coefficient of the user in the PageRank algorithm is obtained; combined with the PageRank algorithm, the data analysis results of the user browsing web pages are obtained; The subject content coherence index of each web page is specifically a forward fusion result of the second eigenvalue and the third eigenvalue of all sentences in each web page; The step of obtaining the core content relevance index of the user includes: For each web page, a preset number of words are selected to form an important word character sequence of each web page; Calculate the sum of the subject content coherence indexes of any two web pages; obtain the distance measure of the important word character sequences of the any two web pages; Based on the addition result of the arbitrary two web pages and the distance metric, obtaining a correlation factor between the arbitrary two web pages; wherein the correlation factor is in an increasing relationship with the addition result and in a decreasing relationship with the distance metric; The distribution trend value of the relevance index obtained by combining all web pages browsed by the user in pairs is used as the user's core content relevance index.
2. The user data analysis method based on data mining according to claim 1, characterized in that: The specific steps of obtaining the first feature value of any two words in each sentence of each webpage include: Based on each sentence, according to the difference between the parts of speech of any two words, obtain the difference weights of the any two words; The sum of the frequencies of any two words in each sentence multiplied by the difference weight is used as the numerator of the first eigenvalue of any two words in each sentence; the difference in word order of the any two words in the corresponding sentences is used as the denominator of the first eigenvalue of any two words in each sentence.
3. The user data analysis method based on data mining according to claim 2, characterized in that: The step of obtaining the difference weights of the arbitrary two words comprises: Based on each sentence, if any two words have the same part of speech, the first preset value is used as the difference weight of the any two words; otherwise, the second preset value is used as the difference weight of the any two words.
4. The user data analysis method based on data mining according to claim 1, characterized in that: The webpage keyword characteristic coefficient of each sentence of each webpage is specifically a forward fusion result of the first characteristic values of all arbitrary two words in each sentence.
5. The user data analysis method based on data mining according to claim 1, characterized in that: The method of obtaining the second characteristic value of each sentence of each web page is specifically as follows: The sum of the webpage keyword feature coefficients of each sentence of each webpage and its adjacent sentences before and after is used as the local feature of each sentence of each webpage; The forward fusion result of the local feature and the average TF-IDF score of all words in the corresponding sentence is used as the second feature value of each sentence.
6. The user data analysis method based on data mining according to claim 1, characterized in that: The third characteristic value of each sentence of each web page is obtained as follows: The mean of the elements in the same position between the semantic vectors of all words in each sentence of each web page is taken as the mean vector of each sentence; the correlation coefficient between the mean vector of each sentence of each web page and the mean vector of the next sentence is taken as the third eigenvalue of each sentence of each web page.
7. The user data analysis method based on data mining according to claim 1, characterized in that: The damping coefficient of the user in the PageRank algorithm is specifically a normalized value of the user's core content relevance index.
8. The user data analysis method based on data mining according to claim 1, characterized in that: The specific steps of obtaining the data analysis results of the user browsing the web page include: All web pages browsed by the user are used as the input of the PageRank algorithm, and combined with the damping coefficient, the PageRank value of each web page browsed by the user is obtained as the user data analysis result.
Citation Information
Patent Citations
Webpage sequencing method based on random forest algorithm
CN108182186A
Method for evaluating article expression presentation capability
CN111815188A
Intelligent topic recommendation method based on social network
CN117474703A
Customer data management method and system based on big data
CN117575011A
Latent metonymical analysis and indexing (LMAI)
US20100114561A1
