WO2017221856A1 - 分析装置、分析方法、および記憶媒体 - Google Patents

分析装置、分析方法、および記憶媒体 Download PDF

Info

Publication number
WO2017221856A1
WO2017221856A1 PCT/JP2017/022439 JP2017022439W WO2017221856A1 WO 2017221856 A1 WO2017221856 A1 WO 2017221856A1 JP 2017022439 W JP2017022439 W JP 2017022439W WO 2017221856 A1 WO2017221856 A1 WO 2017221856A1
Authority
WO
WIPO (PCT)
Prior art keywords
analysis
grouping
value
groups
group
Prior art date
Application number
PCT/JP2017/022439
Other languages
English (en)
French (fr)
Inventor
三橋 秀男
Original Assignee
日本電気株式会社
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 日本電気株式会社 filed Critical 日本電気株式会社
Priority to JP2018524061A priority Critical patent/JP6943242B2/ja
Publication of WO2017221856A1 publication Critical patent/WO2017221856A1/ja

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N99/00Subject matter not provided for in other groups of this subclass
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16ZINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS, NOT OTHERWISE PROVIDED FOR
    • G16Z99/00Subject matter not provided for in other main groups of this subclass

Definitions

  • This disclosure relates to data analysis and forecasting.
  • ROS is a method of increasing the number of samples of the class with the lower frequency in accordance with the number of samples of the class with the higher occurrence frequency of the objective variable value among the two classes included in the teacher data.
  • RUS is a method of reducing the number of samples of the higher frequency class in accordance with the number of samples of the lower frequency class of the two classes included in the teacher data.
  • ROS may generate meaningless noise data.
  • RUS may exclude useful sample data. The reason is to artificially reduce or add sample data.
  • the present invention has an object to provide an analysis apparatus and method capable of performing data analysis with reduced influence of the number of samples without reducing or adding sample data.
  • An analysis apparatus relates to a plurality of groups generated by grouping a plurality of analysis targets in which an explanatory variable and an objective variable are associated, and a relationship between the explanatory variable and the objective variable of the plurality of groups.
  • the analysis means for executing the machine learning analysis for each grouping, the values of the explanatory variables of the plurality of groups, and the relationship, the predicted values that are the values of the objective variables of the plurality of groups
  • Prediction means for executing calculation for each grouping, and calculation means for calculating a score relating to the analysis target by calculation based on the predicted value of the group to which the analysis target belongs, calculated for each grouping And comprising.
  • the analysis method provides a relationship between an explanatory variable and an objective variable of the plurality of groups, for a plurality of groups generated by grouping a plurality of analysis targets in which the explanatory variable and the objective variable are associated.
  • Machine learning analysis is performed for each grouping, and based on the explanatory variable values of the plurality of groups and the relationship, calculation of a predicted value that is the value of the target variable of the plurality of groups,
  • the process is executed for each grouping, and a score related to the analysis target is calculated by calculation based on the predicted value of the group to which the analysis target belongs, calculated for each grouping.
  • a program provides an explanatory variable and an objective variable of the plurality of groups for a plurality of groups generated by grouping a plurality of analysis targets in which the explanatory variable and the objective variable are associated with each other.
  • the analysis process for performing the machine learning analysis for deriving the relationship for each grouping, the value of the explanatory variable of the plurality of groups, and the relationship, and the prediction that is the value of the objective variable of the plurality of groups.
  • the calculation of the value is calculated for each grouping, and the score related to the analysis target is calculated by the calculation based on the predicted value of the group to which the analysis target belongs, calculated for each grouping. And a calculation process.
  • the analysis apparatus 11 handles sample data that is a set of data of explanatory variables and objective variables accumulated for an analysis target.
  • the analysis target is a target for deriving the value of the objective variable or a guide for the value.
  • the analysis target may be identified by an identification number, or may be identified by a position on the screen displayed by the analysis apparatus 11.
  • Each analysis target is associated with a value of an explanatory variable.
  • the analysis device 11 calculates a score that serves as a guideline for the value of the objective variable to be analyzed based on the value of the explanatory variable by a process described later.
  • the objective variable is, for example, a variable selected by the user as a variable whose value is to be predicted.
  • the objective variable may be, for example, the number of accidents per day, the number of incidents per week, or the number of ambulances dispatched per day in a certain area.
  • the objective variable may be set to the number of accidents per day in that area.
  • the analysis target is the area.
  • the explanatory variable is a variable that is considered to be a factor that affects the value of the objective variable.
  • the variables that can be considered as explanatory variables are, for example, traffic volume, car ownership rate, number of bicycles, number of traffic lights, The number of signs, the number of intersections, the number of past accidents, the weather, the average road width, and whether it is a weekday or a holiday.
  • Figure 1 shows an example of sample data.
  • the sample data is a set of explanatory variables and objective variables related to the analysis object for each analysis object (area in this example).
  • the number of accidents on year Y, month Z, and information such as traffic volume and weather on that day are included in the sample data.
  • the analyzer 11 acquires sample data related to the analysis target from, for example, a storage device (not shown). Then, the analysis device 11 calculates, for each of the plurality of analysis targets, a score that serves as a guideline for the value of the objective variable based on the explanatory variable associated with the analysis target.
  • a score that serves as a guideline for the value of the objective variable based on the explanatory variable associated with the analysis target.
  • FIG. 2 is a block diagram illustrating a configuration of the analyzer 11 according to the first embodiment.
  • the analysis device 11 includes an analysis unit 113, a prediction unit 114, and a calculation unit 115.
  • the analysis unit 113 performs machine learning analysis for deriving the relationship between the explanatory variable and the objective variable of each group for a plurality of groups generated by grouping the analysis targets.
  • the grouping means that the analysis target is classified into a plurality of groups.
  • the grouping may be performed, for example, by a grouping unit (not shown) associating each analysis target with a number identifying the group.
  • grouping for example, 100 analysis objects are associated with any of 10 groups.
  • the analysis unit 113 performs machine learning analysis using a group generated by this grouping as a unit of teacher data.
  • the analysis unit 113 first creates group data for each group based on the sample data associated with the analysis target included in the group.
  • Group data is a combination of explanatory variables and objective variables when the group is regarded as one unit.
  • the analysis unit 113 integrates the value of the objective variable of the sample data associated with the analysis target included in the group.
  • To integrate values is to set a representative value based on each value. That is, the analysis unit 113 sets a representative value based on the value of each objective variable of the sample data associated with the analysis target included in the group, and regards the representative value as the value of the objective variable of the group.
  • the values are integrated, for example, by summing those values.
  • integrating values may mean calculating an average of those values.
  • the analysis unit 113 integrates the values of the respective explanatory variables.
  • the analysis unit 113 may determine a representative value in the group again based on, for example, how to derive the values of the explanatory variables.
  • the analysis unit 113 may integrate objective variables (or explanatory variables) for different days separately. Therefore, for example, when there is sample data over several hundred days, the analysis unit 113 can create [number of classifications to be analyzed ⁇ several hundred (pieces)] group data.
  • the analysis part 113 performs the machine learning analysis which used the created group data as teacher data.
  • the machine learning analysis is an analysis for deriving a relationship between explanatory variables and objective variables based on teacher data, for example.
  • a function representing a relationship between explanatory variables and objective variables is derived. Since this derived function is derived recursively, it is a function that predicts the value of the objective variable from the value of the explanatory variable.
  • a function derived by machine learning analysis is referred to as a “prediction formula”.
  • the analysis unit 113 derives a prediction formula for predicting the value of the objective variable by analysis using the teacher data.
  • the analysis unit 113 derives a prediction formula for each of two or more groupings. For example, the analysis unit 113 first derives one prediction formula for one grouping by machine learning analysis using group data of all groups generated by one grouping as teacher data. Then, the analysis unit 113 further derives another prediction formula by machine learning analysis using group data of all groups generated by another grouping as teacher data.
  • the prediction unit 114 calculates, for each grouping, a predicted value that is the value of the objective variable for each group based on the prediction formula derived by the analysis unit 113 and the value of the explanatory variable for each group. For example, the prediction unit 114 calculates the value of the objective variable of the group on the next day based on the prediction formula and the explanatory variable of the group on the next day.
  • the value of the group explanatory variable may be entered by the user.
  • the value of the group explanatory variable may be set based on information included in the database 320.
  • the calculation unit 115 calculates a value related to the analysis target by an operation based on the value of the objective variable of the group calculated for each grouping.
  • the value calculated by the calculation unit 115 is referred to as “score”.
  • the score is a measure of the value of the objective variable.
  • the calculation unit 115 multiplies the predicted value of the group to which the analysis target belongs in the first grouping by the predicted value of the group to which the analysis target belongs in the second grouping, as the analysis target score. calculate.
  • the calculation unit 115 may calculate the average of the predicted values of the group to which the analysis target belongs as the analysis target score.
  • step S21 the analysis unit 113 performs, for each grouping, machine learning analysis for deriving the relationship between the explanatory variables of the plurality of groups and the objective variable for the plurality of groups generated by the grouping for the analysis target.
  • step S ⁇ b> 22 the prediction unit 114 calculates, for each grouping, a predicted value that is a value of the target variable of the group based on the value of the explanatory variable of the group and the relationship derived by the analysis unit 113.
  • step S23 the calculation unit 115 calculates the score related to the analysis target by calculation based on the predicted value of the group to which the analysis target belongs, calculated for each grouping.
  • ⁇ Effect> According to the configuration of the first embodiment, it is possible to perform data analysis in which the influence of the deviation of the number of samples for each value of the objective variable is reduced without reducing or adding sample data. The reason for this is that each sample data is grouped together to reduce the deviation in the number of samples for each value of the objective variable in the teacher data. And in this analysis, the sample data has not been reduced or added.
  • FIG. 4 is a block diagram showing the configuration of the analyzer 12 according to the second embodiment.
  • the analysis device 12 is connected to a storage device 32 that stores the database 320 so as to be communicable.
  • the analysis device 12 reads information included in the database 320 from the storage device 32.
  • the information read by the analysis device 12 may be read based on, for example, designation by the user.
  • the database 320 of this embodiment includes information related to accidents in a certain area. For example, whether the database 320 is the date and location of the accident in the region, as well as daily traffic, weather, rainfall, number of intersections, number of traffic lights, average road width, and weekdays Data over a predetermined period (for example, the past several hundred days) including information such as discrimination of whether it is a holiday is stored.
  • the analyzing apparatus 12 includes a dividing unit 111, a grouping unit 112, an analyzing unit 113, a predicting unit 114, a calculating unit 115, and an output unit 116.
  • the dividing unit 111 identifies the analysis range (that is, the region range). In specifying the range, the dividing unit 111 acquires information specifying the range of the region from the user, for example. The dividing unit 111 may read information specifying a region range from the database 320. The dividing unit 111 may specify the analysis range based on the information specifying the area range.
  • the dividing unit 111 divides the analysis range into a plurality of sections.
  • the size of the mesh when dividing may be appropriately selected according to the purpose. For example, the user may specify the mesh size. In this case, for example, when the user inputs information indicating “1 km square” to the analysis device 12, the dividing unit 111 may divide the area with a mesh size of 1 km square. Alternatively, the size of the mesh may be appropriately set by the analysis device 12 according to the size of the specified region and the number of data.
  • each of the sections generated by the division is referred to as a “cell”.
  • the size of one cell may be several tens of meters square or several kilometers square, for example.
  • the shape of the cell need not be a rectangle. It is not necessary that all cells have the same size.
  • the cell generated in this way is a score calculation target by the calculation unit 115 of the analysis device 12 of the present embodiment, that is, an analysis target.
  • the dividing unit 111 may specify sample data for each cell. That is, the dividing unit 111 may specify a set of objective variable values and explanatory variable values measured so far for each cell.
  • the objective variable is set by the user, for example.
  • the objective variable is the number of accidents per day.
  • the dividing unit 111 specifies the values of the objective variable and the explanatory variable that are samples based on the data stored in the database 320. For example, when the analysis device 12 performs analysis using the objective variable as the number of accidents per day, the dividing unit 111 is based on accident data recorded so far, which is stored in the database 320. The number of occurrences per day in each cell and the value of the explanatory variable may be calculated.
  • FIG. 5 is a diagram showing an example of the number of accidents in each cell on a certain day.
  • an objective variable as shown in FIG. 5, there are many cells whose value of the objective variable is 0 or 1, and there are few cells whose value is 2 or more.
  • FIG. 6 is a histogram showing the frequency distribution of the value of the objective variable of each cell in the example shown in FIG. As can be seen from FIG. 6, the number of sample data for each value (number of occurrences) of the objective variable is greatly biased.
  • the data handled by the analyzer 12 need not be only data for a specific day.
  • the analysis device 12 may handle data for a plurality of days.
  • FIG. 7 is an example of a histogram showing the frequency distribution of the value of the objective variable of each day's data accumulated in the database 320 over several hundred days.
  • precision that is, the small variation in the prediction result
  • accuracy accuracy, that is, closeness to the true value
  • FIG. 8 is a conceptual diagram showing how the grouping unit 112 groups cells in the same column into one group.
  • the grouping unit 112 groups the cells arranged in the vertical direction into five groups A 1 , A 2 , A 3 , A 4 , and A 5 so that the cells are arranged in the same group. That is, the grouping unit 112 classifies the cells into five groups.
  • FIG. 9 is an example of a histogram showing the frequency distribution of the value of the objective variable in each group. As shown in FIG. 9, compared to the example shown in FIG. 7, the value of the objective variable is distributed over a wide range, and the variation in the number of sample data for each value of the objective variable is suppressed.
  • the grouping unit 112 groups cells having the same horizontal row into one group. That is, the grouping unit 112 classifies each cell into groups B 1 , B 2 , B 3 , B 4 , and B 5 as shown in FIG.
  • the analysis unit 113 first acquires teacher data with a group as one unit. That is, the analysis unit 113 acquires the value of the objective variable and the value of the explanatory variable for each group.
  • the value of the objective variable of the group is, for example, the sum of the objective variables of the cells included in the group.
  • the value of the objective variable of the group may be an average of the objective variables of the cells included in the group.
  • FIG. 11 is a diagram illustrating examples of values of objective variables of groups generated by grouping cells in the vertical direction and the horizontal direction in the example of the sample illustrated in FIG.
  • the analysis unit 113 calculates the value of the explanatory variable for each group.
  • the value of the explanatory variable of the group may be, for example, the sum of the explanatory variables of the cells included in the group or an average.
  • the analysis unit 113 acquires the teacher data (that is, the set of the objective variable value and the explanatory variable value) of the group as one unit.
  • the analysis unit 113 performs machine learning analysis using the obtained teacher data.
  • the analysis unit 113 performs machine learning analysis based on, for example, data for the past several hundred days of a group grouped in the vertical direction, for example, and derives one prediction formula.
  • This prediction formula is a formula for predicting the value of the objective variable of the group from the value of the explanatory variable of the group.
  • the analysis unit 113 performs machine learning analysis based on the data for the past several hundred days of the group grouped in the horizontal direction, and derives another prediction formula.
  • the past data that is the basis of this machine learning analysis may be data in the same period as the data used in the machine learning analysis for the group grouped in the vertical direction, or may be data in a different period. Good.
  • the value of the explanatory variable of each group used at this time is, for example, the actual value or the predicted value of the explanatory variable on the day on which the predicted value is to be calculated. For example, the same value as the previous day may be set for the number of traffic lights and the number of intersections. The value of the number of bicycles possessed may be set to the same value as the previous day or a value that takes into account the rate of change. A reasonable value may be set for the weather from information such as a weather forecast.
  • predicted value of the objective variable of the group is sometimes simply referred to as “predicted value of the group”.
  • the calculation unit 115 calculates, for each cell, a value obtained by multiplying each predicted value of the group including the cell as a score in the cell.
  • FIG. 12 is a diagram illustrating an example of calculating the score of each cell from the predicted value of each group calculated by the prediction unit 114.
  • the Arabic numerals attached to the left of the table and the Roman numerals attached to the top of the table are symbols provided for convenience of explanation, and are symbols for identifying rows or columns in the table, respectively.
  • the prediction unit 114 calculates [3, 0, 4, 7, 1 ] as the predicted values of the groups A 1 to A 5 , respectively, and the predicted values of the groups B 1 to B 5 , respectively. [0, 2, 7, 4, 2] is calculated.
  • the score of the cell corresponding to the first row and column I is [0 ⁇ 3] [0]
  • the score of the cell corresponding to the second row and column I is [2 ⁇ 3] [6]
  • the score of the cell corresponding to the third row and the fourth column is [7 ⁇ 7], which is [49].
  • “ ⁇ ” is an operator representing multiplication.
  • the calculation unit 115 calculates the score of each cell as described above, and associates the calculated value with the cell.
  • the output unit 116 may extract a predetermined number of cells in order from the cell having the largest score value, and display the extracted cells in a manner different from other cells. For example, the output unit 116 may output an image in which the area corresponding to the cell extracted in the map of the analysis target area is emphasized. The output unit 116 may output data associating cells with score values.
  • the dividing unit 111 specifies the range of analysis (step S91). Then, the dividing unit 111 divides the analysis range into a plurality of cells (step S92).
  • the grouping unit 112 performs grouping by grouping the cells arranged in the vertical direction into the same group (step S93). Then, the analysis unit 113 performs machine learning analysis using the vertical group data as teacher data (step S94). Then, the prediction unit 114 calculates the predicted value of each objective variable of the group based on the prediction formula and the value of each explanatory variable of the vertical group (step S95).
  • the grouping unit 112 also performs grouping of cells arranged in the horizontal direction as the same group (step S96).
  • the analysis unit 113 performs machine learning analysis using the horizontal group data as teacher data (step S97).
  • the prediction unit 114 calculates the predicted value of each objective variable of the group based on the prediction formula and the value of each explanatory variable of the horizontal group (step S98).
  • step S93 to step S98 is not limited to the above example.
  • the processing from step S93 to step S95 and the processing from step S96 to step S98 may be performed in parallel.
  • the calculation unit 115 calculates the score of each cell based on the predicted value of the objective variable of the vertical group and the predicted value of the objective variable of the horizontal group (step S99).
  • the output unit 116 outputs information based on the score (step S100).
  • ⁇ Effect> According to the analysis device 12 according to the second embodiment, it is possible to calculate a score that is a measure of the value of an objective variable to be predicted in a cell generated by dividing the analysis range into a plurality of ranges.
  • the analyzer 12 can calculate a score that is a measure of the number of accidents for each area on the next day.
  • the analysis device 12 can specify an area that is predicted to have a high number of accidents out of the areas in the analysis range. Further, by outputting the identified result, the user can recognize the area as a place where the risk of accident occurrence is high.
  • the analysis device 12 does not need to unnecessarily sort out or discard data included in the database 320 that can be used for machine learning analysis. Further, the analysis device 12 does not need to newly generate or add data that is not included in the database 320.
  • the analyzer 12 can perform data analysis without reducing or adding sample data.
  • this analysis reduces the effect of sample number bias for each value of the objective variable.
  • the reason for this is that each sample data is grouped together to reduce the deviation in the number of samples for each value of the objective variable in the teacher data. By reducing the bias, the feature of the sample whose objective variable has a low appearance frequency is less likely to be ignored in machine learning analysis.
  • the explanatory variable and the objective variable handled by the analysis device 12 may be any variables as long as they can be machine learning targets.
  • the objective variable may be the number of specific types of incidents or accidents.
  • the objective variable may be the number of lightning strikes, the number of reported lost items, the number of dead carcasses found, or the number of damaged public objects.
  • the analysis target need not be a region.
  • the analysis target may be an intersection, a police box, or a building.
  • the analysis target may be set according to the objective variable.
  • the grouping unit 112 performs grouping by grouping cells arranged in the same column or row into the same group, which is referred to as a grouping method (hereinafter referred to as “grouping method”). ) Is not limited to these.
  • FIG. 14C, FIG. 14D, FIG. 14E, and FIG. 14F are examples of grouping methods other than the grouping method shown above (grouping method C, grouping method D, grouping method E, and group, respectively). It is a figure which shows the division method F). 14C to 14F, the Arabic numerals attached to the left side and the Roman numerals attached to the upper side of each of the tables shown in FIGS. It is.
  • the vertical grouping method explained in FIG. 8 is called grouping method A
  • the horizontal grouping method explained in FIG. 10 is called grouping method B.
  • the grouping unit 112 may employ a grouping method such as the grouping methods C to F.
  • the grouping unit 112 may employ the grouping method A for the first grouping and the grouping method C for the second grouping.
  • the analysis unit 113 performs machine learning analysis based on the first grouping and machine learning analysis based on the second grouping, and derives a prediction formula for each.
  • the prediction unit 114 calculates the predicted value of each group based on each prediction formula, and the calculation unit 115 calculates the multiplication value of the group to which each cell belongs as a score. Also by this method, the score of each cell is calculated. The calculated score is based on a calculation formula specific to the cell. The reason is that every cell has a different group combination including that of other cells.
  • the grouping unit 112 may use any two grouping methods as long as the two grouping methods have different combinations of groups including cells for each cell.
  • the calculation unit 115 may calculate a score corresponding to each cell using data based on two arbitrary groupings.
  • the grouping unit 112 may execute three or more types of grouping. Then, the analysis unit 113 may derive a prediction formula for each grouping performed by the grouping unit 112. The prediction unit 114 may calculate three or more types of prediction values.
  • the grouping unit 112 executes the grouping method A, the grouping method B, and the grouping method C among the grouping methods shown in FIGS. 8, 10, and 14C to 14F.
  • the analysis unit 113 derives a prediction formula based on each grouping. It is assumed that the predicted value of each group is calculated by the prediction unit 114 like the value of the data string to which each group name is assigned in FIG.
  • the calculation unit 115 calculates the score of each cell by multiplying the predicted value of the group to which the cell belongs. Then, the results as shown in the upper left table of FIG. 16 are obtained.
  • the analysis device 12 can also calculate the score of each cell by performing analysis using three or more types of groupings.
  • the score of the cell in the third row and column I is 42
  • the score of the cell in the third row and column III is 112.
  • This difference is the difference between the two examples in the score calculation example shown in FIG. 12 (the cell score in the third row and column I is 21, the cell in the third row and column III is the difference).
  • the score is much higher than 28).
  • the score value of each cell varies more greatly, thereby making it easier to identify a location with a high occurrence risk. This effect is particularly noticeable when the score is calculated by multiplication.
  • the risk that the score of a cell with a low occurrence risk is accidentally large can be reduced.
  • the grouping unit 112 may employ a grouping method in which the values of the objective variables of the teacher data are as imbalanced as possible. For example, the grouping unit 112 determines whether the variation in the value of the objective variable of the teacher data of the group generated by the performed grouping deviates from a predetermined standard (for example, whether the variance is lower than the predetermined value). Also good. Then, the grouping unit 112 may perform another grouping again when the variation deviates from a predetermined standard. With this configuration, it is possible to perform machine learning analysis in a group based on a grouping in which variations do not deviate from a predetermined standard.
  • the grouping methods shown in the first and second modifications can be used in cases other than when the area is mesh-divided into a plurality of cells.
  • the grouping method described above may be used for a plurality of analysis objects that have already been identified.
  • the number of analysis objects is 5 ⁇ 5, but the number of analysis objects is not limited to this.
  • the number of analysis objects is not the square of an integer, the number of analysis objects constituting a group may be different for each grouping. For example, when there are 30 analysis targets, the grouping unit 112 divides the first grouping into groups each having five analysis targets and the first grouping into six groups having six analysis targets. You may perform 2 groupings and the 3rd grouping divided
  • Modification 3 With respect to n ⁇ n (n is an integer of 2 or more) analysis objects, as shown in the first modification example, “any two analysis objects seem to belong to different groups in any two or more groupings.
  • the calculation unit 115 may calculate the score of the analysis target (cell in the following description) by the method described below.
  • Modification 3 a configuration in which the calculation unit 115 calculates the cell score by a method different from the above-described method will be described.
  • the dividing unit 111 divides an area into n ⁇ n cells.
  • the grouping unit 112 executes n + 1 types of grouping methods in which any two cells have different group combinations in any two or more groupings for n ⁇ n cells.
  • n 5
  • the above-described six sorting methods A to F are examples of the above-mentioned n + 1 types of grouping methods.
  • the grouping unit 112 includes any two cells as follows: Any one grouping is performed n + 1 times so that it belongs to the same group.
  • the analysis unit 113 performs machine learning analysis based on each grouping and derives each prediction formula.
  • the prediction unit 114 calculates a predicted value of each group based on each prediction formula.
  • the calculation unit 115 calculates the cell score as follows. That is, ⁇ Calculate the sum of all predicted values of the group to which the cell belongs, Subtract the sum of the predicted values of the group based on an arbitrary grouping (assumed as S) from the calculated sum, • Divide the subtracted value by n.
  • the sum S may be the same in calculating the score of each cell. Further, the value of the sum S may be an average or median of sums of predicted values of groups based on each of a plurality of arbitrary groupings.
  • n 5.
  • the grouping unit 112 performs grouping methods A to F shown in FIGS. 8, 10 and 14C to 14F, and calculates explanatory variables and objective variables for each group.
  • the analysis unit 113 performs machine learning analysis based on each grouping and derives each prediction formula.
  • the prediction unit 114 calculates a predicted value of each group based on each prediction formula. As a result, it is assumed that the predicted value of the group based on each grouping method becomes a value as shown in FIG.
  • the predicted values [a 1 , a 2 , a 3 , a 4 , a 5 ] of the groups A 1 to A 5 based on the grouping method A become [ 3 , 0, 4 , 7, 1], and the grouping method
  • the predicted values [b 1 , b 2 , b 3 , b 4 , b 5 ] of the groups B 1 to B 5 based on B become [ 0 , 2 , 7 , 4 , 2 ], and the group C based on the grouping method C
  • the predicted values [c 1 , c 2 , c 3 , c 4 , c 5 ] of 1 to C 5 are [ 4 , 3 , 3 , 2 , 3 ]
  • the predicted values of the groups D 1 to D 5 based on the grouping method D are
  • the predicted values [d 1 , d 2 , d 3 , d 4 , d 5 ] are [ 2 , 3 , 2 , 3 , 5 ].
  • the calculation unit 115 calculates the score of each cell. In calculating the score, the calculation unit 115 calculates a value of the sum S of predicted values of the group based on an arbitrary grouping method.
  • the value of the sum S is, for example, a 1 + a 2 + a 3 + a 4 + a 5 .
  • the calculation unit 115 calculates a value obtained by dividing the value obtained by subtracting S from the sum of all predicted values of the group to which the target cell belongs, by n, as the score value of the target cell.
  • the score of this cell is ⁇ (A 1 + b 1 + c 1 + d 1 + e 1 + f 1) -S ⁇ / 5 Is calculated by
  • the score of a cell corresponding to 3 rows and IV columns is ⁇ (A 4 + b 3 + c 2 + d 5 + e 3 + f 1 ) ⁇ S ⁇ / 5 Is calculated by
  • FIG. 18 is a diagram showing the score value of each cell calculated by the above method based on the predicted value shown in FIG.
  • the score value calculated in this way can be regarded as the predicted value of the objective variable of the cell.
  • the reason for this is that the total sum of all predicted values of the group to which the target cell belongs is the sum of the value contributed by all cells one by one and the value contributed by n target cells. Because it can be considered.
  • the step of dividing by n may be omitted in the above-described score calculation step.
  • the analyzer 12 can calculate a value with higher accuracy as the predicted value of the objective variable.
  • each component of each device represents a functional unit block.
  • a part or all of each component of each device is realized by a possible combination of a computer 1900 and a program as shown in FIG. 19, for example.
  • the computer 1900 includes the following configuration as an example.
  • CPU Central Processing Unit
  • ROM Read Only Memory
  • RAM Random Access Memory
  • a storage device 1905 for storing the program 1904A and storage information 1904B
  • a drive device 1907 that reads and writes the recording medium 1906
  • Each component of each device in each embodiment is realized by the CPU 1901 loading the program 1904A for realizing these functions into the RAM 1903 and executing it.
  • a program 1904A for realizing the function of each component of each device is stored in advance in, for example, the storage device 1905 or the ROM 1902, and is read out by the CPU 1901 as necessary.
  • the program 1904A may be supplied to the CPU 1901 via the communication network 1909, or may be stored in advance in the recording medium 1906, and the drive device 1907 may read the program and supply it to the CPU 1901.
  • each device may be realized by a possible combination of a separate computer 1900 and a program for each component.
  • a plurality of components included in each device may be realized by a possible combination of one computer 1900 and a program.
  • each device is realized by other general-purpose or dedicated circuits, computers, etc., or combinations thereof. These may be configured by a single chip or may be configured by a plurality of chips connected via a bus.
  • each component of each device When a part or all of each component of each device is realized by a plurality of computers, circuits, etc., the plurality of computers, circuits, etc. may be centrally arranged or distributedly arranged.
  • the computer, the circuit, and the like may be realized as a form in which each is connected via a communication network, such as a client and server system and a cloud computing system.
  • Appendix 1 A machine learning analysis for deriving a relationship between an explanatory variable and an objective variable of the plurality of groups is performed on the plurality of groups generated by the grouping that classifies a plurality of analysis targets associated with the explanatory variable and the objective variable.
  • Prediction means for executing, for each grouping, calculation of a predicted value that is a value of an objective variable of the plurality of groups based on the values of the explanatory variables of the plurality of groups and the relationship; Calculating means for calculating a score related to the analysis target by calculation based on the predicted value of the group to which the analysis target belongs, calculated for each grouping;
  • An analyzer comprising: [Appendix 2] Any two of the analysis objects belonging to the same group in the grouping belong to different groups in the other grouping, The analyzer according to appendix 1.
  • the analysis means performs the machine learning analysis for each of the three or more groupings,
  • the prediction means executes the calculation of the predicted value for each of the three or more groupings,
  • the calculation means calculates the score by multiplying each of the predicted values of the group to which the analysis target belongs, calculated for each of the three or more groupings.
  • the analyzer according to appendix 1 or 2.
  • For the grouping it is determined whether the variation in the value of the objective variable of the group generated by the grouping deviates from a predetermined standard, and the grouping is newly executed when the variation deviates from the predetermined standard.
  • the analysis means performs the machine learning analysis on a plurality of groups generated by the grouping determined that the variation does not deviate from a predetermined standard.
  • the analyzer according to any one of appendix 1 to appendix 3.
  • the grouping is performed n + 1 times so that any two analysis objects belong to the same group in any one grouping.
  • the calculation means calculates each score of the analysis target from the sum of the predicted values calculated for all the groups to which the analysis target belongs, for each group calculated based on any of the groupings. Calculate using a value obtained by subtracting the sum of the predicted values.
  • the analyzer according to appendix 1.
  • Appendix 6 An output means for displaying a predetermined number of the analysis objects from the analysis object having a higher score in a manner different from the other analysis objects;
  • the analyzer according to any one of appendix 1 to appendix 5.
  • Appendix 7 A machine learning analysis for deriving a relationship between an explanatory variable and an objective variable of the plurality of groups is performed on the plurality of groups generated by the grouping that classifies a plurality of analysis targets associated with the explanatory variable and the objective variable.
  • Appendix 12 Displaying a predetermined number of the analysis objects from the one with the higher score among the analysis objects in a manner different from the other analysis objects; The analysis method according to any one of appendix 7 to appendix 11.
  • Appendix 13 On the computer, A machine learning analysis for deriving a relationship between an explanatory variable and an objective variable of the plurality of groups is performed on the plurality of groups generated by the grouping that classifies a plurality of analysis targets associated with the explanatory variable and the objective variable.
  • An analysis process to be executed every time Based on the values of the explanatory variables of the plurality of groups and the relationship, a prediction process for calculating a prediction value that is a value of the objective variable of the plurality of groups for each grouping; A calculation process for calculating a score related to the analysis target by calculation based on the predicted value of the group to which the analysis target belongs, calculated for each grouping; A program that executes [Appendix 14] Any two of the analysis objects belonging to the same group in the grouping belong to different groups in the other grouping, The program according to attachment 13.
  • the analysis process performs the machine learning analysis for each of the three or more groupings,
  • the prediction process executes calculation of the predicted value for each of the three or more groupings,
  • the calculation process calculates the score by multiplying each of the predicted values of the group to which the analysis target belongs, calculated for each of the three or more groupings.
  • the program according to appendix 13 or 14.
  • [Appendix 16] On the computer, For the grouping, it is determined whether the variation in the value of the objective variable of the group generated by the grouping deviates from a predetermined standard, and the grouping is newly executed when the variation deviates from the predetermined standard.
  • the analysis process performs the machine learning analysis on a plurality of groups generated by the grouping determined that the variation does not deviate from a predetermined standard.
  • the program according to any one of supplementary note 13 to supplementary note 15.
  • [Appendix 17] In a computer, for n ⁇ n (n is an integer of 2 or more) analysis target, n + 1 times of the sets such that any two of the analysis targets belong to the same group in any one grouping Execute the grouping process to split, In the calculation process, each score of the analysis target is calculated based on one of the groupings based on the total of the predicted values calculated for all the groups to which the analysis target belongs. Calculate using a value obtained by subtracting the sum of the predicted values.
  • [Appendix 18] Causing the computer to execute an output process for displaying a predetermined number of the analysis objects in a manner different from the other analysis objects from the analysis object having the higher score.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

