Data processing program, data processing method and information processing device
By calculating distances and classifying data based on trends, the method addresses inappropriate segment extraction, improving data analysis and machine learning accuracy.
Patent Information
- Application Number
- JP2023024677
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-02-20
- Publication Date
- 2024-08-30
AI Technical Summary
Existing segment extraction methods fail to account for data trends within segments, leading to inappropriate classification and reduced accuracy in data analysis and machine learning processes.
A data processing method that calculates the distance between data points and overall trends in a multi-dimensional space, classifies data into groups based on these distances, and merges segments to maintain trend consistency, using a server to execute these processes.
This approach ensures accurate data classification and reduces data imbalance within segments, enhancing the accuracy of data analysis and machine learning models.
Smart Images

Figure 2024118319000001
Abstract
Description
[Technical field]
[0001] The present invention relates to a data processing program, a data processing method, and an information processing device. [Background technology]
[0002] There is a known method for classifying, for example grouping, data from a data set having multiple numerical attributes based on attribute values, etc. A group obtained by this method may be called a segment. This method may also be called segment extraction or data segmentation. A segment is an example of a partial data set extracted from a data set.
[0003] For example, a data set may be mortgage data including attributes such as income and loan_amount, where there is a relationship between attributes, such as between income and loan_amount, such as a correlation.
[0004] For example, consider a case where home loan data is used for data analysis such as marketing. As an example, segment extraction can be used to extract segments (customer groups) that meet conditions such as income category = 1 (< $20k), loan amount category = 1 (< $500k) from home loan data. This allows the user to compare data within or between customer groups that meet the same conditions for each attribute (e.g., income or loan amount) category.
[0005] One example of a segment extraction method is χ (chi) merge. χ merge is a bottom-up split point determination method that uses the chi-square test. In χ merge, attribute values are discretized, and intervals with no significant difference in the frequency distribution of each data class between adjacent intervals are merged.
[0006] Another example of a segment extraction technique is agglomerative clustering. Agglomerative clustering is a bottom-up clustering method. In agglomerative clustering, each data is placed in a cluster with one element, and the clusters are repeatedly merged according to the distance between the clusters. In agglomerative clustering, the distance between clusters is calculated from attribute values. [Prior art documents] [Patent documents]
[0007] [Patent Document 1] JP 2017-38161 A [Patent Document 2] US Patent Application Publication No. 2018 / 0083995 [Patent Document 3] US Patent Application Publication No. 2019 / 0005112 Summary of the Invention [Problem to be solved by the invention]
[0008] In the above-mentioned segment extraction method, for example, data with similar frequency distributions or attribute values are merged into one segment. Therefore, data that follows the trend of the entire data set and data that does not follow the trend may be mixed in the same extracted segment. In other words, there is a possibility that an appropriate segment may not be obtained by segment extraction.
[0009] Lack of suitable segments can result in, for example, reduced accuracy in various processes that utilize intra-segment or inter-segment data.
[0010] In one aspect, an object of the present invention is to appropriately classify data included in a data set. [Means for solving the problem]
[0011] In one aspect, the data processing program may cause a computer to execute the following processes. The process may calculate a distance between a spatial trend defined by a plurality of numerical attributes of a data set, each data item of which has a plurality of numerical attributes, and each of a plurality of data items included in the data set. The process may also divide the data set into a plurality of groups based on the calculated distance. Furthermore, the process may classify the data sets included in each of the plurality of groups based on the values of the plurality of numerical attributes. Effect of the Invention
[0012] In one aspect, the present invention is capable of appropriately classifying data contained in a data set. [Brief description of the drawings]
[0013] [Figure 1] FIG. 1 is a diagram illustrating an example of a scatter plot of a plurality of data included in a data set. [Diagram 2] FIG. 2 is a diagram showing an example of a heat map of segment populations extracted from the data set shown in FIG. 1. [Diagram 3] FIG. 3 is a diagram showing an example of a merging result of the segments shown in FIG. 2. [Figure 4] FIG. 2 is a diagram showing an example of a trend of data in the scatter diagram shown in FIG. [Diagram 5] FIG. 11 is a diagram illustrating an example of groups divided by a server according to an embodiment. [Figure 6] FIG. 11 is a diagram illustrating an example of data classified by a server according to an embodiment. [Figure 7] FIG. 2 is a block diagram showing an example of a hardware (HW) configuration of a computer that realizes a function of a server as an example of an embodiment. [Figure 8] FIG. 2 is a block diagram illustrating an example of a software configuration of a server according to an embodiment. [Figure 9] FIG. 11 is a diagram illustrating an example of input data. [Figure 10]FIG. 13 is a diagram illustrating an example of a scatter plot of input data. [Figure 11] FIG. 11 is a diagram illustrating an example of a calculation process of a mean square error. [Figure 12] 11 is a diagram for explaining an example of a grouping process of base segments performed by a classification unit; FIG. [Figure 13] 11 is a diagram for explaining an example of a grouping process of base segments performed by a classification unit; FIG. [Figure 14] FIG. 13 is a diagram for explaining an example of a merging condition for base segments. [Figure 15] FIG. 13 is a diagram for explaining an example of a merging process of base segments. [Figure 16] FIG. 13 is a diagram for explaining an example of a merging process of base segments. [Figure 17] FIG. 13 is a diagram for explaining an example of a merging process of base segments. [Figure 18] FIG. 13 is a diagram for explaining an example of a merging process of base segments. [Figure 19] FIG. 13 is a diagram for explaining an example of a merging process of base segments. [Figure 20] FIG. 13 is a diagram for explaining an example of a merging process of base segments. [Figure 21] FIG. 13 is a diagram for explaining an example of a merging process of base segments. [Figure 22] FIG. 13 is a diagram for explaining an example of a merging process of base segments. [Diagram 23] FIG. 13 is a diagram for explaining an example of a merging process of base segments. [Figure 24] FIG. 13 is a diagram for explaining an example of a merging process of base segments. [Diagram 25] FIG. 13 is a diagram for explaining an example of a merging process of base segments. [Figure 26] FIG. 13 is a diagram for explaining an example of a merging process of base segments. [Figure 27] FIG. 13 is a diagram for explaining an example of a merging process of base segments. [Figure 28]10 is a flowchart illustrating an example of an operation of a server according to an embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0014] Hereinafter, the embodiments of the present program, method, and device will be described with reference to the drawings. However, the embodiments shown below are merely examples, and are not intended to exclude the application of various modified examples and techniques not explicitly stated in the embodiments. For example, the present embodiment can be implemented with various modifications without departing from the spirit of the present invention. Furthermore, each figure does not intend to include only the components shown in the figure, but may include other functions, etc.
[0015] [A] Explanation of segment extraction First, segment extraction will be described by taking a case where mortgage loan data having attributes of income and loan amount as a data set.
[0016] Fig. 1 is a diagram showing an example of a scatter diagram of a plurality of data included in a data set. As shown in Fig. 1, the scatter diagram indicated by the symbol A is obtained by plotting data in a two-dimensional space defined by the horizontal axis representing income and the vertical axis representing the amount of loan. The values on the horizontal and vertical axes are values obtained by scaling the actual values of income and loan amount so that they fall within the range of 0.0 to 1.0, respectively.
[0017] Fig. 2 is a diagram showing an example of a heat map of the parameter values of segments extracted from the data set shown in Fig. 1. In the heat map shown by symbol B in Fig. 2, segments shown by square frames are arranged in a two-dimensional space defined by the horizontal axis representing income and the left vertical axis representing loan amount. The parameter values of the segments are indicated by numbers within the square frames, and are expressed by shading such that the hatching within the square frames becomes darker every time the parameter value increases by 1000, as shown on the right vertical axis.
[0018] The scales on the horizontal and vertical axes in Figure 2 respectively divide the ranges of the horizontal and vertical axes shown in Figure 1 into 10 ranks. For example, the segment with the parameter (number of data points): 225 in the lower left corner is a segment with a rank of (1, 1) (income, loan amount).
[0019] As shown in Figure 2, when segments are extracted from a dataset using a combination of multiple attributes (income and loan amount), extreme bias can occur in the population of the extracted segments. For example, the population of the segment with rank (5, 1) shown by code B1 is 8004, while the population of the segment with rank (3, 4) shown by code B2 is 2, a difference of more than 4000 times.
[0020] The segments illustrated in Fig. 2 are the smallest granularity segments obtained by dividing a data set into initial setting intervals (ranks in the example of Fig. 2) according to the range of values of each attribute. Such segments may be referred to as "base segments." A base segment is an example of a base data set.
[0021] Fig. 3 is a diagram showing an example of a result of merging the segments (base segments) shown in Fig. 2. In the heat map shown by reference symbol C in Fig. 3, segments obtained by merging the base segments shown in Fig. 2 using a predetermined segment extraction method are shown in a dotted frame. The population of the segments obtained by merging is shown in bold numbers at the top of the center in the horizontal direction of the dotted frame. Examples of the predetermined segment extraction method include various methods that merge segments based on frequency distribution or similarity of attribute values, such as χ-merge or agglomerative clustering.
[0022] Figure 4 is a diagram showing an example of the data tendency in the scatter diagram shown in Figure 1. In the scatter diagram shown by symbol D in Figure 4, the tendency of the entire data set (overall tendency) is shown by a solid line (see symbol D1). Symbols D2 and D3 in Figure 4 show the tendency of data included in one segment, for example, rank (1-3, 1), among the merged segments shown in Figure 3.
[0023] The symbol D2 indicates the range where the trend of the data included in the part of the base segment of rank (2, 1) and the part of the base segment of rank (3, 1) is similar to the overall trend. The symbol D3 indicates the range where the trend of the data included in the part of the base segment of rank (1, 1) and the part of the base segment of rank (2, 1) is different from the overall trend.
[0024] 3 is obtained by simply merging base segments with similar data frequency distributions or attribute values, without considering whether the trends of the data included in the base segments are similar to the overall trends. For this reason, base segments that are different from the overall trends of the data set may be merged, or a base segment that includes data that follows the overall trend may be merged with a base segment that includes data that differs from the overall trend. In other words, there is a possibility that an appropriate segment may not be obtained by segment extraction.
[0025] Failure to obtain an appropriate segment may result in a decrease in accuracy in various processes that use data within or between segments, such as data analysis using an extracted segment (e.g., a customer group). For example, analysis such as data comparison may fail or no valid comparison results may be obtained because data within a segment does not match the overall trend. In addition, for example, when a data set processed based on an extracted segment is used as training data to perform machine learning for a machine learning model, the accuracy of inference using the trained machine learning model may decrease.
[0026] In one aspect, a method for classifying a data set into appropriate segments in one embodiment is described. In another aspect, a method for reducing the bias in the number of data items between segments (see FIG. 2) is described.
[0027] [B] Description of a method according to an embodiment In one embodiment, a device that classifies data included in a data set, for example a server, may execute the following processes (i) to (iii).
[0028] (i) The server calculates the distance between a spatial trend defined by a plurality of numerical attributes of a data set, each piece of data having a plurality of numerical attributes, and each of a plurality of data included in the data set.
[0029] (ii) The server divides the data set into multiple groups based on the calculated distances.
[0030] (iii) The server classifies, for each of the plurality of groups, the data sets included in the group based on the values of the plurality of numerical attributes.
[0031] As a result, the server according to the embodiment can classify the data set into partial data sets according to the relationships between the attributes.
[0032] Fig. 5 is a diagram for explaining an example of groups divided by a server according to an embodiment. Reference character E in Fig. 5 is an enlarged view of a part of a scatter diagram in which a plurality of data included in the housing loan data are plotted in a two-dimensional space defined by the horizontal axis representing income and the vertical axis representing the loan amount, and reference character F is the scatter diagram illustrated in Fig. 1.
[0033] In the scatter plot denoted by symbol F, a straight line representing the overall trend of the data set is denoted by symbol F1, the range (area) of the first segment is denoted by symbol F2, and the range (area) of the second segment is denoted by symbol F3.
[0034] In the scatter diagram indicated by E, the line representing the overall trend of the data set is indicated by E1, the line representing the trend of the data included in the segment indicated by F2 is indicated by E2, and the line representing the trend of the data included in the segment indicated by F3 is indicated by E3. Note that the lines indicated by E1 to E3 and F1 may be regression lines of the data, for example.
[0035] The line indicated by symbol E2 has a similar slope to the line indicated by symbol E1, so the first segment (see symbol F2) can be said to be a segment similar to the overall trend. On the other hand, the line indicated by symbol E3 has a slope that differs from the line indicated by symbol E1 by a certain amount, so the second segment (see symbol F3) can be said to be a segment that differs from the overall trend.
[0036] According to one embodiment of a server, by the process (ii) above, the data included in the housing financing data can be divided so that the data included in the range of the first segment and the data included in the range of the second segment are included in different groups.
[0037] Fig. 6 is a diagram for explaining an example of data classified by a server according to an embodiment. Symbol G in Fig. 6 indicates a segment classified by the method shown in Fig. 3, and symbol H in Fig. 6 indicates a segment classified by a server according to an embodiment.
[0038] In the heat map shown by reference character G1 and the scatter plot shown by reference character G2 in FIG. 6, as described above, segments that differ from the overall trend of the housing loan data are merged.
[0039] On the other hand, in the heat map shown by symbol H1 and the scatter plot shown by symbol H2 in Fig. 6, for example, in a group of multiple data, e.g., base segments, which have the same degree of similarity to the overall trend, the data (data set) included in the base segment is classified based on the values of multiple numerical attributes. As an example, multiple base segments are merged into one segment.
[0040] According to the server of one embodiment, the above process (iii) can realize segment merging according to data trends. In addition, the server can reduce bias in the number of data items between segments by setting an upper limit on the number of data items included in the merged segment.
[0041] [C] Hardware configuration example The server 1 (see FIG. 8) according to one embodiment may be a virtual server (VM: Virtual Machine) or a physical server. The functions of the server 1 may be realized by one computer or by two or more computers. Furthermore, at least a part of the functions of the server 1 may be realized using hardware (HW) resources and network (NW) resources provided by a cloud environment.
[0042] 7 is a block diagram showing an example of a hardware (HW) configuration of a computer 10 that realizes the functions of the server 1 as an example of an embodiment. When multiple computers are used as HW resources that realize the functions of the server 1, each computer may have the HW configuration shown in FIG.
[0043] As shown in FIG. 7, the computer 10 may, as a HW configuration, illustratively include a processor 10a, a graphics processing unit 10b, a memory 10c, a storage unit 10d, an IF (Interface) unit 10e, an IO (Input / Output) unit 10f, and a reading unit 10g.
[0044] The processor 10a is an example of a processing unit that performs various controls and calculations. The processor 10a may be connected to each block in the computer 10 via a bus 10j so that they can communicate with each other. The processor 10a may be a multiprocessor including a plurality of processors, a multicore processor having a plurality of processor cores, or a configuration having a plurality of multicore processors.
[0045] Examples of the processor 10a include integrated circuits (ICs) such as a CPU, MPU, APU, DSP, ASIC, and FPGA. Note that a combination of two or more of these integrated circuits may be used as the processor 10a. CPU is an abbreviation for Central Processing Unit, and MPU is an abbreviation for Micro Processing Unit. APU is an abbreviation for Accelerated Processing Unit. DSP is an abbreviation for Digital Signal Processor, ASIC is an abbreviation for Application Specific IC, and FPGA is an abbreviation for Field-Programmable Gate Array.
[0046] The graphics processing device 10b controls screen display for an output device such as a monitor in the IO unit 10f. The graphics processing device 10b may also have a configuration as an accelerator that executes machine learning processing and inference processing using a machine learning model. The graphics processing device 10b may be various types of arithmetic processing device, such as a GPU (Graphics Processing Unit), an APU, a DSP, an ASIC, or an integrated circuit (IC) such as an FPGA.
[0047] The memory 10c is an example of HW that stores various data, programs, and other information. The memory 10c may be, for example, one or both of a volatile memory such as a dynamic random access memory (DRAM) and a non-volatile memory such as a persistent memory (PM).
[0048] The storage unit 10d is an example of HW that stores various data, programs, and other information. Examples of the storage unit 10d include various storage devices such as a magnetic disk device such as a hard disk drive (HDD), a semiconductor drive device such as a solid state drive (SSD), and a nonvolatile memory. Examples of the nonvolatile memory include a flash memory, a storage class memory (SCM), and a read only memory (ROM).
[0049] The storage unit 10d may store a program 10h (data processing program) that realizes all or part of the various functions of the computer 10.
[0050] For example, the processor 10a of the server 1 can implement the function of a control unit 20 (see FIG. 8) described later by loading a program 10h stored in the storage unit 10d into the memory 10c and executing it.
[0051] The IF unit 10e is an example of a communication IF that controls the connection and communication between the server 1 and other computers. For example, the IF unit 10e may include an adapter that complies with electrical communication (e.g., LAN (Local Area Network)) such as Ethernet (registered trademark) or optical communication such as FC (Fibre Channel). The adapter may support one or both of wireless and wired communication methods.
[0052] The program 10h may be downloaded to the computer 10 from a network via the communication IF and stored in the storage unit 10d.
[0053] The IO unit 10f may include one or both of an input device and an output device. Examples of the input device include a keyboard, a mouse, and a touch panel. Examples of the output device include a monitor, a projector, and a printer. The IO unit 10f may also include a touch panel in which the input device and the display device are integrated. The output device may be connected to the graphics processing device 10b.
[0054] The reading unit 10g is an example of a reader that reads out data or program information recorded on the recording medium 10i. The reading unit 10g may include a connection terminal or device to which the recording medium 10i can be connected or inserted. Examples of the reading unit 10g include an adapter that complies with USB (Universal Serial Bus) or the like, a drive device that accesses a recording disk, and a card reader that accesses a flash memory such as an SD card. The recording medium 10i may store a program 10h, and the reading unit 10g may read the program 10h from the recording medium 10i and store it in the storage unit 10d.
[0055] Examples of the recording medium 10i include non-transitory computer-readable recording media such as magnetic / optical disks and flash memories. Examples of the magnetic / optical disks include flexible disks, CDs (Compact Discs), DVDs (Digital Versatile Discs), Blu-ray Discs, and HVDs (Holographic Versatile Discs). Examples of the flash memory include semiconductor memories such as USB memories and SD cards.
[0056] The above-described HW configuration of the computer 10 is an example. Therefore, the HW in the computer 10 may be increased or decreased (for example, adding or deleting any block), divided, or integrated in any combination, or buses may be added or deleted, etc.
[0057] [D] Software configuration example 8 is a block diagram showing an example of a software configuration of the server 1 as an example of an embodiment. The server 1 is an example of an information processing device or a computer.
[0058] As shown in FIG. 8, the server 1 may illustratively include a base segment extraction unit 12, an overall trend extraction unit 13, an index value calculation unit 14, a classification unit 15, a merging unit 16, and a training data generation unit 17. The server 1 may also include a machine learning unit 18 when performing machine learning processing. The server 1 may also include an inference unit 19 when performing inference processing. The blocks 12 to 19 included in the server 1 are an example of a control unit 20. The functions of the control unit 20 may be realized, for example, by the processor 10a of the computer 10 shown in FIG. 7 executing a program 10h deployed in the memory 10c.
[0059] 8, the server 1 may exemplarily include a storage area capable of storing the input data 11a, the base segments 11b, the overall trend 11c, the index value 11d, the classified base segments 11e, the merged segments 11f, and the training data 11g. When the server 1 includes a machine learning unit 18, the storage area may be capable of storing the machine learning model 11h. When the server 1 includes an inference unit 19, the storage area may be capable of storing the inference data 11i and the inference result 11j.
[0060] The storage area of the server 1 may be realized by, for example, one or both of the storage areas of the memory 10c and the storage unit 10d of the computer 10 shown in FIG.
[0061] The server 1 may, for example, receive at least one of the input data 11a, the untrained machine learning model 11h, and the inference data 11i from another computer (not shown) via the IF unit 10e and a network, and store them in a memory area.
[0062] The server 1 may also transmit at least one of the merged segments 11f, the training data 11g, the trained machine learning model 11h, and the inference result 11j stored in the storage area to another computer (not shown) via the IF unit 10e and the network. The server 1 may also transmit at least one of intermediate data, for example, data 11b to 11e, to another computer (not shown) via the IF unit 10e and the network.
[0063] Fig. 9 is a diagram showing an example of input data 11a. The input data 11a is an example of a data set, for example, housing loan data. As shown in Fig. 9, the input data 11a is a set of data (entries) having two attributes, income (income) and loan amount (loan_amount).
[0064] Income and loan amount are numeric attributes whose attribute values are numeric values. In the example of FIG. 9, the income numeric value is a value obtained by scaling the actual income numeric value to fall within the range of 0.0 to 1.0 according to the numeric range of the actual income. Also, the loan amount numeric value is a value obtained by scaling the actual loan amount numeric value to fall within the range of 0.0 to 1.0 according to the numeric range from the minimum to maximum of the actual loan amount.
[0065] 9 shows an example in which the input data 11a has 10 data items (entries), but in reality, the input data 11a may have a large number of data items (for example, 1000 or more). The input data 11a may also include one or both of other numeric attributes and non-numeric attributes in addition to the attributes shown in FIG.
[0066] The base segment extraction unit 12 extracts base segments 11b from the input data 11a. For example, the base segments 11b are segments of the smallest granularity obtained by dividing the input data 11a into initial setting intervals according to the range of values of each attribute.
[0067] Fig. 10 is a diagram showing an example of a scatter diagram of the input data 11a. The scatter diagram shown by reference symbol I in Fig. 10 is a two-dimensional space defined by the horizontal axis representing income and the vertical axis representing the loan amount, in which each of the multiple data included in the input data 11a is plotted.
[0068] As shown by reference symbol I1 in Fig. 10, the base segment 11b is, for example, a rectangular region segment in which the numerical ranges (0.0 to 1.0) of the income and loan amount are divided (segmented) into a predetermined number (for example, 10). For example, the initial setting interval of the base segment 11b is 0.1 on both the horizontal and vertical axes.
[0069] The base segment 11b may include information such as the position of the segment in space (eg, the range on each axis), information for identifying data included in (belonging to) the segment, the number of data included in the segment, and so on.
[0070] In order to reduce the processing load, for example, the server 1 may limit the base segments 11b to be processed to those having a predetermined number of data or more. In the following description, it is assumed that the server 1 processes base segments 11b having five or more data.
[0071] The overall trend extraction unit 13 extracts an overall trend 11c from the input data 11a. The overall trend 11c is an example of a trend in space defined by multiple numerical attributes of the input data 11a. The overall trend 11c may be, for example, a mathematical formula expressing the distribution trend of multiple data included in the input data 11a by a straight line, a curve, or a combination of these. As an example, the overall trend 11c may be calculated by various regression analyses of multiple data included in the input data 11a. In one embodiment, the overall trend 11 may be a regression line calculated as an example of the result of the regression analysis. As a calculation method of the overall trend 11c by the overall trend extraction unit 13, various known methods may be adopted.
[0072] 10 is an example of a regression line of the input data 11a. The regression line indicated by I2 is expressed as y=0.3687x+0.0857 when the horizontal axis of the scatter diagram indicated by I is the x-axis and the vertical axis is the y-axis.
[0073] The index value calculation unit 14 calculates an index value 11d based on the base segment 11b and the overall trend 11c. The index value 11d is an example of a distance between the overall trend 11c and each piece of data included in the input data 11a. In one embodiment, the index value 11d may be calculated for each base segment 11b.
[0074] As the index value 11d, for example, various index values that indicate the distance between data groups may be used, and as one example, the mean squared error (MSE) may be used.
[0075] For example, the index value calculation section 14 may calculate, for each base segment 11b, the MSE between the overall trend 11c and the data included in that base segment 11b.
[0076] FIG. 11 is a diagram showing an example of a calculation process of the mean square error (MSE). In FIG. 11, attention is focused on a certain basis segment 11b (see dashed frame) including n (n is an integer of 1 or more) pieces of data. The data in the basis segment 11b is represented by i (i is an integer of 1 to n), and the value of the income (horizontal axis) and the value of the loan amount (vertical axis) of the data i are respectively represented by x i and y i Then, the MSE may be calculated by the following formula (1):
number
[0077] Hereinafter, y hat will be expressed as y^. In the above formula (1), y^ i is the regression line y^ of x=x i The regression line is y^=0.3687x+0.0857.
[0078] In this way, the above process (i) by the server 1 may be executed by the base segment extraction unit 12, the overall trend extraction unit 13, and the index value calculation unit 14. In other words, the base segment extraction unit 12, the overall trend extraction unit 13, and the index value calculation unit 14 may calculate the distance between a trend in space defined by a plurality of numerical attributes of the input data 11a and each piece of data included in the input data 11a.
[0079] Although the index value calculation unit 14 calculates the MSE for each base segment 11b, this is not limiting. For example, the index value calculation unit 14 may calculate the distance between the overall trend 11c and data at a granularity smaller than that of the base segment 11b, for example, for each data. In this case, the index value calculation unit 14 may perform the calculation with n=1 in the above formula (1).
[0080] The classification unit 15 divides the input data 11a into a plurality of groups based on the distances calculated by the index value calculation unit 14, thereby causing the server 1 to execute the above process (ii).
[0081] The classification unit 15 may, for example, compare the MSE, which is an example of the index value 11d, with a predetermined threshold value, and classify each of the base segments 11b into one of a plurality of groups according to the comparison result, thereby acquiring the classified base segments 11e. The classified base segments 11e may be, for example, information in which group identification information is added to each of the base segments 11b.
[0082] Figures 12 and 13 are diagrams for explaining an example of grouping processing of the base segments 11b by the classification unit 15. The scatter plot indicated by symbol J in Figure 12 shows the MSE and the number of data in the base segment 11b for each base segment 11b in the scatter plot indicated by symbol I in Figure 10. Symbol K in Figure 13 shows an example of the grouping result of each base segment 11b based on the MSE and a predetermined threshold value.
[0083] As shown by the symbol K in Fig. 13, the classification unit 15 may classify the basis segments 11b whose MSE is less than a predetermined threshold into a first group indicated by thin diagonal lines, and may classify the basis segments 11b whose MSE is equal to or greater than the predetermined threshold into a second group indicated by coarse diagonal lines. The predetermined threshold may be, for example, designated in advance by the user, and is 0.01 in the example of Fig. 13.
[0084] The smaller the MSE, the closer the distance between the overall trend 11c and the base segment 11b, in other words, the more similar the trend of the data included in the base segment 11b is to the overall trend 11c. On the other hand, the larger the MSE, the farther the distance between the overall trend 11c and the base segment 11b, in other words, the more different the trend of the data included in the base segment 11b is from the overall trend 11c.
[0085] Therefore, the first group can be said to be a group of data included in the base segment 11b having a similar trend to the overall trend 11c among the multiple data included in the input data 11a, while the second group can be said to be a group of data included in the base segment 11b having a different trend from the overall trend 11c among the multiple data included in the input data 11a.
[0086] In one embodiment, the input data 11a is classified into two groups using one threshold, but the present invention is not limited to this. For example, the classification unit 15 may classify the input data 11a into three or more groups using two or more thresholds depending on which of three or more groups the MSE belongs to, which are divided by the two or more thresholds.
[0087] The merging unit 16 performs the above process (iii) by the server 1 by classifying, for each of the plurality of groups, the input data 11a contained in the group based on the values of the plurality of numerical attributes.
[0088] The merging unit 16 may, for example, acquire a merged segment 11f by merging one or more base segments 11b for each group in the classified base segments 11e based on the positional (arrangement) relationship between the base segments 11b in the same group. The merged segment 11f is an example of a partial data set, and may be, for example, information in which identification information of a segment (segment after merging) is added to each of the base segments 11b.
[0089] For example, the merging unit 16 may merge one or more base segments 11b in accordance with a predetermined merging condition. The merging condition may be, for example, a condition including all of the following (a) to (d).
[0090] (a) The base segment 11b in space from which the determination of merging starts is the base segment 11b located at the minimum or maximum value of each axis. For example, the merging unit 16 starts merging from the base segment 11b including the minimum or maximum value data of each of multiple numerical attributes in the two-dimensional space.
[0091] In one embodiment, the merging unit 16 starts merging determination from the base segment 11b with the minimum value (0.1 to 0.2) on the horizontal axis and the minimum value (0.0 to 0.1) on the vertical axis in the example of FIG. 13, in other words, the base segment 11b at the bottom left.
[0092] (b) The merging unit 16 merges adjacent base segments 11b in the same group. "Adjacent base segments 11b" may mean two base segments 11b in which the numerical range of one axis among multiple axes in space is continuous and the numerical ranges of all other axes are identical.
[0093] (c) The number of data items contained in the merged segment is less than N (N is an integer). N may be specified in advance by, for example, a user. In one embodiment, N=200. For example, the merging unit 16 merges adjacent base segments 11b together until the number of data included in a segment obtained by merging the base segments 11b together satisfies a predetermined condition.
[0094] The predetermined condition may be, for example, that the number of data included in a segment obtained by merging base segments 11b together exceeds a predetermined number (e.g., N). In this case, the merging unit 16 may merge adjacent base segments 11b together until the number of data exceeds N=200, for example.
[0095] (d) The merged segments form a rectangle. Fig. 14 is a diagram for explaining an example of a merging condition for the base segments 11b. In the example of Fig. 14, it is assumed that the three base segments 11b (see symbol L) indicated by solid lines are adjacent base segments 11b belonging to the same group. The merging unit 16 merges the base segments 11b at the bottom left and top left of the page (see symbol L1) in accordance with the above condition (b).
[0096] On the other hand, after merging L1, the merging unit 16 determines whether or not to merge the base segments 11b at the top left and top right of the page, but after the merging, the shape of the three base segments 11b is not rectangular (see L2). Thus, if the segment after merging base segments 11b that satisfy the above condition (b) does not become rectangular, the merging unit 16 suppresses the merging of the base segments 11b according to the above condition (d). In this way, the merging unit 16 merges adjacent base segments 11b so that the segment becomes rectangular.
[0097] The rectangular shape of the base segment 11b in the two-dimensional space is an example of the first shape. The shape of the base segments 11b after merging is an example of the second shape. That is, it can be said that the merging unit 16 merges adjacent base segments 11b so that the shape of the area including the base segments 11b in the space becomes the second shape. When the space defined by the multiple numerical attributes is other than two-dimensional, for example, three-dimensional, each of the first and second shapes may be, for example, a rectangular parallelepiped. At least one of the first and second shapes is not limited to the above-mentioned shapes, and may be various geometric shapes.
[0098] The merging unit 16 may repeat the determination of whether or not the base segments 11b can be merged for each group based on the above merging conditions (a) to (d), and may output the merged segment 11f when the determination (classification) of all the base segments 11b is completed. The output of the merged segment 11f may include, for example, displaying the merged segment 11f on the output device (IO unit 10f) of the server 1, notifying the user, transmitting the merged segment 11f to software (application) that uses the merged segment 11f, etc.
[0099] An example of merging processing of base segment 11b by merging unit 16 will be described below with reference to Fig. 15 to Fig. 27. Fig. 15 to Fig. 27 are diagrams for explaining an example of merging processing of base segment 11b. Fig. 15 to Fig. 19 show an example of merging processing in the first group, and Fig. 20 to Fig. 27 show an example of merging processing in the second group.
[0100] 15 to 27, each of the symbols K1 to K12 indicates a segment merged by the merging unit 16 with respect to the grouping result (see symbol K) of the base segments 11b shown in FIG.
[0101] In the following description, when a specific base segment 11b is indicated, it may be expressed using the coordinate position of the base segment 11b (x-axis (income), y-axis (loan amount)). For example, the base segment 11b at the bottom left of FIG. 15 is expressed as the base segment (0.1-0.2, 0.0-0.1).
[0102] First, the merging unit 16 executes the merging process on the first group. Note that the merging unit 16 may start the merging process from any one of the multiple groups.
[0103] 15, the merging unit 16 merges the base segment 11b at the bottom left with the base segment (0.1-0.2, 0.1-0.2) above it on the paper surface to obtain a merged segment K1. The number of data points in the merged segment K1 is 25, which is less than N=200. The merging unit 16 determines whether or not the merged segment K1 can be merged with the base segment (0.2-0.3, 0.1-0.2), but since the merged segment will not form a rectangle (does not satisfy the above condition (d)), it suppresses further merging and determines the merged segment K1.
[0104] As shown in Fig. 16, the merging unit 16 merges four base segments 11b from base segment (0.2-0.3, 0.1-0.2) to base segment (0.3-0.4, 0.2-0.3) to obtain merged segment K2. The number of data points in merged segment K2 is 199, which is less than N=200. The merging unit 16 determines whether or not to merge merged segment K2 with base segment (0.4-0.5, 0.1-0.2) and base segment (0.4-0.5, 0.2-0.3). However, since the number of data points would be greater than or equal to N if merged (not satisfying the above condition (c)), further merging is suppressed and merged segment K2 is determined.
[0105] 17, the merging unit 16 merges three base segments 11b from base segment (0.4-0.5, 0.1-0.2) to base segment (0.4-0.5, 0.3-0.4) to obtain merged segment K3 (number of data: 126). Since further merging would no longer satisfy the above condition (d), the merging unit 16 suppresses further merging and determines merged segment K3.
[0106] 18, the merging unit 16 merges four base segments 11b from base segment (0.5-0.6, 0.2-0.3) to base segment (0.6-0.7, 0.3-0.4) to obtain merged segment K4 (data number: 160). Since further merging would not satisfy the above condition (d), the merging unit 16 suppresses further merging and determines merged segment K4.
[0107] 19, the merging unit 16 merges six base segments 11b from base segment (0.7-0.8, 0.3-0.4) to base segment (0.9-1.0, 0.4-0.5) to obtain merged segment K5 (data number 125). Since there are no other unmerged base segments 11b adjacent to merged segment K5 in the first group (does not satisfy the above condition (b)), the merging unit 16 suppresses further merging and determines merged segment K5.
[0108] Next, the merging unit 16 executes the merging process for the second group.
[0109] 20, the merging unit 16 merges four base segments 11b from base segment (0.2-0.3, 0.0-0.1) to base segment (0.5-0.6, 0.0-0.1) to obtain merged segment K6 (data number 55). Since further merging would not satisfy the above condition (d), the merging unit 16 suppresses further merging and determines merged segment K6.
[0110] 21, the merging unit 16 acquires base segments (0.3 to 0.4, 0.3 to 0.4) as one merged segment K7 (the number of data items is 23). Since there is no other unmerged base segment 11b adjacent to the merged segment K7 in the second group (the condition (b) above is not satisfied), the merging unit 16 suppresses further merging and confirms the merged segment K7.
[0111] 22, the merging unit 16 merges six base segments 11b from base segment (0.4-0.5, 0.4-0.5) to base segment (0.6-0.7, 0.5-0.6) to obtain merged segment K8 (number of data: 69). Since further merging would not satisfy the above condition (d), the merging unit 16 suppresses further merging and determines merged segment K8.
[0112] 23, the merging unit 16 merges five base segments 11b from base segment (0.5-0.6, 0.1-0.2) to base segment (0.9-1.0, 0.1-0.2) to obtain merged segment K9 (number of data: 80). Since further merging would not satisfy the above condition (d), the merging unit 16 suppresses further merging and determines merged segment K9.
[0113] 24, the merging unit 16 merges three base segments 11b from base segment (0.7-0.8, 0.2-0.3) to base segment (0.9-1.0, 0.2-0.3) to obtain merged segment K10 (number of data: 44). Since there are no other unmerged base segments 11b adjacent to merged segment K10 in the second group (does not satisfy the above condition (b)), the merging unit 16 suppresses further merging and determines merged segment K10.
[0114] 25, the merging unit 16 merges three base segments 11b from base segment (0.7-0.8, 0.5-0.6) to base segment (0.9-1.0, 0.5-0.6) to obtain merged segment K11 (number of data: 33). Since further merging would no longer satisfy the above condition (d), the merging unit 16 suppresses further merging and determines merged segment K11.
[0115] 26, the merging unit 16 acquires base segments (0.8 to 0.9, 0.6 to 0.7) as one merged segment K12 (the number of data is 7). Since there is no other unmerged base segment 11b adjacent to the merged segment K12 in the second group (the condition (b) above is not satisfied), the merging unit 16 suppresses further merging and confirms the merged segment K12.
[0116] With the above, merging of the base segments 11b within each of the first and second groups is completed.
[0117] In the embodiment, the case where the base segments 11b having 5 or more data items are treated as the base segments 11b to be processed and the merging judgment is performed has been described as an example, but the present invention is not limited to this. For example, the base segments 11b of a group (e.g., the second group) of data having a different tendency from the overall tendency 11c may be treated as the base segments 11b to be merging candidates in the merging process, regardless of the threshold (e.g., 5) of the number of data items of the base segments 11b to be processed.
[0118] For example, in Fig. 20, the merging unit 16 may merge five or eight base segments 11b from base segment (0.2-0.3, 0.0-0.1) to base segment (0.6-0.7, 0.0-0.1) or (0.9-1.0, 0.0-0.1) to obtain merged segment K6. Also, in Fig. 21, the merging unit 16 may merge two base segments 11b from base segment (0.3-0.4, 0.3-0.4) to base segment (0.3-0.4, 0.4-0.5) to obtain merged segment K7.
[0119] FIG. 27 is a diagram for explaining an example of an alternative process of the merging process shown in FIG. 25 and FIG. 26. As shown in FIG. 27, the merging unit 16 may acquire a merged segment K11' instead of the merged segments K11 and K12 shown in FIG. 25 and FIG. 26. For example, the merging unit 16 acquires a merged segment K11' by merging six base segments 11b from the base segment (0.7-0.8, 0.5-0.6) to the base segment (0.9-1.0, 0.6-0.7). Since there is no other unmerged base segment 11b adjacent to the merged segment K11' in the second group (does not satisfy the above condition (b)), the merging unit 16 suppresses further merging and determines the merged segment K11'.
[0120] It should be noted that the method of acquiring partial data sets (segments), that is, the method of classifying data sets and acquiring segments, is not limited to the above-described embodiment.
[0121] As an example, the data set may be classified based on the value of a numerical attribute of the data included in the data set. As an example, the data set may be classified based on the distance between the reference data included in the data set and other data. As an example, the data set may be classified such that data within a predetermined distance from the reference data included in the data set is classified into the same segment. As an example, the data set may be classified such that data closest to the reference data included in the data set is classified into the same segment until a predetermined number of data is satisfied.
[0122] In addition, the distance between the reference data and other data included in the data set used for classifying the data set may differ depending on the axis of the numerical attribute. The distance per unit may differ depending on the axis of the numerical attribute. The distance between the reference data and other data included in the data set may not be a physical distance in space, but may be calculated from the difference in the value of the numerical attribute by defining an axis of a specific numerical attribute.
[0123] Returning to the explanation of FIG. 8, the training data generating unit 17 generates training data 11g based on the input data 11a and the merged segments 11f.
[0124] For example, the training data generation unit 17 may perform a fairness determination for each of the multiple data included in the input data 11a, for each merged segment of the merged segment 11f. Then, the training data generation unit 17 may perform a data correction process for each of the multiple data included in the input data 11a based on the determination result, and obtain the multiple data including the data that has been subjected to the correction process as the training data 11g. Various known methods may be adopted for the fairness determination process and the data correction process.
[0125] The machine learning unit 18 executes training (machine learning processing) of the machine learning model 11h using the training data 11g. As a method for training the machine learning model 11h by the machine learning unit 18, various known methods may be adopted.
[0126] For example, the generation of training data 11g by the training data generating unit 17 (correction processing of the input data 11a) makes it possible to suppress unfair inference by the machine learning model 11h. As an example, the fairness judgment processing by the training data generating unit 17 makes it possible to estimate data that may cause the output of unfair inference results such as discrimination from the input data 11a for each merged segment that groups together data with a similar degree of similarity to the overall trend 11c. In addition, the data correction processing, for example, rewrites the value of the non-protected attribute with respect to the protected attribute in the estimated data, and reduces the correlation between the protected attribute and the non-protected attribute, thereby suppressing unfair inference by the machine learning model 11h. The protected attribute is, for example, an attribute that may cause discrimination, such as gender, age, race, and nationality, and the non-protected attribute is, for example, an attribute such as income and loan amount.
[0127] The inference unit 19 executes an inference process using the data for inference 11i and the trained machine learning model 11h by the machine learning unit 18. For example, the inference unit 19 may obtain the inference result 11j by inputting the data for inference 11i to the trained machine learning model 11h.
[0128] As described above, according to the server 1 of one embodiment, each of the multiple data included in the input data 11a, for example, each of the base segments 11b, is classified according to the similarity with the overall trend 11c, for example, the difference (closeness) with the overall trend 11c. For example, data having the same degree of similarity with the overall trend 11c can be classified (for example, classified into partial data sets) based on the distance between these data.
[0129] This allows the data set to be classified into partial data sets according to the relationship between attributes, and for example, it is possible to prevent data that follows the overall trend 11c from being mixed with different data within the same segment. Therefore, for example, an appropriate segment can be obtained by segment extraction, and a decrease in accuracy can be prevented in various processes that use data within or between segments, such as data analysis using the extracted segment (e.g., customer group). In addition, for example, by using a data set processed based on the extracted segment as training data 11g, it is possible to prevent a decrease in accuracy of inference using the trained machine learning model 11h.
[0130] Furthermore, by setting an upper limit on the number of pieces of data contained in a merged segment, it is possible to reduce the imbalance in the number of pieces of data between segments.
[0131] [E] Example of operation Next, an example of operation of the server 1 as one example of an embodiment configured as described above will be described with reference to the flowchart (steps S1 to S8) shown in Fig. 28. Fig. 28 is a flowchart for explaining an example of operation of the server 1 according to one embodiment.
[0132] In step S1, the base segment extraction unit 12 of the server 1 extracts base segments 11b from the input data 11a.
[0133] In step S2, the overall trend extractor 13 extracts an overall trend 11c from the input data 11a.
[0134] In step S3, the index value calculation unit 14 calculates the index value of each base segment 11b with respect to the overall trend 11c, for example, the difference between the base segment 11b and the overall trend 11c.
[0135] In step S4, the classification unit 15 divides the multiple data included in the input data 11a into multiple groups based on the index value 11d. For example, the classification unit 15 obtains classified base segments 11e by classifying each base segment 11b into one of multiple groups based on the index value 11d.
[0136] In step S5, the merging unit 16 acquires a merged segment 11f by merging the base segments 11b based on the grouping result. For example, the merging unit 16 classifies a plurality of data into partial data sets by merging data (e.g., base segments 11b) for each group based on the distance between data within the group.
[0137] In step S6, the training data generator 17 judges the fairness of the input data 11a for each merged segment 11f.
[0138] In step S7, the training data generation unit 17 acquires training data 11g by performing a correction process (modification process) on the input data 11a based on the result of the fairness determination.
[0139] In step S8, the machine learning unit 18 uses the training data 11g to train the machine learning model 11h, and then the process ends.
[0140] The trained machine learning model 11h may be used for inference processing using the inference data 11i by the inference unit 19. Alternatively, the trained machine learning model 11h may be transmitted to another computer or the like and used for inference processing.
[0141] [F] Other The technology according to the embodiment described above can be modified and changed as follows.
[0142] For example, the blocks 12 to 19 included in the server 1 shown in FIG. 8 may be merged in any combination, or each may be divided.
[0143] In addition, the merging unit 16 according to the embodiment uses the above (a) to (d) as the merging conditions, but is not limited thereto. For example, the above condition (d) for making the merged segment 11f have a rectangular shape may be excluded from the merging conditions.
[0144] According to the above condition (d), in data analysis using the merged segment 11f, it is possible to easily use the area of the merged segment 11f, for example, to easily specify the merged segment 11f using a single range condition.
[0145] By excluding the above condition (d) from the merging conditions, the merged segment 11f can have a shape other than a rectangle. This makes it possible to more flexibly merge the base segments 11b together, for example, and increases the possibility of reducing the bias in the number of data items between the merged segments 11f. In data analysis, etc., the merged segment 11f can be specified under multiple conditions.
[0146] 8 may be configured such that a plurality of devices cooperate with each other via a network to realize each processing function. As an example, each of the blocks 12-19 may be a Web server and an application server, and the storage areas storing each of the data 11a-11j may be DB servers, etc. In this case, the Web server, the application server, and the DB server may cooperate with each other via a network to realize the processing function of the server 1.
[0147] [G] Notes Regarding the above embodiment, the following supplementary notes are further disclosed.
[0148] (Appendix 1) Calculating a distance between a spatial trend defined by a plurality of numerical attributes of a data set, each data item having a plurality of numerical attributes, and each of a plurality of data items included in the data set; Dividing the data set into a plurality of groups based on the calculated distances; For each of the plurality of groups, classifying the data sets contained in the group based on values of the plurality of numerical attributes. A data processing program that causes a computer to carry out processing.
[0149] (Appendix 2) The calculation process includes: Dividing the plurality of data included in the data set into a plurality of base data sets based on the respective numerical values of the plurality of numerical attributes; Calculating the distance between the trend of the data set and each of the plurality of data for each of the base data sets by calculating a mean square error between the trend of the data set and each of the plurality of base data sets; The process of dividing includes a process of dividing the data set into the plurality of groups for each of the base data sets according to a value of the mean square error. 2. A data processing program according to claim 1.
[0150] (Appendix 3) The classification process includes, for each group, merging the base data sets included in the group based on a distance between the base data sets included in the group. 3. A data processing program according to claim 2.
[0151] (Appendix 4) The merging process includes merging adjacent base data sets in the space for each group until the number of data included in a partial data set obtained by merging the adjacent base data sets satisfies a predetermined condition. 4. A data processing program according to claim 3.
[0152] (Appendix 5) The merging process includes starting the merging from a base data set that includes minimum or maximum data of each of the plurality of numerical attributes in the space, among the plurality of base data sets included in the group. 5. A data processing program according to claim 4.
[0153] (Appendix 6) the base data set is a region of a first shape in the space; The merging process includes merging the adjacent base data sets such that a shape of a region including the partial data set in the space becomes a second shape. 6. A data processing program according to claim 4 or 5.
[0154] (Appendix 7) The calculation process includes calculating a trend of the data set in the space by regression analysis of the plurality of data included in the data set. The data processing program according to any one of claims 1 to 6.
[0155] (Appendix 8) Calculating a distance between a spatial trend defined by a plurality of numerical attributes of a data set, each data item having a plurality of numerical attributes, and each of a plurality of data items included in the data set; Dividing the data set into a plurality of groups based on the calculated distances; For each of the plurality of groups, classifying the data sets contained in the group based on values of the plurality of numerical attributes. A data processing method in which the processing is performed by a computer.
[0156] (Appendix 9) The calculation process includes: Dividing the plurality of data included in the data set into a plurality of base data sets based on the respective numerical values of the plurality of numerical attributes; Calculating the distance between the trend of the data set and each of the plurality of data for each of the base data sets by calculating a mean square error between the trend of the data set and each of the plurality of base data sets; The process of dividing includes a process of dividing the data set into the plurality of groups for each of the base data sets according to a value of the mean square error. 10. A data processing method as described in Appendix 8.
[0157] (Appendix 10) The classification process includes, for each group, merging the base data sets included in the group based on a distance between the base data sets included in the group. 10. A data processing method as described in Appendix 9.
[0158] (Appendix 11) The merging process includes merging adjacent base data sets in the space for each group until the number of data included in a partial data set obtained by merging the adjacent base data sets satisfies a predetermined condition. 11. A data processing method according to claim 10.
[0159] (Appendix 12) The merging process includes starting the merging from a base data set that includes minimum or maximum data of each of the plurality of numerical attributes in the space, among the plurality of base data sets included in the group. 12. A data processing method according to claim 11.
[0160] (Appendix 13) the base data set is a region of a first shape in the space; The merging process includes merging the adjacent base data sets such that a shape of a region including the partial data set in the space becomes a second shape. 13. A data processing method according to claim 11 or 12.
[0161] (Appendix 14) The calculation process includes calculating a trend of the data set in the space by regression analysis of the plurality of data included in the data set. A data processing method according to any one of Supplementary Note 8 to Supplementary Note 13.
[0162] (Appendix 15) Calculating a distance between a spatial trend defined by a plurality of numerical attributes of a data set, each data item having a plurality of numerical attributes, and each of a plurality of data items included in the data set; Dividing the data set into a plurality of groups based on the calculated distances; For each of the plurality of groups, classifying the data sets contained in the group based on values of the plurality of numerical attributes. An information processing device comprising a control unit.
[0163] (Appendix 16) The control unit is In the calculation process, Dividing the plurality of data included in the data set into a plurality of base data sets based on the respective numerical values of the plurality of numerical attributes; Calculating the distance between the trend of the data set and each of the plurality of data for each of the base data sets by calculating a mean square error between the trend of the data set and each of the plurality of base data sets; In the process of dividing, the data set is divided into the plurality of groups for each of the base data sets according to the value of the mean square error. 16. The information processing device according to claim 15.
[0164] (Appendix 17) In the classification process, the control unit merges the base data sets included in each group based on a distance between the base data sets included in the group. 17. The information processing device according to claim 16.
[0165] (Appendix 18) The control unit, in the merging process, merges adjacent base data sets in the space for each group until a number of data included in a partial data set obtained by merging the adjacent base data sets satisfies a predetermined condition. 18. The information processing device according to claim 17.
[0166] (Appendix 19) The control unit starts the merging process from a base data set that includes minimum or maximum data of each of the plurality of numerical attributes in the space, among the plurality of base data sets included in the group. 19. The information processing device according to claim 18.
[0167] (Appendix 20) the base data set is a region of a first shape in the space; The control unit, in the merging process, merges the adjacent base data sets so that a shape of a region including the partial data set in the space becomes a second shape. 19. The information processing device according to claim 18. [Explanation of symbols]
[0168] 1 Server 10. Computers 11a Input data 11b Basal segment 11c Overall Trend 11d Index Value 11e Classified basal segments 11f Merged Segments 11g Training data 11h Machine Learning Model 11i Inference data 11j Inference results 12 Basis Segment Extraction Unit 13 Overall trend extraction part 14 Index value calculation section 15 Classification section 16 Merger Section 17 Training data generation unit 18 Machine Learning Department 19 Reasoning section 20 Control section
Claims
1. Calculating a distance between a spatial trend defined by a plurality of numerical attributes of a data set, each data item having a plurality of numerical attributes, and each of a plurality of data items included in the data set; Dividing the data set into a plurality of groups based on the calculated distances; For each of the plurality of groups, classifying the data sets contained in the group based on values of the plurality of numerical attributes. A data processing program that causes a computer to carry out processing.
2. The calculation process includes: Dividing the plurality of data included in the data set into a plurality of base data sets based on the respective numerical values of the plurality of numerical attributes; Calculating the distance between the trend of the data set and each of the plurality of data for each of the base data sets by calculating a mean square error between the trend of the data set and each of the plurality of base data sets; The process of dividing includes a process of dividing the data set into the plurality of groups for each of the base data sets according to a value of the mean square error.
2. The data processing program according to claim 1.
3. The classifying process includes, for each group, merging the base data sets included in the group based on a distance between the base data sets included in the group.
3. The data processing program according to claim 2.
4. The merging process includes merging adjacent base data sets in the space for each group until the number of data included in a partial data set obtained by merging the adjacent base data sets satisfies a predetermined condition.
4. The data processing program according to claim 3.
5. The merging process includes starting the merging from a base data set that includes minimum or maximum data of each of the plurality of numerical attributes in the space, among the plurality of base data sets included in the group.
5. The data processing program according to claim 4.
6. the base data set is a region of a first shape in the space; The merging process includes merging the adjacent base data sets such that a shape of a region including the partial data set in the space becomes a second shape.
6. The data processing program according to claim 4 or 5.
7. The calculation process includes calculating a trend of the data set in the space by a regression analysis of the plurality of data included in the data set. The data processing program according to any one of claims 1 to 5.
8. Calculating a distance between a spatial trend defined by a plurality of numerical attributes of a data set, each data item having a plurality of numerical attributes, and each of a plurality of data items included in the data set; Dividing the data set into a plurality of groups based on the calculated distances; For each of the plurality of groups, classifying the data sets contained in the group based on values of the plurality of numerical attributes. A data processing method in which the processing is performed by a computer.
9. Calculating a distance between a spatial trend defined by a plurality of numerical attributes of a data set, each data item having a plurality of numerical attributes, and each of a plurality of data items included in the data set; Dividing the data set into a plurality of groups based on the calculated distances; For each of the plurality of groups, classifying the data sets contained in the group based on values of the plurality of numerical attributes. An information processing device comprising a control unit.
Citation Information
Patent Citations
Information processing apparatus and control method therefor, and program
JP2017038161A
Identifying significant anomalous segments of a metrics dataset
US20180083995A1
Method and system for creating entity records using existing data sources
US20190005112A1
