Data insight device for exploratory data analysis
Through the combination of offline construction and online analysis modules, pattern cubes and data cells are used for pattern pruning, which solves the problem of low data analysis efficiency in the existing technology, achieves fast and accurate insight discovery, and improves data analysis efficiency.
Patent Information
- Application Number
- CN202410829778.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-25
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-06-25
AI Technical Summary
With the growth of data volume, it is difficult for existing exploratory data analysis tools to quickly and accurately discover valuable insights in data at the system and user levels, resulting in low analysis efficiency.
A data insight device for exploratory data analysis is designed. The pattern cube is pre-calculated through the offline building module. The online analysis module generates insight results according to the analysis instructions. The pattern cube and data cells are used for pattern pruning to avoid repeated calculations and improve Insights discover efficiency.
It effectively avoids repeated calculation of data range patterns, significantly improves the efficiency of insight discovery, and can discover more insight results within the same time budget.
Smart Images

Figure CN118656361A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data analysis technology, and specifically to a data insight device for exploratory data analysis. Background Art
[0002] With the continuous development of communication technology and information technology, the speed of data generation is growing rapidly. At the same time, with the changes and development of database technology and storage technology, more and more data are being recorded and stored for development and utilization. Billions of web searches supported by Internet search engines process tens of thousands of TB bytes of data every day. The continuous upgrading of data volume, the deepening of applications and the non-negligible value of data force us to explore how to better benefit from this data.
[0003] In order to help analysts discover the inherent laws of the data, Exploratory Data Analysis (EDA) was proposed. When data analysts are faced with a new and unknown data set, it is particularly important to understand the information and features contained in this data set during the exploration process, so as to obtain some basic "insights", namely insights. At present, there are many excellent exploratory data analysis tools or platforms in the industry to assist users, such as Pandas, Matplotlib, Microsoft Power BI and Tableau. As the magnitude of data gradually increases, from a system perspective, it takes longer to execute the analysis system to explore insights in the data; from a user perspective, large data sets can easily make users "lose focus", and users may only be interested in part of the data in a larger data set.
[0004] Therefore, how to quickly explore the data that users are interested in and how to provide analysts with a fast and accurate method to obtain valuable insights are important issues that need to be solved urgently. Summary of the invention
[0005] The present invention is made to solve the above-mentioned problems, and its purpose is to provide a data insight device for exploratory data analysis.
[0006] The present invention provides a data insight device for exploratory data analysis, which is used to obtain insight results of a target data set according to an analysis instruction of a user, and has the following characteristics, including: an offline construction module, which is used to construct a corresponding pattern cube according to the target data set; an online analysis module, which is used to calculate and obtain insight results according to the analysis instruction and the pattern cube, wherein the data in the target data set is divided into measurement attributes and dimension attributes, the data of the measurement attributes are numerical, and the data of the dimension attributes are non-numerical, and the offline construction module includes: a grouping unit, which is used to group all dimension attributes, and respectively combine each grouping result with each measurement attribute to obtain a plurality of dimension attribute combinations; an aggregation unit, which is used to respectively aggregate each dimension attribute combination according to the corresponding data in the target data set through various aggregation methods to obtain corresponding data cells; a single-value data range generation unit, which is used to generate a single-value data range for each dimension attribute combination; The single-value data range is split and reorganized according to the degree attribute combination to obtain the corresponding single-value data range; the offline pattern calculation unit is used to calculate the data pattern of each single-value data range respectively to obtain the corresponding pattern cell; the offline storage unit is used to store all data cells and pattern cells as a pattern cube. The online analysis module includes: a data range generation unit, which is used to generate at least one corresponding data range according to the analysis instruction and the pattern cube; a homogeneous data range generation unit is used to generate a homogeneous data range corresponding to each data range; an online pattern calculation unit is used to calculate the data pattern corresponding to each homogeneous data range according to the pattern cube; an insight generation unit is used to perform common and different analysis on the data pattern of each homogeneous data range to obtain the corresponding insight; a recommendation unit is used to perform value analysis on all insights and generate the most valuable top-k insights as insight results.
[0007] The data insight device for exploratory data analysis provided by the present invention may also have the following features: wherein the aggregation methods include "SUM", "MAX", "AVG" and "MIN".
[0008] The data insight device for exploratory data analysis provided by the present invention may also have the following features: wherein the expression of the data cell is: cell data =<a1, a2, ...a i :value>, where cell data is the data cell, i is the data cell cell data The total number of dimension attributes in the corresponding dimension attribute combination, a i is the specific value of the i-th dimension attribute in the dimension attribute combination, and value is the data cell cell data The aggregation result of the measurement attributes in the corresponding dimension attribute combination after the corresponding aggregation method is performed.
[0009] The data insight device for exploratory data analysis provided by the present invention may also have the following features: wherein the expression of the pattern cell is: cell pattern =<a1, a2, ...a i : pattern_dict>, where cell pattern is the mode cell, i is the mode cell cell pattern The total number of dimension attributes in the corresponding single-value data range, a i is the specific value of the i-th dimension attribute in the single-value data range, and pattern_dict is the pattern cell cell pattern The data pattern result obtained by performing data pattern calculation on the corresponding single-value data range. agg(m) is the aggregation result after the measurement attribute m is aggregated in the agg way. There is only one dimension attribute value "ALL" in the pattern cell, and "ALL" is all the optional values of the dimension attribute.
[0010] In the data insight device for exploratory data analysis provided by the present invention, it can also have the following characteristics: wherein, the analysis instruction includes the user's value of at least one dimensional attribute, the data range is a single-value data range and a multi-value data range including the values, and the multi-value data range is obtained by selecting the corresponding single-value data range from the pattern cube and performing an aggregation operation.
[0011] In the data insight device for exploratory data analysis provided by the present invention, it can also have the following characteristics: wherein, a homogeneous data range includes multiple sub-data ranges, the sub-data ranges are the data ranges corresponding to the homogeneous data range, and the data ranges obtained by expanding the values of the dimensional attributes of the data range.
[0012] In the data insight device for exploratory data analysis provided by the present invention, it can also have the following characteristics: wherein, the online pattern calculation unit includes: a first calculation subunit, which is used to calculate the data pattern calculation result in the corresponding pattern cell as the data pattern of the sub-data range belonging to the single-valued data range; a second calculation subunit, which stores pruning inference, and is used to calculate the data pattern of the sub-data range belonging to the multi-valued data range according to the relevant single-valued data range and pruning inference.
[0013] In the data insight device for exploratory data analysis provided by the present invention, it can also have the following characteristics: wherein, the second computing subunit generates a data pattern including the following steps: step S1, obtaining an inference pattern result based on the data pattern calculation result and pruning inference corresponding to the relevant single-value data range; step S2, removing the pattern to be analyzed corresponding to the inference pattern result from all patterns to be analyzed, to obtain a pattern to be calculated; step S3, calculating the patterns to be calculated one by one according to the sub-data range, to obtain the corresponding calculation pattern results; step S4, taking all the inference pattern results and calculation pattern results as the data pattern of the sub-data range.
[0014] In the data insight device for exploratory data analysis provided by the present invention, it can also have the following characteristics: wherein, the data pattern includes significant point_1, significant point_n, dominant point, sudden change point, abnormal point, trend, consistency and periodicity, significant point_1 indicates that the sub-data range has the maximum aggregate value, and satisfies the group that the value is greater than twice the mean and less than half of the total, significant point_n indicates that the sub-data range has the minimum aggregate value, and the value is less than half of the mean, dominant point indicates that the sub-data range has the maximum aggregate value, and the value is greater than half of the total aggregate value, sudden change point indicates that the value of a group in the sub-data range has changed significantly compared with the corresponding aggregate values of the previous and next groups, abnormal point indicates that the aggregate value of a group in the sub-data range deviates significantly from the aggregate values of other groups, trend indicates that the aggregate values of all groups in the sub-data range combine to form increasing or decreasing values, consistency indicates that the aggregate values of all groups in the sub-data range are very uniform, and periodicity indicates that the sub-data range satisfies the minimum period value of the group's aggregate value in a periodic manner.
[0015] The data insight device for exploratory data analysis provided by the present invention may also have the following features: wherein, the commonality and difference analysis is to identify the commonalities and anomalies of the data patterns corresponding to each sub-data range within the same homogeneous data range.
[0016] Functions and Effects of the Invention
[0017] According to the data insight device for exploratory data analysis involved in the present invention, because the data pattern of the single-value data range is pre-calculated as a pattern cell through the offline construction module, and the data of different aggregation methods under various dimensional attributes and measurement attributes are used as data cells; through the online analysis module, the data range and homogeneous data range are generated according to the analysis instruction, and the pattern cube composed of the pattern cell and the data cell and the pruning inference are used to perform pattern pruning on each sub-data range to determine the data pattern that must exist, the data pattern that must not exist, and the uncertain data pattern, so as to calculate the uncertain data pattern one by one, obtain the data pattern of each sub-data range, and then analyze the similarities and differences to obtain the insight result. Therefore, the data insight device for exploratory data analysis of the present invention can avoid repeated calculation of the data range pattern and improve the efficiency of insight discovery. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 is a schematic diagram of the working principle of the data insight device in an embodiment of the present invention;
[0019] Figure 2 is a block diagram of a data insight device in an embodiment of the present invention;
[0020] Figure 3 is a schematic diagram of a data cell and a single-value data range in a three-dimensional Cuboid in an embodiment of the present invention;
[0021] Figure 4 is a schematic diagram of various data modes in an embodiment of the present invention;
[0022] Figure 5 is a schematic diagram of a three-dimensional Cuboid including a pattern cell in an embodiment of the present invention;
[0023] Figure 6 It is a schematic diagram of the working principle of the data mode of the online analysis module generating the data range in the embodiment of the present invention;
[0024] Figure 7 is a schematic diagram of a flow chart of a second computing subunit generating a data pattern in an embodiment of the present invention;
[0025] Figure 8 is a schematic diagram of a process of data insight in an embodiment of the present invention;
[0026] Fig. 9 It is a schematic diagram of the interactive insight discovery efficiency results of each method in the embodiments of the present invention. DETAILED DESCRIPTION
[0027] In order to make the technical means, creative features, objectives and effects achieved by the present invention easy to understand, the following embodiments and the accompanying drawings specifically illustrate the data insight device for exploratory data analysis of the present invention.
[0028] In this embodiment, a data insight device for exploratory data analysis is provided, which is used to obtain insight results of a target data set according to the analysis instructions of the user. The data in the target data set is divided into measurement attributes and dimension attributes, the data of the measurement attributes are numerical, and the data of the dimension attributes are non-numerical. The analysis instruction includes the user's value for at least one dimension attribute.
[0029] In this embodiment, a product sales data set is used as the target data set to illustrate the data insight device. The product sales data set includes four attributes: sales, customer gender, age group, and quarter. Sales is a measurement attribute, and the other three attributes are dimension attributes. Customer gender includes male and female, age group includes young and old, and quarter includes 1, 2, 3, and 4.
[0030] Figure 1 It is a schematic diagram of the working principle of the data insight device in an embodiment of the present invention.
[0031] like Figure 1 As shown, in the offline stage, the data insight device aggregates the metadata information of the data set, namely the dimension attributes and measurement attributes, to form an initialized data cube, namely each data cell, and at the same time generates a single-value data range based on the dimension attributes and measurement attributes, and then obtains the pattern cell through data pattern analysis, and combines all the pattern cells and data cells to obtain the initialized insight cube, namely the pattern cube.
[0032] In the online stage, users input analysis instructions through the interactive exploration interface of the data insight device to conduct exploration, generate or parse data ranges according to the analysis instructions, thereby obtaining single-value data ranges, multi-value data ranges and drill-down data ranges, and then perform data pattern analysis on the data range through the pattern cube, and generate corresponding homogeneous data ranges for the data ranges, and then perform corresponding insights on the homogeneous data ranges, that is, perform data pattern analysis and analyze similarities and differences, and finally obtain insight results and generate insight visualization, so as to display the visualization results, that is, insight views, to users through the interactive exploration interface.
[0033] Figure 2 is a block diagram of a data insight device in an embodiment of the present invention.
[0034] like Figure 2 As shown, the data insight device 100 includes an offline construction module 10, an online analysis module 20, and a control module 30 for controlling the operation of the above modules.
[0035] The offline construction module 10 is used to construct a corresponding pattern cube according to the target data set, and includes a grouping unit 101 , an aggregation unit 102 , a single-value data range generation unit 103 , an offline pattern calculation unit 104 and an offline storage unit 105 .
[0036] In this embodiment, the pattern cube PattemCube is composed of multiple i-CuboidSets (1≤i≤n), and its expression is:
[0037] PatternCube={CuboidSet1,...CuboidSet i , ..., CuboidSet n},
[0038]
[0039] Where DimSet ij Cuboid(DimSet ij ) contains DimSet ij The aggregation results of all measured attributes after grouping and the pattern analysis results of part of the data range, namely data cells and pattern cells, CuboidSet i It is composed of all i-dimensional Cuboids.
[0040] The specific content and construction calculation method of the above-mentioned pattern cube are explained below through each unit in the offline construction module 10.
[0041] The grouping unit 101 is used to group all dimensional attributes, and combine each grouping result with each measurement attribute to obtain multiple dimensional attribute combinations.
[0042] In this embodiment, the dimension attribute combinations of the product sales data set include [customer gender, age group], [customer gender, quarter], [age group, quarter] and [customer gender, age group, quarter].
[0043] The aggregation unit 102 is used to combine the attributes of each dimension, and aggregate the corresponding data in the target data set through various aggregation methods to obtain corresponding data cells.
[0044] The aggregation methods include "SUM", "MAX", "AVG" and "MIN".
[0045] In this embodiment, SQL statements are used to aggregate various dimension attribute combinations. The SQL statements corresponding to the product sales data set include:
[0046] SELECT SUM(sales), MIN(sales), MAX(sales), AVG(sales), customer gender, age group FROM data set GROUP BY customer gender, age group.
[0047] SELECT SUM(sales), MIN(sales), MAX(sales), AVG(sales), customer gender, quarter FROM data set GROUP BY customer gender, quarter.
[0048] SELECT SUM(sales), MIN(sales), MAX(sales), AVG(sales), age group, quarter FROM data set GROUP BY age group, quarter.
[0049] SELECT SUM(sales), MIN(sales), MAX(sales), AVG(sales), customer gender, customer gender, age group, quarter FROM data set GROUP BY customer gender, age group, quarter.
[0050] Among them, Cuboid(DimSet ij ) is:
[0051] cell data = <a1,a2,…a i :value>,
[0052] In the formula, cell data is the data cell, i is the data cell cell data The total number of dimension attributes in the corresponding dimension attribute combination, a i is the specific value of the i-th dimension attribute in the dimension attribute combination, and value is the data cell cell data The aggregation result of the measurement attributes in the corresponding dimension attribute combination after the corresponding aggregation method is performed.
[0053] For example, in the product sales data set, the specific content of Cuboid([[customer gender, age group], SUM(sales)]) corresponding to [customer gender, age group] is:
[0054] Customer Gender Age Group SUM(Sales) male youth 1 million male elderly 900,000 female youth 800,000 female elderly 700,000
[0055] The single-value data range generating unit 103 is used to perform single-value splitting and reorganization on each dimensional attribute combination to obtain a corresponding single-value data range.
[0056] For example, in the product sales data set, the single-value data range can be expressed as [A, B, C, D], where A and D are different dimensional attributes with specific values, and A represents the data subspace, D represents the data subset information that the user is interested in, B is the remaining dimensional attribute among the three dimensional attributes, representing the data partition attribute, and C is an aggregation method of the measurement attribute, representing the data measurement object. The single-value data range with customer gender as male as the data subspace, quarter as 1 as the data subset information of interest, and sales aggregation method as SUM is [customer gender = 'male', age group, SUM (sales), quarter = 1]. Therefore, the product sales data set can be split and reorganized into 192 single-value data ranges of the above types.
[0057] Figure 3 It is a schematic diagram of data cells and single-value data ranges in a three-dimensional Cuboid in an embodiment of the present invention.
[0058] like Figure 3 As shown, the dimensional attributes corresponding to the data cell are region Region, category Category and department Segment, and the aggregation operation is Max(discount). The data cell with a dotted circle represents cell = <West, Furniture, Home Office: 0.5>. The data cell with a solid circle represents a single-value data range with a data range of <Region: "West", Category, MAX(discount), Segment: "Home Office">, and the data cell can be reused by other single-value data ranges with the same dimensional attribute value and aggregation operation, such as <Segment: "HomeOffice", Category, MAX(discount), Region: "West">, which also corresponds to this set of data.
[0059] In this embodiment, the data cell is constructed by an SQL statement, for example, the SQL statement "SELECT Region, Category, Segment, MAX (discount) FROM superstore GROUP BY Region, Category, Segment;" can be constructed to obtain Figure 3 The data cells shown. For example, for a single-value data range of [age group = 'youth', quarter, SUM (sales), customer gender = 'male'], the corresponding SQL statement is "SELECT SUM (sales), quarter FROM data set WHERE age group = 'youth' AND customer gender = 'male' GROUP BY quarter".
[0060] The offline pattern calculation unit 104 is used to perform data pattern calculation on each single-value data range to obtain a corresponding pattern cell.
[0061] The expression of the mode cell is:
[0062] cell pattern =<a1, a2, ...a i :pattern_dict>,
[0063] Where cellpattern is the pattern cell, i is the total number of dimension attributes in the single-value data range corresponding to the pattern cell cellpattern, and a i is the specific value of the i-th dimension attribute in the single-value data range, and pattern_dict is the pattern cell cell pattern The data pattern result obtained by performing data pattern calculation on the corresponding single-value data range. agg(m) is the aggregation result after performing aggregation mode agg on the measurement attribute m. There is only one dimension attribute value "ALL" in the pattern cell, and "ALL" is all the optional values of the dimension attribute.
[0064] In this embodiment, the data patterns include significant point 1, significant point n, dominant point, sudden change point, abnormal point, trend, consistency and periodicity.
[0065] Figure 4 It is a schematic diagram of various data modes in an embodiment of the present invention.
[0066] like Figure 4 As shown in the table, the first column is the various data patterns, i.e., pattern types; the second column is the description of the characteristics corresponding to each data pattern, i.e., the highlights of the pattern; and the third column is an example of the highlights of each pattern using the sales volume of Eastern Supermarkets each month in half a year as the data range.
[0067] Among them, outstanding_1 means that the sub-data range has the maximum aggregate value, and the value is greater than twice the mean and less than half of the total. Outstanding_last means that the sub-data range has the minimum aggregate value, and the value is less than half of the mean. Attribute means that the sub-data range has the maximum aggregate value, and the value is greater than half of the total aggregate value. Change_point means that the value of a group in the sub-data range has changed significantly compared with the aggregate values of the previous and next groups. Outlier means that the aggregate value of a group in the sub-data range deviates significantly from the aggregate values of other groups. Trend means that the aggregate values of all groups in the sub-data range combine to form increasing or decreasing values. Evenness means that the aggregate values of all groups in the sub-data range are uniform. Seasonality means that the sub-data range satisfies the minimum period value of the aggregate value of the group.
[0068] Figure 5 Schematic diagram of a three-dimensional Cuboid including a pattern cell in an embodiment of the present invention.
[0069] like Figure 5 As shown, the pattern cell surrounded by a solid line is represented as cell=<West,ALL,Home Office:{″trend″:″increase″,″outlier″:[″Furniture″]}> , indicating that there is a data pattern of increasing and abnormal points in the data range with the category of Furniture.
[0070] The offline storage unit 105 is used to store all data cells and pattern cells as a pattern cube.
[0071] The online analysis module 20 is used to calculate insight results according to analysis instructions and pattern cubes, and includes a data range generation unit 201, a homogeneous data range generation unit 202, an online pattern calculation unit 203, an insight generation unit 204, a recommendation unit 205 and a visualization unit 206.
[0072] Figure 6 It is a schematic diagram of the working principle of the data mode of the online analysis module generating the data range in the embodiment of the present invention.
[0073] like Figure 6As shown, first analyze the data range to confirm whether it contains the drill-down data range, i.e., drill-down ds, i.e., the data range with the number of data partition attributes greater than or equal to 2, the single-value data range, i.e., single-value ds, and the multi-value data range, i.e., multi-value ds. For the single-value data range and the multi-value data range, determine whether there is a corresponding pattern, i.e., the data pattern in the insight cube, i.e., the pattern cube. If not, reuse the data from the pattern cube, i.e., retrieve the data content corresponding to the data range, and then perform pattern analysis on the data range to obtain the corresponding data pattern. If so, the data pattern is reused from the insight cube, that is, the corresponding data pattern is retrieved. For single-valued ds, the corresponding data pattern is directly used as the result; for multi-valued ds, the data pattern corresponding to the single-valued ds contained in it is used to confirm the pattern sure dp that must exist and the pattern impossibledp that must not exist through pruning inference, and then the remaining uncertain pattern possibledp is analyzed in sequence according to the data range corresponding to the multi-valued dp, so as to obtain the judgment results of all the patterns; for drill-down ds, it is first expanded to a homogeneous data range, and then each sub-data range therein is processed according to multi-valued ds or single-valued ds, so as to obtain the corresponding data pattern.
[0074] The data range generating unit 201 is used to generate at least one corresponding data range according to the analysis instruction and the pattern cube.
[0075] The data range includes a single-value data range and a multi-value data range containing values. The multi-value data range is obtained by selecting the corresponding single-value data range from the pattern cube and performing an aggregation operation.
[0076] For example, if a user is interested in data whose gender types include {male, female}, then according to the corresponding analysis instructions, the data ranges in the product sales data set can be obtained as follows: Ds1: [age group = 'youth', quarter, SUM (sales), customer gender = 'male'], Ds2: [age group = 'youth', quarter, SUM (sales), customer gender = 'female'], Ds3: [age group = 'youth', quarter, SUM (sales), customer gender in {male, female}], etc.
[0077] The homogeneous data range generating unit 202 is used to generate homogeneous data ranges corresponding to each data range.
[0078] The homogeneous data range includes multiple sub-data ranges, which are data ranges corresponding to the homogeneous data range and data ranges obtained by expanding the values of the dimension attributes of the data range.
[0079] For example, the homogeneous data range obtained by expanding Ds1 is [[age group = 'youth', quarter, SUM (sales), customer gender = 'male'], [age group = 'elderly', quarter, SUM (sales), customer gender = 'male']].
[0080] The online pattern calculation unit 203 is used to calculate the data pattern corresponding to each homogeneous data range according to the pattern cube, and includes a first calculation subunit 2031 and a second calculation subunit 2032 .
[0081] The first calculation subunit 2031 is used to calculate the data pattern in the corresponding pattern cell as the data pattern of the sub-data range belonging to the single-value data range.
[0082] The second calculation subunit 2032 stores pruning inference, and is used to calculate the data mode of the sub-data range belonging to the multi-valued data range according to the related single-valued data range and the pruning inference.
[0083] For example, the data pattern of the single-value data range Ds1 is monotonically increasing and the dominant point is the fourth quarter, and the data pattern of the single-value data range Ds2 is monotonically increasing and the dominant point is the third quarter. According to the pruning inference, the multi-value data range Ds3 must have a monotonically increasing data pattern, and there will not be two types of data patterns: consistency and periodicity. Therefore, it is necessary to analyze and confirm the five data patterns of "significant point_1", "significant point_n", dominant point, sudden change point and abnormal point according to their corresponding data ranges.
[0084] Figure 7 It is a schematic diagram of a flow chart of the second computing subunit generating a data pattern in an embodiment of the present invention.
[0085] like Figure 7 As shown, the second computing subunit generates a data pattern including the following steps:
[0086] Step S1, obtaining an inference pattern result according to the data pattern calculation result and pruning inference corresponding to the relevant single-value data range.
[0087] Step S2, removing the pattern to be analyzed corresponding to the inference pattern result from all the patterns to be analyzed to obtain the pattern to be calculated.
[0088] Step S3, calculating the to-be-calculated patterns one by one according to the sub-data ranges, and obtaining corresponding calculation pattern results.
[0089] Step S4, taking all the inference model results and calculation model results as the data model of the sub-data range.
[0090] The insight generating unit 204 is used to perform commonality and difference analysis on the data patterns of each homogeneous data range to obtain corresponding insights.
[0091] Among them, the commonality and difference analysis is to identify the commonalities and anomalies of the data patterns corresponding to each sub-data range in the same homogeneous data range. For example, if the first three of the four sub-data ranges contained in the homogeneous data range are monotonically increasing, and the remaining one is monotonically decreasing, the commonalities and anomalies of the homogeneous data range can be summarized from the above data patterns.
[0092] The recommendation unit 205 is used to perform value analysis on all insights and generate the most valuable top-k insights as insight results. In this example, top-k=5.
[0093] The visualization unit 206 is used to visualize the insight results and display them to the user.
[0094] The control module 30 stores a control program for controlling the operation of each module.
[0095] The process of performing data insight using the data insight device 100 is described below in conjunction with the accompanying drawings.
[0096] Figure 8 It is a flowchart of data insight in an embodiment of the present invention.
[0097] like Figure 8 As shown, using the data insight device 100 to perform data insight includes the following steps:
[0098] Step T1: grouping all dimensional attributes using the grouping unit 101, and combining each grouping result with each measurement attribute to obtain a plurality of dimensional attribute combinations.
[0099] Step T2, using the aggregation unit 102 to combine the attributes of each dimension, and respectively aggregate the corresponding data in the target data set through various aggregation methods to obtain corresponding data cells.
[0100] Step T3: Use the single-value data range generation unit 103 to perform single-value splitting and reorganization on each dimensional attribute combination to obtain a corresponding single-value data range.
[0101] Step T4: using the offline pattern calculation unit 104 to perform data pattern calculation on each single-value data range respectively to obtain corresponding pattern cells.
[0102] Step T5: using the offline storage unit 105 to store all data cells and pattern cells as a pattern cube.
[0103] Step T6: using the data range generation unit 201 to generate at least one corresponding data range according to the analysis instruction and the pattern cube.
[0104] Step T7: using the homogeneous data range generating unit 202 to generate homogeneous data ranges corresponding to each data range.
[0105] Step T8: using the online pattern calculation unit 203 to calculate the data pattern corresponding to each homogeneous data range according to the pattern cube.
[0106] Step T9, using the insight generation unit 204 to perform commonality and difference analysis on the data patterns of each homogeneous data range to obtain corresponding insights.
[0107] Step T10, using the recommendation unit 205 to perform value analysis on all insights, and generate the most valuable top-k insights as insight results.
[0108] Step T11: Use the visualization unit 206 to visualize the insight result and display it to the user.
[0109] In this implementation, for the Hotel Booking dataset, the workload is tested on the efficiency of interactive insight discovery using the industry's latest automatic insight discovery method, namely MetaInsight, the optimization method of pre-computed data cubes, namely Kylin, and the method using the data insight device 100, namely InsightCube.
[0110] Fig. 9 It is a schematic diagram of the interactive insight discovery efficiency results of each method in the embodiments of the present invention.
[0111] like Fig. 9 As shown, the horizontal axis represents different time budgets, the vertical axis represents the number of insights found in the corresponding time budget, and the number of insights of MetaInsight, Kylin and InsightCube in each time budget is displayed in order from left to right. It can be seen that within the same time budget, the number of insights calculated by the InsightCube method is 184.2% and 154% higher than that of the MetaInsight method and the Kylin method, respectively, which means that the data insight device 100 can significantly improve the efficiency of insight discovery.
[0112] Functions and Effects of the Embodiments
[0113] According to the data insight device for exploratory data analysis involved in this embodiment, the data pattern of the single-value data range is pre-calculated as a pattern cell through the offline construction module, and the data of different aggregation methods under various dimensional attributes and measurement attributes are used as data cells; through the online analysis module, the data range and homogeneous data range are generated according to the analysis instruction, and the pattern cube composed of the pattern cell and the data cell and the pruning inference are used to perform pattern pruning on each sub-data range to determine the data pattern that must exist, the data pattern that must not exist, and the uncertain data pattern, so as to calculate the uncertain data patterns one by one, obtain the data pattern of each sub-data range, and then analyze the similarities and differences to obtain the insight results. In short, this method can avoid repeated calculation of data range patterns and improve the efficiency of insight discovery.
[0114] Those skilled in the art should understand that the present invention is not limited to the above embodiments, and the above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, and these changes and improvements fall within the scope of the present invention to be protected. The scope of protection of the present invention is defined by the attached claims and their equivalents.
Claims
1. A data insight device for exploratory data analysis, used to obtain insight results of a target data set according to a user's analysis instructions, characterized in that: include: An offline construction module, used for constructing a corresponding pattern cube according to the target data set; An online analysis module, used for calculating the insight result according to the analysis instruction and the pattern cube, The data in the target data set are divided into measurement attributes and dimension attributes. The data of the measurement attribute is of numerical type, and the data of the dimension attribute is of non-numerical type. The offline construction module includes: A grouping unit, used to group all the dimensional attributes, and combine each grouping result with each of the measurement attributes to obtain a plurality of dimensional attribute combinations; An aggregation unit, used to aggregate each of the dimension attribute combinations according to the corresponding data in the target data set through various aggregation methods to obtain corresponding data cells; A single-value data range generating unit is used to perform single-value splitting and reorganization on each of the dimension attribute combinations to obtain a corresponding single-value data range; An offline mode calculation unit, used to perform data mode calculation on each of the single-value data ranges to obtain a corresponding mode cell; an offline storage unit, used for storing all the data cells and the pattern cells as the pattern cube, The online analysis module comprises: A data range generating unit, configured to generate at least one corresponding data range according to the analysis instruction and the pattern cube; A homogeneous data range generating unit, used to generate homogeneous data ranges corresponding to each of the data ranges; An online pattern calculation unit, used for calculating the data pattern corresponding to each of the homogeneous data ranges according to the pattern cube; an insight generating unit, configured to perform commonality and difference analysis on the data patterns of each homogeneous data range to obtain corresponding insights; The recommendation unit is used to perform value analysis on all the insights and generate the most valuable top-k insights as the insight results.
2. The data insight device for exploratory data analysis according to claim 1, characterized in that: in, The aggregation methods include "SUM", "MAX", "AVG" and "MIN".
3. The data insight device for exploratory data analysis according to claim 1, characterized in that: in, The expression of the data cell is: cell data =<a1,a2,…a i :value>, In the formula, cell data is the data cell, i is the data cell cell data The total number of the dimensional attributes in the corresponding dimensional attribute combination, a i is the specific value of the i-th dimension attribute in the dimension attribute combination, and value is the data cell cell data The aggregation result of the measurement attributes in the corresponding dimension attribute combination after the corresponding aggregation method is performed.
4. The data insight device for exploratory data analysis according to claim 1, characterized in that: in, The expression of the pattern cell is: cell pattern =<a1,a2,…a i ,agg(m):pattern_dict>, In the formula, cell pattern is the pattern cell, i is the pattern cell cell pattern The total number of the dimension attributes in the corresponding single-value data range, a i is the specific value of the i-th dimension attribute in the single-value data range, and pattern_dict is the pattern cell cell pattern The data pattern result obtained by performing data pattern calculation on the corresponding single-value data range, agg(m) is the aggregation result after performing aggregation mode agg on the measurement attribute m, There is only one dimension attribute in the pattern cell whose value is "ALL", "ALL" is all optional values for this dimension attribute.
5. The data insight device for exploratory data analysis according to claim 1, characterized in that: in, The analysis instruction includes the value of at least one of the dimension attributes taken by the user, The data range is the single-value data range and the multi-value data range containing the value, The multi-valued data range is obtained by selecting the corresponding single-valued data range from the pattern cube and performing an aggregation operation.
6. The data insight device for exploratory data analysis according to claim 1, characterized in that: in, The homogeneous data range includes multiple sub-data ranges, The sub-data range is the data range corresponding to the homogeneous data range, and the data range obtained by expanding the value of the dimensional attribute of the data range.
7. The data insight device for exploratory data analysis according to claim 6, Features: Wherein, the online mode calculation unit includes: A first calculation subunit is used for calculating the data pattern in the corresponding pattern cell as the data pattern of the sub-data range belonging to the single-valued data range; The second calculation subunit stores pruning inference, and is used to calculate the data pattern of the sub-data range belonging to the multi-valued data range according to the related single-valued data range and the pruning inference.
8. The data insight device for exploratory data analysis according to claim 7, Features: The second computing subunit generates the data pattern comprising the following steps: Step S1, obtaining an inference pattern result according to the data pattern calculation result corresponding to the relevant single-valued data range and the pruning inference; Step S2, removing the pattern to be analyzed corresponding to the inference pattern result from all the patterns to be analyzed to obtain a pattern to be calculated; Step S3, calculating the to-be-calculated patterns one by one according to the sub-data ranges to obtain corresponding calculation pattern results; Step S4, taking all the inference model results and the calculation model results as the data model of the sub-data range.
9. The data insight device for exploratory data analysis according to claim 6, characterized in that: in, The data patterns include significant point_1, significant point_n, dominant point, sudden change point, abnormal point, trend, consistency and periodicity. The significant point_1 indicates that the sub-data range has the maximum aggregate value, and the value is greater than twice the mean and less than half of the total value. The significant point_n represents the group in which the sub-data range has the minimum aggregate value, and the value is less than half of the mean. The dominant point represents the group of the sub-data range having the maximum aggregate value, and the value is greater than half of the sum of the aggregate values. The sudden change point indicates that the value of a group in the sub-data range has changed significantly compared with the aggregated values corresponding to the previous and next groups. The outlier indicates that the aggregate value of a certain group in the sub-data range deviates significantly from the aggregate values of other groups. The trend indicates that the aggregate values of all groups in the sub-data range combine to form increasing or decreasing values. The consistency means that the aggregate values of all groups in the sub-data range are uniform. The periodicity indicates that the sub-data range satisfies the minimum period value for the periodicity of the aggregate value of the group.
10. The data insight device for exploratory data analysis according to claim 6, characterized in that: in, The commonality and difference analysis is to identify the commonalities and anomalies of the data patterns corresponding to each sub-data range within the same homogeneous data range.
Citation Information
Patent Citations
Efficient sampling method for exploratory inquiries
CN108776707A
Exploratory data analysis method for multi-dimensional data
CN115357757A
Visualization and manipulation of micro-scale calorimeter chamber data matrices
US20170138803A1