サンプルデータを削減することも追加することもなく、サンプル数の偏りの影響を低減したデータ分析を行うことを可能とする。分析装置は、説明変数と目的変数とが関連づけられる複数の分析対象を分類する組分けによって生成する複数のグループについて、前記複数のグループの説明変数と目的変数との関係を導出する機械学習分析を、前記組分けごとに実行する解析手段と、前記複数のグループの説明変数の値と前記関係とに基づいて、前記複数のグループの目的変数の値である予測値の算出を、前記組分けごとに実行する予測手段と、前記分析対象に関するスコアを、前記組分けごとに算出された、当該分析対象が属する前記グループの前記予測値に基づく演算によって、算出する算出手段と、を備える。

Description

分析装置、分析方法、および記憶媒体
 本開示は、データの分析および予測に関する。
 教師データを用いた機械学習に基づく、データの予測において、教師データのうちの目的変数の値ごとにサンプルの個数が大きく異なると、予測の正確度が低下するという問題がある。
 たとえば、あるエリアにおける1日当たりのある事象(たとえば、事故など)の発生件数を目的変数として機械学習を実行する場合、一般的には、過去の1日当たりの発生件数と説明変数の組が、教師データとして使われる。このとき、その教師データのうちの大多数において、目的変数の値は「0件」や「1件」であり、「2件」以上の目的変数の値を有する教師データは少ないことが考えられうる。すなわち、上述のような教師データでは、目的変数の値ごとにサンプルの個数が大きく異なる。このように、目的変数の値ごとのサンプル数が偏った教師データは、不均衡データ(Imbalanced Data)と呼ばれることがある。不均衡データに基づいて機械学習および予測を行うと、目的変数の値の出現頻度が比較的低いサンプルデータの影響が小さくなり、予測の正確度が悪くなる。
 特に、上述の発生件数の予測においては、発生件数が多いエリアを特定することが所望されるにも関わらず、発生件数の値が大きいサンプルは数が比較的少ないため、そのサンプルの特徴が機械学習において無視されやすい。その結果、たとえば発生件数を予測する式が、発生件数が多い地域の特徴を反映した式にならず、正確な予測ができないおそれがある。
 上述の問題を解決するための技術の一例として、特許文献1に記載される、Random Over Sampling(ROS)やRandom Under Sampling(RUS)という方法がある。
 ROSは、教師データに含まれる2つのクラスのうち、目的変数の値の出現頻度が高い方のクラスのサンプル数に合わせて、頻度が低い方のクラスのサンプル数を増加させる方法である。RUSは、教師データに含まれる2つのクラスのうち、頻度が低い方のクラスのサンプル数に合わせて、頻度が高い方のクラスのサンプル数を減少させる方法である。
