Interactive spatial co-location pattern mining method in combination with user interests and preferences
By setting a lower participation threshold and personalized clustering driven by user feedback, combined with the SDTANI model, the problem of user interest preferences not being considered in traditional co-location pattern mining is solved, achieving more accurate user interest pattern mining and improving Explore performance and user experience.
Patent Information
- Application Number
- CN202410749084.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-09-27
AI Technical Summary
Traditional co-located pattern mining algorithms fail to effectively consider users' interest preferences, leading to participation threshold setting problems. They may miss rare patterns that users are interested in or generate a large number of useless patterns, resulting in poor mining results and poor user experience.
Using an interactive spatial co-located pattern mining method that combines user interests and preferences, an initial pattern set is generated by setting a lower participation threshold, clustering is performed using extended semantic similarity, and personalized clustering and pattern set adjustment are performed based on user feedback to construct SDTANI model to predict user interest pattern sets.
It effectively avoids the generation of meaningless pattern sets, ensures that patterns that users are interested in are not missed, improves the mining effect and user experience, and meets the personalized needs of users.
Smart Images

Figure CN118709063A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical fields of spatial data mining, spatial co-location pattern mining and interactive pattern mining, and in particular to an interactive spatial co-location pattern mining method combining user interest preferences. Background Art
[0002] Spatial co-location pattern (hereinafter referred to as co-location pattern) is an effective way to express the correlation between spatial features. It is based on the distance relationship and finds the correlation between spatial features. Specifically, co-location pattern represents a set of spatial features. The instances of features in these sets have frequent associations in space. These sets can also be called interesting patterns. For example, in ecosystem research, a certain plant and animal often coexist in the same area. For example, the closer the geographical location, the more similar the natural resources, temperature, economic status, climate, etc. are; West Nile virus often occurs in areas where mosquitoes are rampant and poultry are raised; botanists have found that the probability of the existence of "orchid" plants in places where "semi-humid evergreen broad-leaved forests" grow is as high as 80%. Applying co-location pattern to the protection of environment and rare species can help understand and predict the pattern of species distribution, the function of ecosystems, and the impact of human activities on them. For example, if two or more species frequently co-occur in space, then we can infer that they may have some kind of symbiotic relationship, such as a mutually beneficial symbiotic relationship, a predator-prey relationship, etc. For rare species, such information can help us protect and restore their habitats. At the same time, sympatry patterns can also help us understand how ecosystems work. For example, by studying the spatial distribution patterns of ecosystem elements such as forests, rivers, and wetlands, we can predict and manage ecological services (such as water supply, carbon storage, biodiversity maintenance, etc.).
[0003] The main task of co-location pattern mining is to discover unknown knowledge that is useful and interesting to users. According to the traditional method of generating frequent co-location patterns, the frequency of co-location patterns is measured by an objective degree of engagement: the co-location patterns with greater engagement are more frequent, that is, more interesting. At the same time, traditional mining does not take into account the user's interest preferences, that is, the implicit preference characteristics and their combinations when the user chooses the pattern. This will lead to three problems: 1) The algorithm is overly dependent on the engagement threshold. If the threshold is too high, rare patterns may be missed. If the threshold is too low, a large number of useless patterns will be generated, making it difficult for users to find the patterns they are really interested in. 2) The interestingness of a pattern is often related to the user's own preferences. Measuring the interestingness of a pattern only by a frequency threshold does not always get the pattern that the user is really interested in. 3) The algorithm lacks consideration of user interest preferences, making it difficult to discover the user's hidden preferences and unable to fully mine the user's interest patterns.
[0004] Therefore, in order to obtain the patterns that users are really interested in, it is necessary to interact with users. On the basis of the pattern set mined once, the pattern set that users are really interested in should be "learned" through the feedback from each user interaction. This can avoid the appearance of a large number of meaningless and unnecessary pattern sets caused by problems in setting the participation threshold. It can also avoid the omission of rare patterns that users may be interested in, resulting in poor mining results and extremely poor user experience.
[0005] In the application scenario of users mining interest patterns, it is difficult to meet the personalized needs of users by only considering the frequency of patterns and recommending patterns with high participation to users. In order to help users mine patterns of interest, there is currently an ontology-based interactive co-pattern mining algorithm. The algorithm uses specific co-patterns as the input set for secondary mining, and designs an efficient candidate co-pattern set update algorithm to quickly reduce the size of the candidate co-pattern set. However, this algorithm requires users to understand domain knowledge and has certain requirements for users. At the same time, there is an interactive co-pattern mining algorithm based on support vector machines, but it does not combine user interest preferences to establish a multi-faceted preference model. This method also uses a machine learning method (randomly degraded tree extended naive Bayes ensemble model) for interactive mining, but designs an interactive mining algorithm framework that combines user preferences, which has excellent results. Summary of the invention
[0006] The purpose of the present invention is to provide an interactive spatial co-location pattern mining method combined with user interest preferences, aiming to avoid the emergence of a large number of meaningless and user-unnecessary pattern sets caused by the problem of setting the participation threshold, and to avoid the omission of rare patterns that users may be interested in, resulting in poor mining results and extremely poor user experience. At the same time, an interactive mining algorithm framework combined with user interest preferences is proposed, which uses a clustering method to analyze user interest preferences to help discover users' implicit preference information.
[0007] To achieve the above object, the present invention provides an interactive spatial co-location pattern mining method combining user interest preferences, comprising the following steps:
[0008] (1) Setting a lower participation threshold to generate an initial set of homotopic patterns;
[0009] (2) Using the extended semantic similarity to measure the similarity between patterns, the initial pattern set is clustered;
[0010] (3) Make preliminary recommendations to users based on diversity strategies to help users discover hidden preferences;
[0011] (4) Perform personalized clustering based on user feedback and pre-cluster the pattern sets that users are interested in to fit their interest preferences;
[0012] (5) Perform secondary clustering adjustment on the overall pattern set based on the pre-clustering results;
[0013] (6) Filtering the pattern set based on the minimum distance threshold;
[0014] (7) The SDTANI model is constructed based on user interest preferences, and the user's interest pattern set is predicted and recommended based on the results of secondary clustering.
[0015] In the process of obtaining the initial co-location pattern set, a spatial data set of a region (such as a spatial distribution data set of POI data in Beijing) is first obtained, and then a mining algorithm (such as a connectionless algorithm) is used to mine the initial pattern set.
[0016] The data acquisition process includes the following steps:
[0017] (1) Normalize POI data, clean and process it to ensure data accuracy and consistency and remove missing data;
[0018] (2) The locations of processed data are represented by letters to facilitate subsequent mining operations;
[0019] (3) Materialize the spatial dataset into non-overlapping star-shaped neighbor sets. For the input spatial dataset and spatial proximity relationship, use geometric methods to find all neighbor instance pairs.
[0020] (4) Generate candidate co-patterns. All first-order co-patterns are used as initialization. Each feature (first-order pattern) instance is generated when the neighbor relationship is materialized. The k-order (k>1) candidate pattern is generated from the k-1-order frequent pattern;
[0021] (5) Generate candidate star instances of the same pattern from the star neighbor set, requiring that the feature type of the central object of the star neighbor set is the same as the first feature of the same pattern. For example, the instance of the same pattern {B, C} is collected from the star neighbor set of feature B, while the instance of the same pattern {A, B, C} is collected from the star neighbor set of feature A;
[0022] (6) Generate a rough frequent co-location pattern using the star instance of the co-location pattern. Since the spatial proximity relationship is symmetrical, the second-order star instance is a cluster instance. For the third order or higher, it is necessary to check whether the star instance is a cluster instance. First, the candidate pattern must be roughly filtered. When the participation of the star instance of a candidate co-location pattern does not meet the given threshold, the candidate pattern can be pruned.
[0023] (7) Starting from the star instance of the candidate peer pattern, use the instance search mechanism to filter out its peer instances;
[0024] (8) By calculating the participation degree of the candidate co-location patterns and comparing it with the set participation degree threshold, the frequent co-location patterns are obtained.
[0025] The present invention provides an interactive spatial co-location pattern mining method combined with user interest preferences, which crawls regional spatial data from the Internet and organizes it into a pattern set that can be recognized by the program through data cleaning and other methods, helps users to mine interest patterns based on an interactive mining algorithm framework, performs personalized clustering on user feedback, extracts user interest preferences, and establishes a prediction model in combination with user interest preferences. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0027] Figure 1 It is a flow chart of an interactive spatial co-location pattern mining method combining user interest preferences according to the present invention.
[0028] Figure 2 It is a pseudo code introduction of Algorithm 1 of the present invention.
[0029] Figure 3 It is the pseudo code introduction of Algorithm 2 of the present invention.
[0030] Figure 4 It is the pseudo code introduction of Algorithm 3 of the present invention.
[0031] Figure 5 It is a pseudo code introduction of Algorithm 4 of the present invention. DETAILED DESCRIPTION
[0032] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present invention, and should not be construed as limiting the present invention.
[0033] See also Figure 1 The present invention proposes an interactive spatial co-location pattern mining method combining user interest preferences, comprising the following steps:
[0034] S1: set a lower participation threshold to generate an initial set of homotopic patterns;
[0035] S2: Use the extended semantic similarity to measure the similarity between patterns and perform clustering on the initial pattern set;
[0036] S3: Make preliminary recommendations to users based on diversity strategies to help users discover hidden preferences;
[0037] S4: Combine user feedback to perform personalized clustering, and pre-cluster the pattern sets that users are interested in to fit their interest preferences;
[0038] S5: Perform secondary clustering adjustment on the overall pattern set based on the pre-clustering results;
[0039] S6: filtering the pattern set based on the minimum distance threshold;
[0040] S7: Build the SDTANI model based on user interest preferences, predict the user's interest pattern set based on the results of secondary clustering and make recommendations.
[0041] In the process of obtaining the initial co-location pattern set, a spatial data set of a region (such as a spatial distribution data set of POI data in Beijing) is first obtained, and then a mining algorithm (such as a connectionless algorithm) is used to mine the initial pattern set.
[0042] Normalize POI data, perform data cleaning and processing to ensure data accuracy and consistency, remove missing data, and use letters to represent the locations of processed data to facilitate subsequent mining operations;
[0043] The input data required by this algorithm are the POI dataset, the location features in the dataset, and the minimum engagement threshold defined by the user.
[0044] The spatial dataset is materialized into a disjoint star-shaped neighbor set. For the input spatial dataset and spatial proximity relationship, all neighbor instance pairs are found using geometric methods.
[0045] Generate candidate sympatterns, all first-order sympatterns are used as initialization, and each feature (first-order pattern) instance is generated when the neighbor relationship is materialized. The k-order (k>1) candidate pattern is generated from the k-1-order frequent pattern;
[0046] To generate a candidate co-location pattern star instance from the star neighbor set, it is required that the feature type of the central object of the star neighbor set is the same as the first feature of the co-location pattern. For example, the instance of the co-location pattern {B, C} is collected from the star neighbor set of feature B, while the instance of the co-location pattern {A, B, C} is collected from the star neighbor set of feature A;
[0047] The coarse frequent co-location patterns are generated by using the star instances of the co-location patterns. Since the spatial proximity relationship is symmetrical, the second-order star instance is a cluster instance. For the third-order or higher order, it is necessary to check whether the star instance is a cluster instance. First, the candidate patterns must be coarsely filtered. When the participation of the star instance of a candidate co-location pattern does not meet the given threshold, the candidate pattern can be pruned.
[0048] Starting from the star instance of the candidate peer pattern, use the instance search mechanism to filter out its peer instances;
[0049] By calculating the participation of candidate co-location patterns and comparing them with the set participation threshold, frequent co-location patterns are obtained.
[0050] Furthermore, the present invention is further described in detail with reference to specific embodiments and pseudo codes:
[0051] See also Figure 2 ,The specific steps of the algorithm are as follows:
[0052] Algorithm 1 shows the interactive mining algorithm framework, which learns user preferences through historical feedback information and recommends patterns that users may be interested in.
[0053] Step 1: Initialize the variables.
[0054] Step 2: Initialize clustering of the input pattern set
[0055] In the early stage of interaction, it is assumed that the initial data distribution of the pattern set is mined based on the user's interest preferences, which can help users fully understand the distribution of the pattern set.
[0056] Step 3: Make preliminary recommendations and adjustments based on the initial clustering results combined with the diversity strategy.
[0057] Step 4: Select the mode that the user is most likely to be interested in from the unrecommended candidate mode set for recommendation, and update the model based on user feedback. The data set is segmented based on the distribution of the candidate mode set (user preference) for model training. After the interaction reaches the preset number of times, the data will be personalized clustered based on user feedback, re-clustered based on the user's interest mode and mode set filtering will be implemented.
[0058] Step 5: Return the user's interest pattern set.
[0059] And Algorithm 2( Figure 3 ) is the algorithm 1( Figure 2 ) in detail:
[0060] Step 1: Initialize the variables.
[0061] Step 2: Based on Jaccard similarity Preliminary clustering obtains the approximate distribution of the data.
[0062] Step 3: Pre-cluster the interest pattern set selected by the user to obtain the center of the new cluster, and then perform global clustering based on ESD:
[0063]
[0064] To form more accurate clusters, we make full use of the instance information of the co-location patterns to measure the similarity between patterns and filter out those whose distance to the center of any cluster does not meet the minimum clustering distance threshold.
[0065] Step 4: Return the candidate pattern set.
[0066] And Algorithm 3( Figure 4 ) is the algorithm 1( Figure 2 ) in detail:
[0067] Step 1: Initialize the variables.
[0068] Step 2: Split the training data set into sub-training sets based on the distribution of the candidate pattern set.
[0069] Step 3: Train each classifier based on the sub-training set and perform cross-validation on each constructed base classifier.
[0070] Step 4: Return the Stochastic DegenerateTree-Augmented Naive Bayes Integration Model (SDTANI).
[0071] And Algorithm 4( Figure 5 ) is the algorithm 3( Figure 4 ) in detail:
[0072] Step 1: Initialize the variables.
[0073] Step 2: Calculate the mutual pheromone between each attribute, and update a new round of mutual pheromone by combining the historical mutual pheromone matrix through the exponential smoothing mechanism. The exponential smoothing mechanism:
[0074]
[0075] Among them, I and I' are the current mutual information value and the historical mutual information value, β is the weight coefficient of the exponential sliding method, and t is the number of training times.
[0076] Step 3: Use the quick sort algorithm to sort the coordinate information list containing mutual pheromones in descending order.
[0077] Step 4: Perform attribute connection based on the probability formula and mutual pheromone ranking results, set the mutual pheromone threshold, and the attribute edge whose mutual pheromone meets the threshold will be based on the probability formula:
[0078]
[0079] Randomly choose whether to connect, randomly determine the connection direction, and finally connect all attributes and class variables.
[0080] Step 5: Return the trained random degraded tree augmented naive Bayes model.
[0081] What is disclosed above is only a preferred embodiment of the present invention, and it certainly cannot be used to limit the scope of rights of the present invention. Ordinary technicians in this field can understand that all or part of the processes of the above embodiment and equivalent changes made according to the claims of the present invention still fall within the scope of the invention.
Claims
1. An interactive spatial co-location pattern mining method combining user interest preferences, characterized in that: The following steps are involved: (1) Setting a lower participation threshold to generate an initial set of homotopic patterns; (2) Using the extended semantic similarity to measure the similarity between patterns, the initial pattern set is clustered; (3) Make preliminary recommendations to users based on diversity strategies to help users discover hidden preferences; (4) Perform personalized clustering based on user feedback and pre-cluster the pattern sets that users are interested in to fit their interest preferences; (5) Perform secondary clustering adjustment on the overall pattern set based on the pre-clustering results; (6) Filtering the pattern set based on the minimum distance threshold; (7) The SDTANI model is constructed based on user interest preferences, and the user's interest pattern set is predicted and recommended based on the results of secondary clustering.
2. The interactive spatial co-location pattern mining method combining user interest preferences according to claim 1, characterized in that: In the process of obtaining the initial co-location pattern set, a spatial data set of a region (such as a spatial distribution data set of POI data in Beijing) is first obtained, and then a mining algorithm (such as a connectionless algorithm) is used to mine the initial pattern set.
3. The interactive spatial co-location pattern mining method combining user interest preferences according to claim 1, characterized in that: The POI data are normalized, cleaned and processed to ensure data accuracy and consistency, missing data are removed, and the locations of the processed data are represented by letters to facilitate subsequent mining operations.
4. The interactive spatial co-location pattern mining method in combination with user interest preference according to claim 1, characterized in that: The spatial dataset is materialized into a disjoint star-shaped neighbor set. For the input spatial dataset and spatial proximity relationship, all neighbor instance pairs are found using geometric methods.
5. The interactive spatial co-location pattern mining method in combination with user interest preference according to claim 1, characterized in that: Generate candidate sympatterns, all first-order sympatterns are used as initialization, and each feature (first-order pattern) instance is generated when the neighbor relationship is materialized. The k-order (k>1) candidate pattern is generated from the k-1-order frequent pattern.
6. The interactive spatial co-location pattern mining method in combination with user interest preference according to claim 1, characterized in that: Generating a star instance of a candidate homonymous pattern from a star neighbor set requires that the feature type of the central object of the star neighbor set is the same as the first feature of the homonymous pattern.
7. The interactive spatial co-location pattern mining method in combination with user interest preference according to claim 1, characterized in that: The coarse frequent co-pattern is generated by using the star instance of the co-pattern. Since the spatial proximity relationship is symmetrical, the 2nd-order star instance is the cluster instance. For the 3rd or higher order, it is necessary to check whether the star instance is the cluster instance.
8. The interactive spatial co-location pattern mining method in combination with user interest preference according to claim 1, characterized in that: Starting from the star instance of the candidate peer pattern, its peer instances are filtered out using the instance lookup mechanism.
9. The interactive spatial co-location pattern mining method in combination with user interest preference according to claim 1, characterized in that: By calculating the participation of candidate co-location patterns and comparing them with the set participation threshold, frequent co-location patterns are obtained.
Citation Information
Patent Citations
Knowledge-based multi-level co-location pattern mining method
CN113987012A
Content recommendation method and device, storage medium and electronic equipment
CN114372202A
Urban interest point co-location pattern mining method and device
CN116401470A
Application method and system in information consumption field based on graph computing technology
CN118071400A
User terminal and method and system for providing advertisement
US20140214537A1