特開2010-204966号公報
 ROSでは意味のないノイズデータを生成してしまう場合がある。一方、RUSでは有用なサンプルデータを除外してしまう場合がある。その理由は、サンプルデータを人為的に削減したり追加したりするためである。
 本発明は、サンプルデータを削減することも追加することもなく、サンプル数の偏りの影響を低減したデータ分析を行うことができる分析装置および方法を提供することを目的の1つとする。
 本発明の一態様に係る分析装置は、説明変数と目的変数とが関連づけられる複数の分析対象を分類する組分けによって生成する複数のグループについて、前記複数のグループの説明変数と目的変数との関係を導出する機械学習分析を、前記組分けごとに実行する解析手段と、前記複数のグループの説明変数の値と前記関係とに基づいて、前記複数のグループの目的変数の値である予測値の算出を、前記組分けごとに実行する予測手段と、前記分析対象に関するスコアを、前記組分けごとに算出された、当該分析対象が属する前記グループの前記予測値に基づく演算によって、算出する算出手段と、を備える。
 本発明の一態様に係る分析方法は、説明変数と目的変数とが関連づけられる複数の分析対象を分類する組分けによって生成する複数のグループについて、前記複数のグループの説明変数と目的変数との関係を導出する機械学習分析を、前記組分けごとに実行し、前記複数のグループの説明変数の値と前記関係とに基づいて、前記複数のグループの目的変数の値である予測値の算出を、前記組分けごとに実行し、前記分析対象に関するスコアを、前記組分けごとに算出された、当該分析対象が属する前記グループの前記予測値に基づく演算によって、算出する。
 本発明の一態様に係るプログラムは、コンピュータに、説明変数と目的変数とが関連づけられる複数の分析対象を分類する組分けによって生成する複数のグループについて、前記複数のグループの説明変数と目的変数との関係を導出する機械学習分析を、前記組分けごとに実行する解析処理と、前記複数のグループの説明変数の値と前記関係とに基づいて、前記複数のグループの目的変数の値である予測値の算出を、前記組分けごとに実行する予測処理と、前記分析対象に関するスコアを、前記組分けごとに算出された、当該分析対象が属する前記グループの前記予測値に基づく演算によって、算出する算出処理と、を実行させる。
 本発明によれば、サンプルデータを削減することも追加することもなく、サンプル数の偏りの影響を低減したデータ分析を行うことができる。
サンプルデータの例を表すデータ構造の図である。 本発明の第1の実施形態に係る分析装置の構成を示すブロック図である。 第1の実施形態に係る分析装置の主要な動作の流れを示すフローチャートである。 本発明の第2の実施形態に係る分析装置の構成を示すブロック図である。 それぞれのセルにおける、ある一日の事故の発生件数の例を示す図である。 図5の例のデータの発生件数の分布を表すヒストグラムである。 それぞれのセルにおける、一日の事故の発生件数の数百日分にわたるデータの、発生件数の分布を表すヒストグラムである。 縦方向にグループを作成する概念を表す図である。 グループの目的変数の値の分布を表すヒストグラムである。 横方向にグループを作成する概念を表す図である。 縦方向の組分けおよび横方向の組分けにより生成するグループのそれぞれの目的変数の値の例を説明する図である。 各グループの予測値の例と、その予測値から算出される各セルのスコアの例を示す図である。 第2の実施形態に係る分析装置の動作の流れを示すフローチャートである。 組分け法の第3の例を表す図である。 組分け法の第4の例を表す図である。 組分け法の第5の例を表す図である。 組分け法の第6の例を表す図である。 セルのデータと組分け法とから、その組分け法により生成するグループのそれぞれの目的変数の値を導出する例を示す図である。 3つの組分け法により各セルのスコアを算出する例を示す図である。 5つの組分け法により生成する各グループの目的変数の予測値の例を示す図である。 変形例3によって算出される各セルのスコアの例を示す図である。 本発明の各実施形態の各部を構成するハードウェアの例を示すブロック図である。
 以下、図面を参照しながら、本発明の実施形態を詳細に説明する。
 <<第1の実施形態>>
 まず、本発明の第1の実施形態について説明する。
 第1の実施形態に係る分析装置11は、分析対象について蓄積された説明変数と目的変数とのデータの組である、サンプルデータを扱う。分析対象とは、目的変数の値または値の目安を導出する対象である。分析対象は、識別番号によって識別されてもよいし、分析装置11が表示する画面上の位置によって識別されてもよい。なお、分析対象にはそれぞれ説明変数の値が関連付けられる。分析装置11は、後述する処理によって、その説明変数の値に基づいて分析対象の目的変数の値の目安となるスコアを算出する。
 目的変数は、たとえば、ユーザが値を予測したい変数として選択した変数である。目的変数は、たとえば、あるエリアにおける、1日あたりの事故件数、1週間あたりの事件件数、または、1日あたりの救急車の出動件数、等でもよい。たとえば、ユーザがあるエリアにおける翌日の事故の発生件数を予測したい場合、目的変数は、そのエリアにおける1日あたりの事故の発生件数に設定されればよい。なお、この場合の分析対象は、そのエリアである。
 説明変数は、目的変数の値に影響を与える要因であると考えられる変数である。たとえば、目的変数が、あるエリア内の1日あたりの事故の発生件数であれば、説明変数として考えられる変数は、例えば、各日における交通量、自動車保有率、自転車保有台数、信号機の数、標識の数、交差点の数、過去の事故の発生件数、天候、道路の幅員の平均、および、平日であるか休日であるか、等である。
 図1に、サンプルデータの例を示す。図1に示されるように、サンプルデータは、分析対象(この例ではエリア)ごとの、その分析対象に関連する説明変数と目的変数との組である。図1に示す例では、X年Y月Z日の事故の発生件数と、その日の交通量や天気等の情報とが、サンプルデータに含まれている。
 分析装置11は、たとえば図示しない記憶装置から、分析対象に関するサンプルデータを取得する。そして、分析装置11は、複数の分析対象のそれぞれについて、分析対象に関連づけられた説明変数に基づいて目的変数の値の目安となるスコアを算出する。以下、分析装置11の制御構造について説明する。
 <構成>
 図2は、第1の実施形態の分析装置11の構成を示すブロック図である。分析装置11は、解析部113と、予測部114と、算出部115と、を備える。
 解析部113は、分析対象に対する組分けによって生成する複数のグループについて、それぞれのグループの説明変数と目的変数との関係を導出する機械学習分析を実行する。なお、組分けとは、分析対象を複数のグループに分類することである。
 組分けは、たとえば図示しない組分け部がそれぞれの分析対象にグループを識別する番号等を関連づけることにより、行われればよい。組分けによって、例えば、100個の分析対象が、それぞれ10個のグループのいずれかに関連づけられる。
 解析部113は、この組分けにより生成するグループを教師データの単位とした、機械学習分析を行う。
 具体的には、解析部113はまず、グループごとに、グループに含まれる分析対象に関連づけられるサンプルデータに基づいて、グループデータを作成する。グループデータとは、そのグループを1つのまとまりとして捉えた場合の説明変数と目的変数との組み合わせである。
 たとえば、解析部113は、グループに含まれる分析対象に関連づけられるサンプルデータの目的変数の値を統合する。値を統合するとは、各々の値に基づく代表値を設定することである。すなわち、解析部113は、グループに含まれる分析対象に関連づけられるサンプルデータの各々の目的変数の値に基づく代表値を設定し、その代表値をグループの目的変数の値と見なす。値を統合するとは、具体的には、たとえば、それらの値を合計することである。あるいは、値を統合するとは、それらの値の平均を算出することでもよい。
 同様に、解析部113は、それぞれの説明変数の値を統合する。なお、数値で表されない説明変数の値を統合する場合は、解析部113は、たとえばその説明変数の値の導出の仕方に基づいて、改めてそのグループにおける代表値を決定してもよい。
 なお、解析部113は、異なる日における目的変数(または説明変数)を、別々に統合してよい。したがって、たとえば、数百日にわたるサンプルデータがある場合は、解析部113は、[分析対象の分類数×数百(個)]のグループデータを作成しうる。
 そして、解析部113は、作成したグループデータを教師データとして使用した機械学習分析を実行する。機械学習分析は、たとえば、教師データに基づいて説明変数と目的変数との間の関係を導出する分析である。たとえば、機械学習分析では、説明変数と目的変数との間の関係を表す関数が導出される。この導出される関数は、帰納的に導出されるものであるから、いわば説明変数の値から目的変数の値を予測する関数である。以下、機械学習分析により導出される関数を「予測式」と呼ぶ。
 すなわち、一例として、解析部113は、上記の教師データを使用した解析により、目的変数の値を予測する予測式を導出する。
 解析部113は、2以上の組分けのそれぞれについて、予測式を導出する。たとえば、解析部113は、まず1つの組分けにより生成する全てのグループのグループデータを教師データとした機械学習分析により、1つの組分けに対する1つの予測式を導出する。そして、解析部113は、さらに、別の組分けにより生成する全てのグループのグループデータを教師データとした機械学習分析により、別の予測式を導出する。
 予測部114は、組分けごとに、解析部113が導出した予測式とグループごとの説明変数の値とに基づいて、グループごとの目的変数の値である予測値を算出する。たとえば、予測部114は、翌日におけるグループの目的変数の値を、予測式と、翌日におけるグループの説明変数とに基づいて、算出する。グループの説明変数の値は、ユーザによって入力されてもよい。グループの説明変数の値は、データベース320に含まれる情報に基づいて設定されてもよい。
 算出部115は、組分けごとに算出されたグループの目的変数の値に基づく演算によって、分析対象に関する値を算出する。算出部115によって算出される値を、「スコア」と呼ぶ。スコアは、目的変数の値の大きさの目安となる。
 たとえば、ある組分け(第1の組分け)によって生成するグループの目的変数の値と、その組分けとは異なる組分け(第2の組分け)によって生成するグループの目的変数の値とがあるとする。算出部115は、分析対象のスコアとして、第1の組分けにおいてその分析対象が属するグループの予測値と、第2の組分けにおいてその分析対象が属するグループの予測値とを、乗算した値を算出する。算出部115は、分析対象のスコアとして、分析対象が属するグループの予測値の平均を算出してもよい。
 <主要な動作>
 分析装置11の主要な動作の流れを、図3のフローチャートに沿って説明する。
 ステップS21において、解析部113は、分析対象に対する組分けによって生成する複数のグループについて、複数のグループの説明変数と目的変数との関係を導出する機械学習分析を、組分けごとに実行する。
 ステップS22において、予測部114は、グループの説明変数の値と、解析部113が導出した関係とに基づいた、グループの目的変数の値である予測値の算出を、組分けごとに実行する。
 ステップS23において、算出部115は、分析対象に関するスコアを、組分けごとに算出された、その分析対象が属するグループの予測値に基づく演算によって、算出する。
 <効果>
 第1の実施形態の構成によれば、サンプルデータを削減することも追加することもなく、目的変数の値ごとのサンプル数の偏りの影響を低減したデータ分析を行うことができる。その理由は、各サンプルデータがグループにまとめられることによって、教師データにおける目的変数の値ごとのサンプル数の偏りが軽減されるからである。かつ、この分析においては、サンプルデータは削減も追加もされていない。
 <<第2の実施形態>>
 次に、本発明の第2の実施形態について説明する。
 <構成>
 図4は、第2の実施形態に係る分析装置12の構成を示すブロック図である。
 分析装置12は、データベース320を記憶する記憶装置32と通信可能に接続されている。分析装置12は、記憶装置32からデータベース320が含む情報を読み出す。分析装置12が読み出す情報は、たとえば、ユーザによる指定に基づいて読み出されてもよい。
 本実施形態のデータベース320は、ある地域における事故に関連する情報を含む。たとえば、データベース320は、その地域における、事故が発生した日時および場所、ならびに、日ごとの交通量、天気、降雨量、交差点の数、信号機の数、道路の幅員の平均、および平日であるか休日であるかの区別等の情報を含む、所定期間(たとえば過去数百日分)にわたるデータを記憶する。
 分析装置12は、分割部111、組分け部112、解析部113、予測部114、算出部115、および、出力部116を備える。
 ===分割部111===
 分割部111は、分析の範囲(すなわち、地域の範囲)を特定する。範囲の特定において、分割部111は、たとえば、ユーザから地域の範囲を指定する情報を取得する。分割部111は、データベース320から、地域の範囲を指定する情報を読み出してもよい。分割部111は、地域の範囲を指定する情報に基づいて、分析の範囲を特定すればよい。
 分割部111は、分析の範囲を複数の区画にメッシュ分割する。分割する際のメッシュのサイズは、目的に応じて適宜選択されてよい。例えば、メッシュのサイズは、ユーザが指定してもよい。この場合、たとえばユーザが「1キロメートル四方」を示す情報を分析装置12に入力することにより、分割部111は、地域を1キロメートル四方のメッシュサイズで分割してもよい。あるいは、メッシュのサイズは、特定された地域の大きさやデータ数に応じて、分析装置12によって適宜設定されてもよい。
 以下、分割によって生成する区画の1つ1つを、「セル」と呼ぶ。1つのセルのサイズは、たとえば数十メートル四方でも、数キロメートル四方でもよい。セルの形は四角形でなくともよい。全てのセルのサイズが同一である必要はない。
 なお、このようにして生成したセルが、本実施形態の分析装置12の算出部115によるスコアの算出の対象、すなわち分析対象である。
 分割部111は、セルごとに、サンプルデータを特定してもよい。すなわち、分割部111は、セルごとに、これまでに測定された目的変数の値および説明変数の値の組を特定してもよい。目的変数は、たとえば、ユーザによって設定される。例として、目的変数は1日あたりの事故の発生件数である。分割部111は、例えば、サンプルとなる目的変数および説明変数の値を、データベース320に記憶されるデータに基づいて特定する。例えば、分析装置12が目的変数を1日あたりの事故の発生件数とする分析を行う場合には、分割部111は、データベース320に記憶される、これまでに記録された事故のデータに基づき、各セルにおける日ごとの発生件数と説明変数の値とを算出してもよい。
 図5は、ある日のそれぞれのセルの事故の発生件数の一例を示す図である。事故の発生件数のような、単位期間(例えば1日間)における1つのセル(例えば1キロメートル四方)における事象の発生回数を表す変数は、その値が、1以下の値をとる場合と比較して、2以上の値をとることが少ない場合がある。そのような変数が目的変数である場合、図5に示されるように、目的変数の値が0件や1件であるセルが多く、値が2件以上であるセルは少なくなる。
 図6は、図5に示した例の、各セルの目的変数の値の度数分布を表すヒストグラムである。図6で明白なように、目的変数の値(発生件数)ごとのサンプルデータ数は、大きく偏っていることがわかる。
 分析装置12が扱うデータは、特定の1日のデータのみである必要はない。分析装置12は、複数の日のデータを扱ってもよい。図7は、数百日にわたってデータベース320に蓄積された各日のデータの、目的変数の値の度数分布を示すヒストグラムの一例である。一般的には、数百日分のデータを使用することによりサンプルデータ数は増えるため、予測の精度(precision、すなわち、予測結果のばらつきの小ささ)は向上すると考えられる。しかしながら、サンプルデータ数の増加によっても、目的変数の値ごとのサンプルデータ数の不均衡は依然として改善されないため、正確度(accuracy、すなわち、真の値への近さ)が向上するとはいえない。
 ===組分け部112===
 組分け部112は、同じ列のセルを1つのグループにまとめる。図8は、組分け部112が同じ列のセルを1つのグループのまとめる様子を示す概念図である。図8に示す例では、組分け部112は、縦方向に並ぶセルが同じグループになるよう、5つのグループA,A,A、A,およびAにまとめる。すなわち、組分け部112は、セルを5つのグループに分類する。
 図9は、それぞれのグループにおける目的変数の値の度数分布を示すヒストグラムの一例である。図9で示されるように、図7に示される例に比べ、目的変数の値が広範囲にわたって分布し、目的変数の値ごとのサンプルデータ数のばらつきは抑えられる。
 組分け部112は、同様に、横方向の行が同じセルを1つのグループにまとめる。すなわち、組分け部112は、図10のように、組分け部112は、各セルを、グループB,B,B、B,およびBに分類する。
 ===解析部113===
 解析部113は、組分けごとに、グループを教師データの単位として機械学習を行う。具体的には、解析部113は、機械学習を以下のように行う。
 解析部113は、まず、グループを1つの単位とした教師データを取得する。すなわち、解析部113は、各グループの目的変数の値および説明変数の値を取得する。
 グループの目的変数の値は、たとえば、グループに含まれるセルの目的変数の総和である。たとえば、図8によれば、グループAの目的変数の値は、0+1+1+1+0=3である。グループの目的変数の値は、グループに含まれるセルの目的変数の平均でもよい。
 図11は、図5に示したサンプルの例において、セルを縦方向および横方向にまとめることによって生成したグループの、それぞれの目的変数の値の例を示す図である。
 解析部113は、各グループの説明変数の値を算出する。グループの説明変数の値は、たとえば、グループに含まれるセルの説明変数の総和でもよいし、平均でもよい。
 こうして、解析部113は、グループを1つの単位とした教師データ(すなわち、グループの目的変数の値および説明変数の値の組)を取得する。
 そして、解析部113は、得られた教師データを用いて、機械学習分析を行う。
 解析部113は、たとえば、縦方向にまとめられたグループの、たとえば過去数百日分のデータに基づいて、機械学習分析を行い、1つの予測式を導出する。この予測式は、グループの説明変数の値からグループの目的変数の値を予測する式である。
 解析部113は、同様に、横方向にまとめられたグループの過去数百日分のデータに基づいて、機械学習分析を行い、さらに別の予測式を導出する。なお、この機械学習分析において基となる過去のデータは、縦方向にまとめられたグループに対する機械学習分析で用いたデータと同じ期間のデータであってもよいし、異なる期間のデータであってもよい。
 これにより、不均衡性が低減された教師データに基づく予測式が算出される。
 ===予測部114===
 予測部114は、解析部113が導出した予測式に基づいて、各グループの目的変数の予測値を算出する。具体的には、予測部114は、各グループの説明変数の値を予測式に代入することにより、そのグループの目的変数の予測値を得る。このとき用いられる各グループの説明変数の値は、たとえば、予測値を算出したい日の、説明変数の実測値もしくは予測値である。たとえば、信号機数や交差点数の値は、前日と同一の値が設定されてよい。自転車保有台数の値は、前日と同一の値または増減率を考慮した値が設定されればよい。天候は、天気予報等の情報から、尤もらしい値が設定されればよい。
 以下、グループの目的変数の予測値を、単に「グループの予測値」と呼ぶことがある。
 ===算出部115===
 算出部115は、予測部114が導出したグループの予測値に基づき、各セルの目的変数の値の目安となるスコアを算出する。
 たとえば、算出部115は、それぞれのセルについて、そのセルを含むグループのそれぞれの予測値をかけ合わせた値を、そのセルにおけるスコアとして算出する。
 図12は、予測部114が算出した各グループの予測値から、各セルのスコアを算出する一例を示す図である。なお、表の左に付されたアラビア数字および表の上に付されたローマ数字は、説明の便宜上付された記号であり、それぞれ表における行または列を識別する記号である。
 図12に示されるように、予測部114は、グループA~Aの予測値としてそれぞれ[3,0,4,7,1]を算出し、グループB~Bの予測値としてそれぞれ[0,2,7,4,2]を算出したとする。この場合、例えば第1行第I列に相当するセルのスコアは[0×3]で[0]、第2行第I列に相当するセルのスコアは[2×3]で[6]、第3行第IV列に相当するセルのスコアは[7×7]で[49]となる。ただし、「×」は掛け算を表す演算子である。
 本実施形態の例における各セルのスコアの算出の方法は、次のようにも表せる。すなわち、セルの列番号を左から順にi(i=1,2,3,4,5)、行番号を上から順にj(j=1,2,3,4,5)で表すとすると、第j行第i列のセルのスコアはB×Aである。
 算出部115は、以上のようにして、各セルのスコアを算出し、算出した値をセルに関連づける。
 ===出力部116===
 出力部116は、スコアに基づいた情報を出力する。たとえば、出力部116は、スコアが算出されたセルのうち、スコアの値が大きいセルを、事故が多く発生すると予測される場所として示す情報を出力する。
 たとえば、出力部116は、スコアの値が最も大きいセルから順に所定の数のセルを抽出し、抽出されたセルを他のセルとは異なる態様で表示してもよい。たとえば、出力部116は、分析対象の地域の地図において抽出されたセルに相当するエリアを強調した画像を出力してもよい。出力部116は、セルとスコアの値とを関連づけたデータを出力してもよい。
 <動作>
 第2の実施形態に係る分析装置12の動作の流れを、図13に沿って説明する。
 まず、分割部111が、分析の範囲を特定する(ステップS91)。そして、分割部111は、分析の範囲を複数のセルに分割する(ステップS92)。
 次に、組分け部112が、縦方向に並ぶセルを同じグループとした組分けを行う(ステップS93)。そして、解析部113が、縦方向のグループのデータを教師データとした機械学習分析を実行する(ステップS94)。そして、予測部114が、予測式と縦方向のグループのそれぞれの説明変数の値とに基づいて、グループのそれぞれの目的変数の予測値を算出する(ステップS95)。
 組分け部112は、横方向に並ぶセルを同じグループとした組分けも行う(ステップS96)。解析部113は、横方向のグループのデータを教師データとした機械学習分析を実行する(ステップS97)。予測部114は、予測式と横方向のグループのそれぞれの説明変数の値とに基づいて、グループのそれぞれの目的変数の予測値を算出する(ステップS98)。
 ステップS93からステップS98の処理の順序は、上述の例に限られない。たとえば、ステップS93からステップS95の処理と、ステップS96からステップS98の処理とは、並行して行われてもよい。
 そして、算出部115は、縦方向のグループの目的変数の予測値と、横方向のグループの目的変数の予測値とに基づいて、各セルのスコアを算出する(ステップS99)。
 最後に、出力部116が、スコアに基づいた情報を出力する(ステップS100)。
 <効果>
 第2の実施形態に係る分析装置12によれば、分析の範囲を複数に分割することにより生成したセルの、予測したい目的変数の値の目安となるスコアを算出することができる。
 たとえば、上述した具体的な例に従えば、分析装置12は、翌日における、エリアごとの事故の発生件数の多さの目安となるスコアを算出できる。また、分析装置12は、分析の範囲の地域のうちの、事故の発生件数が高いと予測されるエリアを特定することができる。また、特定した結果を出力することにより、ユーザは、そのエリアを事故の発生リスクが高い場所として認識することができる。
 この分析において、分析装置12は、データベース320に含まれる、機械学習分析に用いることができるデータを不必要に選別したり捨てたりする必要がない。また、分析装置12は、データベース320に含まれていないデータを新たに生成したり追加したりする必要はない。
 すなわち、分析装置12は、サンプルデータを削減することも追加することもなく、データ分析を行うことができる。
 上記に加え、この分析では目的変数の値ごとのサンプル数の偏りの影響が低減される。その理由は、各サンプルデータがグループにまとめられることによって、教師データにおける目的変数の値ごとのサンプル数の偏りが軽減されるからである。偏りが低減されることにより、目的変数の値が出現頻度の低い値であるサンプルの特徴が、機械学習分析において無視されにくくなる。
 <<変形例>>
 分析装置12が扱う説明変数および目的変数は、機械学習の対象となりうる変数であれば何でもよい。目的変数は特定の種類の事件や事故の件数でもよい。その他、目的変数は、落雷件数、落とし物の届け出件数、小動物の死骸の発見件数、または公共物の破損があった数等でもよい。
 分析対象は、地域である必要はない。分析対象は、交差点でもよいし、交番、または建物でもよい。分析対象は、目的変数に応じて設定されればよい。
 以下、組分けの方法およびスコアの算出の方法に関する変形例を紹介する。
 (変形例1)
上記第2の実施形態の説明では、組分け部112は、同じ列または行に並ぶセルを同一のグループとする組分けを行うが、組分けの方法(以下、「組分け法」と呼ぶ。)はこれらに限られない。
 図14C、図14D、図14E、および図14Fは、それぞれ、上に示した組分け法以外の組分け法の例(それぞれ、組分け法C、組分け法D、組分け法E、および組分け法F)を示す図である。なお、図14C~14Fに示される表のそれぞれの左側に付されたアラビア数字および上側に付されたローマ数字は、説明の便宜上付された記号であり、それぞれ表における行または列を識別する記号である。なお、図8で説明された縦方向の組分け法を組分け法A、図10で説明された横方向の組分け法を組分け法B、とする。
 図14Cを参照すると、たとえば、組分け法Cでは、1行I列、2行II列、3行III列、4行IV列、5行V列、が同じグループCとなる。
 組分け部112は、組分け法C~Fのような組分け法を採用してもよい。たとえば、組分け部112は、組分け法Aを第1の組分けに採用し、組分け法Cを第2の組分けに採用してもよい。
 なお、図15は、組分け法Cによって生成するグループのそれぞれの、統合された目的変数の値の算出例を示す図である。たとえば、図15の左に示されるセルが、図15の右に示される組分け法で組分けされる場合、グループCの説明変数の値は0+0+2+2+0=4である。
 解析部113は、第1の組分けに基づく機械学習分析と、第2の組分けに基づく機械学習分析とを行い、それぞれ予測式を導出する。予測部114がそれぞれの予測式に基づく各グループの予測値を算出し、算出部115が、各セルが属するグループの乗算値をスコアとして算出する。この方法によっても、各セルのスコアは算出される。算出されるスコアは、セルに特有の計算式に基づく。その理由は、どのセルも、そのセルを含むグループの組み合わせが、他のセルのそれと異なるからである。
 組分け部112は、セルごとにセルを含むグループの組み合わせが異なるような、2つの組分け法であれば、どのような2つの組分け法を用いてもよい。
 なお、上述した組分け法A,B,C,D,E,Fは、どの2つのセルも、任意の2つ以上の組分けにおいて異なるグループに属するように、設計されている。このように設計された6種類の組分けに対して、算出部115は、任意の2つの組分けに基づくデータを用いて、各セルに対応するスコアを算出してよい。
 (変形例2)
 組分け部112は3種類以上の組分けを実行してもよい。そして、解析部113は、組分け部112が行った組分けのそれぞれに対して、予測式を導出してもよい。予測部114は、3種類以上の予測値を算出してもよい。
 たとえば、組分け部112は、図8、図10および図14C~14Fで示される組分け法のうち、組分け法A、組分け法B、および組分け法Cを実行したとする。解析部113は、それぞれの組分けに基づく予測式を導出する。それぞれのグループの予測値が、図16の、各グループ名が付されたデータ列の値のように、予測部114によって算出されたとする。算出部115は、各セルのスコアを、当該セルが属するグループの予測値を乗算することにより算出する。すると、図16の左上の表に示されるような結果が得られる。
 このように、3種類以上の組分けを用いて分析を行うことによっても、分析装置12は各セルのスコアを算出できる。組分けの種類を増やして分析することにより、スコアの算出に用いる予測値の個数が増え、各セルのスコアの値はより大きくばらつく。たとえば、図16で示される本変形例のスコアの算出例では、第3行第I列のセルのスコアが42、第3行第III列のセルのスコアが112であり、両者の値には明確な差がある。この差は、図12で示された、2種類の組分けに基づいたスコアの算出例における両者の差(第3行第I列のセルのスコアが21、第3行第III列のセルのスコアが28)に比べ、はるかに大きい。このように、組分けの種類を増やして分析することにより、各セルのスコアの値はより大きくばらつき、それにより発生リスクが大きい箇所をより特定しやすくなる。なお、この効果は、スコアを乗算によって算出する場合に特に顕著に表れる。
 また、乗算によるスコアの算出では、ある組分けにおける特定のグループの予測値が0であった場合、そのグループに含まれるセルのスコアはすべて0となるため、そのセルにおける事故の発生のリスクが少ないことが明らかになる。
 また、3種類以上の組分けに基づいて分析を行うことによって、発生リスクが小さいセルのスコアが偶発的に大きく算出されるというリスクが低減されうる。
 なお、組分け部112は、教師データの目的変数の値がなるべく不均衡でない組分け法を採用してもよい。たとえば、組分け部112は、行った組分けによって生成したグループの教師データの目的変数の値のばらつきが、所定の基準を外れるか(たとえば、分散が所定の値を下回るか)を判定してもよい。そして、組分け部112は、ばらつきが所定の基準を外れる場合に、もう一度異なる組分けを行ってもよい。この構成によって、ばらつきが所定の基準を外れない組分けによるグループでの機械学習分析が可能となる。
 以上の変形例1および2に示した組分けの方法は、地域を複数のセルにメッシュ分割した場合以外にも用いることができる。たとえば、上述した組分けの方法は、既に識別された複数個の分析対象に対して用いてもよい。
 また、上述の例では、分析対象の数が5×5個であったが、分析対象の数はこれに限られない。分析対象の個数が整数の2乗でない場合は、組分けごとにグループを構成する分析対象の数が異なっていてもよい。たとえば、分析対象が30個である場合は、組分け部112は、分析対象が5つずつであるグループに分割する第1の組分けと、分析対象が6つずつであるグループに分割する第2の組分けと、分析対象が5つずつであるグループに分割する第3の組分けとを行ってもよい。このように、分析対象の個数が整数の2乗でなくとも、複数の組分けおよびスコアの算出は可能である。
 (変形例3)
 n×n個(nは2以上の整数)の分析対象に対して、変形例1で示されるような、「どの2つの分析対象も、任意の2つ以上の組分けにおいて異なるグループに属するような組分け法」が、n+1個作れる場合、算出部115は、分析対象(以下の説明では、セル)のスコアを、以下に示す方法で算出してもよい。以下、変形例3として、算出部115がセルのスコアを前述の方法とは異なる方法で算出する構成を説明する。
 まず、分割部111が、地域をn×nのセルに分割したとする。
 組分け部112は、n×n個のセルに対し、どの2つのセルも、任意の2つ以上の組分けにおいて属するグループの組み合わせが異なるような、n+1種類の組分け法を実行する。(たとえばn=5である場合、上述した組分け法A~Fの6つが、上記n+1種類の組分け法の一例である。)言い換えれば、組分け部112は、任意の2つのセルが、いずれかただ1つの組分けにおいて同一のグループに属するような、n+1回の組分けを行う。
 解析部113は、それぞれの組分けに基づく機械学習分析を行い、それぞれの予測式を導出する。
 予測部114は、それぞれの予測式に基づく各グループの予測値を算出する。
 そして、算出部115は、セルのスコアを次のように算出する。すなわち、
・当該セルが属するグループのすべての予測値の総和を算出し、
・算出された総和から、任意の組分けに基づいたグループの予測値の総和(Sとする)を減算し、
・減算された値をnで除する。
 なお、総和Sは、各セルのスコアの計算において同一であってよい。また、総和Sの値は、任意の複数の組分けのそれぞれに基づいたグループの予測値の総和の、平均や中央値でもよい。
 以下、具体例を、図5に示される例を用いて説明する。図5に示される場合では、n=5である。
 組分け部112は、図8、10および14C~14Fに示される組分け法A~Fを行い、各グループの説明変数および目的変数を算出する。
 解析部113は、それぞれの組分けに基づく機械学習分析を行い、それぞれの予測式を導出する。予測部114は、それぞれの予測式に基づく各グループの予測値を算出する。その結果、それぞれの組分け法に基づくグループの予測値が、図17に示すような値になったとする。すなわち、組分け法Aに基づくグループA~Aの予測値[a,a,a,a,a]は[3,0,4,7,1]となり、組分け法Bに基づくグループB~Bの予測値[b,b,b,b,b]は[0,2,7,4,2]となり、組分け法Cに基づくグループC~Cの予測値[c,c,c,c,c]は[4,3,3,2,3]となり、組分け法Dに基づくグループD~Dの予測値[d,d,d,d,d]は[2,3,2,3,5]となり、組分け法Eに基づくグループE~Eの予測値[e,e,e,e,e]は[2,4,4,2,3]となり、組分け法Fに基づくグループF~Fの予測値[f,f,f,f,f]は[4,5,2,1,3]となったとする。
 算出部115は、各セルのスコアを算出する。なお、スコアを算出するにあたり、算出部115は、任意の組分け法に基づくグループの予測値の総和Sの値を求める。総和Sの値は、たとえば、a+a+a+a+aである。
 算出部115は、ターゲットのセルが属するグループのすべての予測値の総和からSを減算した値をnで除した値を、ターゲットのセルのスコアの値として算出する。
 たとえば、1行I列に相当するセルは、グループA,B,C,D,E,Fに属するから、このセルのスコアは、
{(a+b+c+d+e+f)-S}/5
で算出される。
 同様に、たとえば、3行IV列に相当するセルのスコアは、
{(a+b+c+d+e+f)-S}/5
で算出される。
 図18は、図17に示される予測値に基づいて上記の方法で算出された各セルのスコアの値を示す図である。
 このようにして算出されたスコアの値は、そのセルの目的変数の予測値と見なすことができる。その理由は、ターゲットのセルが属するグループのすべての予測値の総和の値は、すべてのセルが1つ分ずつ寄与した値と、ターゲットのセルがn個分寄与した値とを足し合わせた値と見なせるからである。
 なお、教師データに用いられたグループの目的変数が各セルの目的変数の平均によって算出されていた場合は、上述したスコアの算出の工程において、nで除する工程を省略してもよい。
 以上説明した方法により、分析装置12は、目的変数の予測値としてより確度の高い値を算出することができる。
 (ハードウェアについて)
 以上、説明した本発明の各実施形態において、各装置の各構成要素は、機能単位のブロックを示している。各装置の各構成要素の一部または全部は、例えば図19に示すようなコンピュータ1900とプログラムとの可能な組み合わせにより実現される。コンピュータ1900は、一例として、以下のような構成を含む。
 ・CPU(Central Processing Unit)1901
 ・ROM(Read Only Memory)1902
 ・RAM(Random Access Memory)1903
 ・RAM1903にロードされるプログラム1904Aおよび記憶情報1904B
 ・プログラム1904Aおよび記憶情報1904Bを格納する記憶装置1905
 ・記録媒体1906の読み書きを行うドライブ装置1907
 ・通信ネットワーク1909と接続する通信インタフェース1908
 ・データの入出力を行う入出力インタフェース1910
 ・各構成要素を接続するバス1911
 各実施形態における各装置の各構成要素は、これらの機能を実現するプログラム1904AをCPU1901がRAM1903にロードして実行することで実現される。各装置の各構成要素の機能を実現するプログラム1904Aは、例えば、予め記憶装置1905やROM1902に格納されており、必要に応じてCPU1901が読み出す。なお、プログラム1904Aは、通信ネットワーク1909を介してCPU1901に供給されてもよいし、予め記録媒体1906に格納されており、ドライブ装置1907が当該プログラムを読み出してCPU1901に供給してもよい。
 各装置の実現方法には、様々な変形例がある。例えば、各装置は、構成要素毎にそれぞれ別個のコンピュータ1900とプログラムとの可能な組み合わせにより実現されてもよい。また、各装置が備える複数の構成要素が、一つのコンピュータ1900とプログラムとの可能な組み合わせにより実現されてもよい。
 また、各装置の各構成要素の一部または全部は、その他の汎用または専用の回路、コンピュータ等やこれらの組み合わせによって実現される。これらは、単一のチップによって構成されてもよいし、バスを介して接続される複数のチップによって構成されてもよい。
 各装置の各構成要素の一部または全部が複数のコンピュータや回路等により実現される場合には、複数のコンピュータや回路等は、集中配置されてもよいし、分散配置されてもよい。例えば、コンピュータや回路等は、クライアントアンドサーバシステム、クラウドコンピューティングシステム等、各々が通信ネットワークを介して接続される形態として実現されてもよい。
 本願発明は以上に説明した実施形態に限定されるものではない。本願発明の構成や詳細には、本願発明のスコープ内で当業者が理解し得る様々な変更をすることができる。
 本出願は、2016年6月21日に出願された日本出願特願2016-122843を基礎とする優先権を主張し、その開示の全てをここに取り込む。
 上記実施形態の一部または全部は以下の付記のようにも記載され得るが、以下には限られない。
 <<付記>>
[付記1]
 説明変数と目的変数とが関連づけられる複数の分析対象を分類する組分けによって生成する複数のグループについて、前記複数のグループの説明変数と目的変数との関係を導出する機械学習分析を、前記組分けごとに実行する解析手段と、
 前記複数のグループの説明変数の値と前記関係とに基づいて、前記複数のグループの目的変数の値である予測値の算出を、前記組分けごとに実行する予測手段と、
 前記分析対象に関するスコアを、前記組分けごとに算出された、当該分析対象が属する前記グループの前記予測値に基づく演算によって、算出する算出手段と、
 を備える分析装置。
[付記2]
 前記組分けにおいて同一のグループに属する前記分析対象のうちの任意の2つが、他の前記組分けにおいて異なるグループに属する、
 付記1に記載の分析装置。
[付記3]
 前記解析手段は、前記機械学習分析を、3つ以上の前記組分けごとに実行し、
 前記予測手段は、前記予測値の算出を、前記3つ以上の組分けごとに実行し、
 前記算出手段は、前記スコアを、前記3つ以上の組分けごとに算出された、当該分析対象が属する前記グループの前記予測値のそれぞれを乗算することによって算出する、
 付記1または2に記載の分析装置。
[付記4]
 前記組分けについて、当該組分けによって生成するグループの目的変数の値のばらつきが所定の基準を外れるかを判定し、前記ばらつきが前記所定の基準を外れた場合に、新たに前記組分けを実行する、組分け手段をさらに備え、
 前記解析手段は、前記ばらつきが所定の基準を外れないと判定された前記組分けによって生成する複数のグループについて前記機械学習分析を実行する、
 付記1から付記3のいずれか一項に記載の分析装置。
[付記5]
 n×n個(nは2以上の整数)の前記分析対象に対し、任意の2つの前記分析対象がいずれかただ1つの組分けにおいて同一のグループに属するようなn+1回の前記組分けを行う組分け手段をさらに備え、
 前記算出手段は、前記分析対象のそれぞれの前記スコアを、当該分析対象が属するすべての前記グループについて算出された前記予測値の総和から、前記組分けのいずれかに基づいて算出された各グループの前記予測値の総和を引いた値を用いて、算出する、
 付記1に記載の分析装置。
[付記6]
 前記分析対象のうち前記スコアが高い方から所定数の前記分析対象を、他の前記分析対象とは異なる態様で表示する出力手段をさらに備える、
 付記1から付記5のいずれか一項に記載の分析装置。
[付記7]
 説明変数と目的変数とが関連づけられる複数の分析対象を分類する組分けによって生成する複数のグループについて、前記複数のグループの説明変数と目的変数との関係を導出する機械学習分析を、前記組分けごとに実行し、
 前記複数のグループの説明変数の値と前記関係とに基づいて、前記複数のグループの目的変数の値である予測値の算出を、前記組分けごとに実行し、
 前記分析対象に関するスコアを、前記組分けごとに算出された、当該分析対象が属する前記グループの前記予測値に基づく演算によって、算出する、
 分析方法。
[付記8]
 前記組分けにおいて同一のグループに属する前記分析対象のうちの任意の2つが、他の前記組分けにおいて異なるグループに属する、
 付記7に記載の分析方法。
[付記9]
 前記機械学習分析を、3つ以上の前記組分けごとに実行し、
 前記予測値の算出を、前記3つ以上の組分けごとに実行し、
 前記スコアを、前記3つ以上の組分けごとに算出された、当該分析対象が属する前記グループの前記予測値のそれぞれを乗算することによって算出する、
 付記7または8に記載の分析方法。
[付記10]
 前記組分けについて、当該組分けによって生成するグループの目的変数の値のばらつきが所定の基準を外れるかを判定し、前記ばらつきが前記所定の基準を外れた場合に、新たに前記組分けを実行し、
 前記ばらつきが所定の基準を外れないと判定された前記組分けによって生成する複数のグループについて前記機械学習分析を実行する、
 付記7から付記9のいずれか一項に記載の分析方法。
[付記11]
 n×n個(nは2以上の整数)の前記分析対象に対し、任意の2つの前記分析対象がいずれかただ1つの組分けにおいて同一のグループに属するようなn+1回の前記組分けを行い、
 前記分析対象の前記スコアを、当該分析対象が属するすべての前記グループについて算出された前記予測値の総和から、前記組分けのいずれかに基づいて算出された各グループの前記予測値の総和を引いた値を用いて、算出する、
 付記7に記載の分析方法。
[付記12]
 前記分析対象のうち前記スコアが高い方から所定数の前記分析対象を、他の前記分析対象とは異なる態様で表示する、
 付記7から付記11のいずれか一項に記載の分析方法。
[付記13]
 コンピュータに、
 説明変数と目的変数とが関連づけられる複数の分析対象を分類する組分けによって生成する複数のグループについて、前記複数のグループの説明変数と目的変数との関係を導出する機械学習分析を、前記組分けごとに実行する解析処理と、
 前記複数のグループの説明変数の値と前記関係とに基づいて、前記複数のグループの目的変数の値である予測値の算出を、前記組分けごとに実行する予測処理と、
 前記分析対象に関するスコアを、前記組分けごとに算出された、当該分析対象が属する前記グループの前記予測値に基づく演算によって、算出する算出処理と、
 を実行させるプログラム。
[付記14]
 前記組分けにおいて同一のグループに属する前記分析対象のうちの任意の2つが、他の前記組分けにおいて異なるグループに属する、
 付記13に記載のプログラム。
[付記15]
 前記解析処理は、前記機械学習分析を、3つ以上の前記組分けごとに実行し、
 前記予測処理は、前記予測値の算出を、前記3つ以上の組分けごとに実行し、
 前記算出処理は、前記スコアを、前記3つ以上の組分けごとに算出された、当該分析対象が属する前記グループの前記予測値のそれぞれを乗算することによって算出する、
 付記13または14に記載のプログラム。
[付記16]
 コンピュータに、
 前記組分けについて、当該組分けによって生成するグループの目的変数の値のばらつきが所定の基準を外れるかを判定し、前記ばらつきが前記所定の基準を外れた場合に、新たに前記組分けを実行する、組分け処理を実行させ、
 前記解析処理は、前記ばらつきが所定の基準を外れないと判定された前記組分けによって生成する複数のグループについて前記機械学習分析を実行する、
 付記13から付記15のいずれか一項に記載のプログラム。
[付記17]
 コンピュータに、n×n個(nは2以上の整数)の前記分析対象に対し、任意の2つの前記分析対象がいずれかただ1つの組分けにおいて同一のグループに属するようなn+1回の前記組分けを行う組分け処理を実行させ、
 前記算出処理は、前記分析対象のそれぞれの前記スコアを、当該分析対象が属するすべての前記グループについて算出された前記予測値の総和から、前記組分けのいずれかに基づいて算出された各グループの前記予測値の総和を引いた値を用いて、算出する、
 付記13に記載のプログラム。
[付記18]
 コンピュータに、前記分析対象のうち前記スコアが高い方から所定数の前記分析対象を、他の前記分析対象とは異なる態様で表示する出力処理を実行させる、
 付記13から付記17のいずれか一項に記載のプログラム。
 11、12  分析装置
 32  記憶装置
 111  分割部
 112  組分け部
 113  解析部
 114  予測部
 115  算出部
 116  出力部
 320  データベース
 1900  コンピュータ
 1901  CPU
 1902  ROM
 1903  RAM
 1904A  プログラム
 1904B  記憶情報
 1905  記憶装置
 1906  記録媒体
 1907  ドライブ装置
 1908  通信インタフェース
 1909  通信ネットワーク
 1910  入出力インタフェース
 1911  バス

Claims (18)

  1.  説明変数と目的変数とが関連づけられる複数の分析対象を分類する組分けによって生成する複数のグループについて、前記複数のグループの説明変数と目的変数との関係を導出する機械学習分析を、前記組分けごとに実行する解析手段と、
     前記複数のグループの説明変数の値と前記関係とに基づいて、前記複数のグループの目的変数の値である予測値の算出を、前記組分けごとに実行する予測手段と、
     前記分析対象に関するスコアを、前記組分けごとに算出された、当該分析対象が属する前記グループの前記予測値に基づく演算によって、算出する算出手段と、
     を備える分析装置。
  2.  前記組分けにおいて同一のグループに属する前記分析対象のうちの任意の2つが、他の前記組分けにおいて異なるグループに属する、
     請求項1に記載の分析装置。
  3.  前記解析手段は、前記機械学習分析を、3つ以上の前記組分けごとに実行し、
     前記予測手段は、前記予測値の算出を、前記3つ以上の組分けごとに実行し、
     前記算出手段は、前記スコアを、前記3つ以上の組分けごとに算出された、当該分析対象が属する前記グループの前記予測値のそれぞれを乗算することによって算出する、
     請求項1または2に記載の分析装置。
  4.  前記組分けについて、当該組分けによって生成するグループの目的変数の値のばらつきが所定の基準を外れるかを判定し、前記ばらつきが前記所定の基準を外れた場合に、新たに前記組分けを実行する、組分け手段をさらに備え、
     前記解析手段は、前記ばらつきが所定の基準を外れないと判定された前記組分けによって生成する複数のグループについて前記機械学習分析を実行する、
     請求項1から3のいずれか一項に記載の分析装置。
  5.  n×n個(nは2以上の整数)の前記分析対象に対し、任意の2つの前記分析対象がいずれかただ1つの組分けにおいて同一のグループに属するようなn+1回の前記組分けを行う組分け手段をさらに備え、
     前記算出手段は、前記分析対象のそれぞれの前記スコアを、当該分析対象が属するすべての前記グループについて算出された前記予測値の総和から、前記組分けのいずれかに基づいて算出された各グループの前記予測値の総和を引いた値を用いて、算出する、
     請求項1に記載の分析装置。
  6.  前記分析対象のうち前記スコアが高い方から所定数の前記分析対象を、他の前記分析対象とは異なる態様で表示する出力手段をさらに備える、
     請求項1から5のいずれか一項に記載の分析装置。
  7.  説明変数と目的変数とが関連づけられる複数の分析対象を分類する組分けによって生成する複数のグループについて、前記複数のグループの説明変数と目的変数との関係を導出する機械学習分析を、前記組分けごとに実行し、
     前記複数のグループの説明変数の値と前記関係とに基づいて、前記複数のグループの目的変数の値である予測値の算出を、前記組分けごとに実行し、
     前記分析対象に関するスコアを、前記組分けごとに算出された、当該分析対象が属する前記グループの前記予測値に基づく演算によって、算出する、
     分析方法。
  8.  前記組分けにおいて同一のグループに属する前記分析対象のうちの任意の2つが、他の前記組分けにおいて異なるグループに属する、
     請求項7に記載の分析方法。
  9.  前記機械学習分析を、3つ以上の前記組分けごとに実行し、
     前記予測値の算出を、前記3つ以上の組分けごとに実行し、
     前記スコアを、前記3つ以上の組分けごとに算出された、当該分析対象が属する前記グループの前記予測値のそれぞれを乗算することによって算出する、
     請求項7または8に記載の分析方法。
  10.  前記組分けについて、当該組分けによって生成するグループの目的変数の値のばらつきが所定の基準を外れるかを判定し、前記ばらつきが前記所定の基準を外れた場合に、新たに前記組分けを実行し、
     前記ばらつきが所定の基準を外れないと判定された前記組分けによって生成する複数のグループについて前記機械学習分析を実行する、
     請求項7から請求項9のいずれか一項に記載の分析方法。
  11.  n×n個(nは2以上の整数)の前記分析対象に対し、任意の2つの前記分析対象がいずれかただ1つの組分けにおいて同一のグループに属するようなn+1回の前記組分けを行い、
     前記分析対象の前記スコアを、当該分析対象が属するすべての前記グループについて算出された前記予測値の総和から、前記組分けのいずれかに基づいて算出された各グループの前記予測値の総和を引いた値を用いて、算出する、
     請求項7に記載の分析方法。
  12.  前記分析対象のうち前記スコアが高い方から所定数の前記分析対象を、他の前記分析対象とは異なる態様で表示する、
     請求項7から11のいずれか一項に記載の分析方法。
  13.  コンピュータに、
     説明変数と目的変数とが関連づけられる複数の分析対象を分類する組分けによって生成する複数のグループについて、前記複数のグループの説明変数と目的変数との関係を導出する機械学習分析を、前記組分けごとに実行する解析処理と、
     前記複数のグループの説明変数の値と前記関係とに基づいて、前記複数のグループの目的変数の値である予測値の算出を、前記組分けごとに実行する予測処理と、
     前記分析対象に関するスコアを、前記組分けごとに算出された、当該分析対象が属する前記グループの前記予測値に基づく演算によって、算出する算出処理と、
     を実行させるプログラムを記憶した、コンピュータ読み取り可能な非一時的な記憶媒体。
  14.  前記組分けにおいて同一のグループに属する前記分析対象のうちの任意の2つが、他の前記組分けにおいて異なるグループに属する、
     請求項13に記載の記憶媒体。
  15.  前記解析処理は、前記機械学習分析を、3つ以上の前記組分けごとに実行し、
     前記予測処理は、前記予測値の算出を、前記3つ以上の組分けごとに実行し、
     前記算出処理は、前記スコアを、前記3つ以上の組分けごとに算出された、当該分析対象が属する前記グループの前記予測値のそれぞれを乗算することによって算出する、
     請求項13または14に記載の記憶媒体。
  16.  前記プログラムは、前記コンピュータに、
     前記組分けについて、当該組分けによって生成するグループの目的変数の値のばらつきが所定の基準を外れるかを判定し、前記ばらつきが前記所定の基準を外れた場合に、新たに前記組分けを実行する、組分け処理を実行させ、
     前記解析処理は、前記ばらつきが所定の基準を外れないと判定された前記組分けによって生成する複数のグループについて前記機械学習分析を実行する、
     請求項13から15のいずれか一項に記載の記憶媒体。
  17.  前記プログラムは、前記コンピュータに、n×n個(nは2以上の整数)の前記分析対象に対し、任意の2つの前記分析対象がいずれかただ1つの組分けにおいて同一のグループに属するようなn+1回の前記組分けを行う組分け処理を実行させ、
     前記算出処理は、前記分析対象のそれぞれの前記スコアを、当該分析対象が属するすべての前記グループについて算出された前記予測値の総和から、前記組分けのいずれかに基づいて算出された各グループの前記予測値の総和を引いた値を用いて、算出する、
     請求項13に記載の記憶媒体。
  18.  前記プログラムは、前記コンピュータに、前記分析対象のうち前記スコアが高い方から所定数の前記分析対象を、他の前記分析対象とは異なる態様で表示する出力処理を実行させる、
     請求項13から17のいずれか一項に記載の記憶媒体。
PCT/JP2017/022439 2016-06-21 2017-06-19 分析装置、分析方法、および記憶媒体 WO2017221856A1 (ja)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018524061A JP6943242B2 (ja) 2016-06-21 2017-06-19 分析装置、分析方法、およびプログラム

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2016-122843 2016-06-21
JP2016122843 2016-06-21

Publications (1)

Publication Number Publication Date
WO2017221856A1 true WO2017221856A1 (ja) 2017-12-28

Family

ID=60783279

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2017/022439 WO2017221856A1 (ja) 2016-06-21 2017-06-19 分析装置、分析方法、および記憶媒体

Country Status (2)

Country Link
JP (1) JP6943242B2 (ja)
WO (1) WO2017221856A1 (ja)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2020038488A (ja) * 2018-09-04 2020-03-12 株式会社日立製作所 事案発生抑止効果予測システム
CN111684474A (zh) * 2018-03-13 2020-09-18 欧姆龙株式会社 运算装置、运算方法及其程序
JP2020166703A (ja) * 2019-03-29 2020-10-08 株式会社Nttドコモ リスク推定装置
JP2021039565A (ja) * 2019-09-03 2021-03-11 東芝情報システム株式会社 状態変動検出補助装置、状態変動検出装置、状態変動検出補助用プログラム、及び状態変動検出用プログラム

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
HE, HAIBO ET AL.: "Learning from Imbalanced Data", IEEE TRANSACTIONS ON KNOWLEDGE AND DATA ENGINEERING, vol. 21, no. 9, September 2009 (2009-09-01), pages 1263 - 1284, XP011263451 *
SHUN'YA OKUNO ET AL.: "Microblogging o Taisho to shita 100,000 Nin Level deno Chosha Suitei Shuho no Teian", DAI 7 KAI FORUM ON DATA ENGINEERING AND INFORMATION MANAGEMENT (DAI 13 KAI THE DATABASE SOCIETY OF JAPAN NENJI TAIKAI, 4 March 2015 (2015-03-04), Retrieved from the Internet <URL:http://db-event.jpn.org/deim2015/paper/180.pdf> [retrieved on 20170821] *
YOSHIHIKO SUHARA ET AL.: "Spam Detection Using Online Learning From Imbalanced Data with the Focus on False Positive Rate", INFORMATION PROCESSING SOCIETY OF JAPAN TRANSACTIONS 2012, vol. 6, no. 2, 15 April 2013 (2013-04-15), pages 51 - 60, ISSN: 1882-7772 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111684474A (zh) * 2018-03-13 2020-09-18 欧姆龙株式会社 运算装置、运算方法及其程序
CN111684474B (zh) * 2018-03-13 2024-04-16 欧姆龙株式会社 运算装置、运算方法及记录介质
JP2020038488A (ja) * 2018-09-04 2020-03-12 株式会社日立製作所 事案発生抑止効果予測システム
JP7292838B2 (ja) 2018-09-04 2023-06-19 株式会社日立製作所 事案発生抑止効果予測システム
JP2020166703A (ja) * 2019-03-29 2020-10-08 株式会社Nttドコモ リスク推定装置
JP2021039565A (ja) * 2019-09-03 2021-03-11 東芝情報システム株式会社 状態変動検出補助装置、状態変動検出装置、状態変動検出補助用プログラム、及び状態変動検出用プログラム

Also Published As

Publication number Publication date
JPWO2017221856A1 (ja) 2019-04-11
JP6943242B2 (ja) 2021-09-29

Similar Documents

Publication Publication Date Title
WO2017221856A1 (ja) 分析装置、分析方法、および記憶媒体
US20210192586A1 (en) Systems and Methods for Detecting and Responding to Anomalous Traffic Conditions
US10073908B2 (en) Functional space-time trajectory clustering
US20160361878A1 (en) System and method for evaluating additive manufacturing index
CN113570867B (zh) 一种城市交通状态预测方法、装置、设备及可读存储介质
CN105260835A (zh) 多来源业务大数据的建模、分析、自我优化的方法
CN113033516A (zh) 对象识别统计方法及装置、电子设备、存储介质
CN116681176B (zh) 一种基于聚类和异构图神经网络的交通流预测方法
CN110889092A (zh) 一种基于轨道交易数据的短时大型活动周边轨道站点客流量预测方法
CN115456695A (zh) 一种店铺选址的分析方法、装置、***及介质
CN113706291A (zh) 欺诈风险预测方法、装置、设备及存储介质
Kalair et al. Dynamic and interpretable hazard-based models of traffic incident durations
JP2003256757A (ja) 空間データ分析装置、空間データ分析方法、及び空間データ分析プログラム
CN106779245B (zh) 基于事件的民航需求预测方法和装置
KR102359902B1 (ko) 빅데이터 및 인공지능 기반 교차로 서비스수준 예측방법, 그리고 이를 포함하는 저장매체
Heydarian et al. Automated benchmarking and monitoring of an earthmoving operation's carbon footprint using video cameras and a greenhouse gas estimation model
CN110796381A (zh) 建模数据评价指标的处理方法、装置、终端设备及介质
CN114912854B (zh) 地铁列车运行调整方法、装置、电子设备及存储介质
CN113723860B (zh) 一种土地资源资产离任审计评价方法、装置及存储介质
WO2023184281A1 (zh) 一种检测参数分析方法及装置
CN115049158A (zh) 城市***运行状态的预测方法、***、存储介质及终端
CN115861816A (zh) 一种立体低涡识别方法、装置、存储介质及终端
CN109063944A (zh) 基于大数据分析技术的城市金融指数分析方法及装置
CN111984637B (zh) 数据建模中的缺失值处理方法和装置、设备及存储介质
CN114693072A (zh) 车队结构分析方法、***及存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17815324

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2018524061

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17815324

Country of ref document: EP

Kind code of ref document: A1