Analytical device, analytical method, and program

The analysis device automates the identification of prediction errors in models by evaluating multiple indicators and applying factor identification rules, simplifying the analysis and providing targeted solutions.

JP7563569B2Active Publication Date: 2024-10-08NEC CORP
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2023501926
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2021-02-25
Publication Date
2024-10-08
Estimated Expiration
2041-02-25

AI Technical Summary

Technical Problem

Existing systems fail to automatically identify the causes of prediction errors in prediction models based on multiple indicators, requiring manual and specialized analysis by analysts.

Method used

An analysis device and method that calculates multiple indicators for prediction models, evaluates them, and identifies prediction errors through a combination of evaluation results using factor identification rules, enabling automated cause determination.

Benefits of technology

Facilitates easy identification of prediction errors in prediction models from various viewpoints, automating the analysis process and providing actionable work proposals to address the identified causes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007563569000001
    Figure 0007563569000001
  • Figure 0007563569000002
    Figure 0007563569000002
  • Figure 0007563569000003
    Figure 0007563569000003
Patent Text Reader

Abstract

Provided are an analysis device, an analysis method, and a program which are capable of easily identifying, on the basis of various perspectives, the cause of a prediction error in a prediction that uses a prediction model. An analysis device (1) comprises: an indicator evaluation unit (2) which calculates a plurality of types of indicators regarding a prediction model, data of the explanatory variables used in the prediction model, or data of the objective variable used in the prediction model, and evaluates each type of indicator; and a cause identification unit (3) which identifies the cause of an error in a prediction made by the prediction model, in accordance with a combination of the evaluation results of the plurality of types of indicators.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to an analysis apparatus, an analysis method, and a non-transitory computer-readable medium having a program stored thereon. [Background technology]

[0002] Due to factors such as over- or under-learning of training data and changes in the distribution of data, the predicted value of a predictive model for a certain data point may deviate significantly from the actual value. This is called a prediction error. When analyzing prediction errors and working to eliminate the causes of prediction errors manually, the analyst first performs a specialized review involving a multifaceted analysis based on multiple indicators using the predictive model and training data, etc., to identify the causes. The analyst then devises and carries out work to eliminate the identified causes.

[0003] There are several known techniques for evaluating predictive models. For example, the index monitoring system described in Non-Patent Document 1 continuously evaluates multiple indexes and presents the evaluation results to system users. In addition, the predictive model maintenance system described in Patent Document 1 continuously evaluates prediction accuracy and the amount of change in data distribution, and when it detects a deterioration state of the predictive model from the evaluation results, it automatically re-learns and updates the model. [Prior art documents] [Non-patent literature]

[0004] [Non-Patent Document 1] Polyzotis, N., Zinkevich, M., Roy, S., Breck, E., & Whang, S. "Data validation for machine learning." Proceedings of Machine Learning and Systems 1 (2019): 334-347. [Patent documents]

[0005] [Patent Document 1] JP 2019-87101 A Summary of the Invention [Problem to be solved by the invention]

[0006] The index monitoring system of Non-Patent Document 1 only calculates multiple indexes individually and presents the judgment results for each index individually. Therefore, specialized analysis by an analyst is still required to identify the cause of the prediction error. In addition, the prediction model maintenance system of Patent Document 1 does not identify the cause of the prediction error based on the evaluation results of multiple indexes.

[0007] In view of the above-mentioned problems, the main objective of the present disclosure is to provide an analysis device, an analysis method, and a program that can easily identify the causes of prediction errors in predictions using a prediction model from various perspectives. [Means for solving the problem]

[0008] The analysis device according to the first aspect of the present disclosure includes: An index evaluation means for calculating a plurality of types of indexes for a prediction model, data of explanatory variables used in the prediction model, or data of objective variables used in the prediction model, and evaluating each of the indexes; a factor identification means for identifying a factor of a prediction error by the prediction model according to a combination of evaluation results of each of the multiple types of indexes; has.

[0009] In the analysis method according to the second aspect of the present disclosure, Calculating a plurality of types of indexes for the prediction model, the data of explanatory variables used in the prediction model, or the data of objective variables used in the prediction model, and evaluating each of them; The cause of the prediction error by the prediction model is identified according to a combination of the evaluation results of each of the multiple types of indicators.

[0010] A program according to the third aspect of the present disclosure includes: An index evaluation step of calculating a plurality of types of indexes for the prediction model, the data of explanatory variables used in the prediction model, or the data of objective variables used in the prediction model, and evaluating each of them; A factor identification step of identifying a factor of a prediction error by the prediction model according to a combination of the evaluation results of each of the multiple types of indexes. to be executed by the computer. Effect of the Invention

[0011] According to the present disclosure, it is possible to provide an analysis device, an analysis method, and a program that can easily identify the causes of prediction errors in predictions using a prediction model from various perspectives. [Brief description of the drawings]

[0012] [Figure 1] FIG. 1 is a block diagram showing an example of a configuration of an analysis device according to an embodiment. [Diagram 2] 1 is a block diagram showing an example of a configuration of an analysis apparatus according to an embodiment; [Diagram 3] 4 is a schematic diagram illustrating an example of information stored in a storage unit. FIG. [Figure 4] FIG. 11 is an explanatory diagram showing an example of a combination of judgment results for indexes. [Diagram 5] FIG. 13 is an explanatory diagram illustrating an example of factor determination rules in a table format. [Figure 6] FIG. 11 is an explanatory diagram showing an example of a factor determination rule in a flowchart format. [Figure 7] FIG. 11 is an explanatory diagram showing an example of a work determination rule. [Figure 8] 4 is a schematic diagram showing an example of image data generated by a visualization unit. FIG. [Figure 9] 4 is a schematic diagram showing an example of image data generated by a visualization unit. FIG. [Figure 10] 4 is a schematic diagram showing an example of image data generated by a visualization unit. FIG. [Figure 11]4 is a schematic diagram showing an example of image data generated by a visualization unit. FIG. [Figure 12A] FIG. 2 is a schematic diagram showing an example of a user interface. [Figure 12B] FIG. 2 is a schematic diagram showing an example of a user interface. [Figure 12C] FIG. 2 is a schematic diagram showing an example of a user interface. [Figure 12D] FIG. 2 is a schematic diagram showing an example of a user interface. [Figure 13] FIG. 2 is a schematic diagram illustrating an example of a hardware configuration of an analysis apparatus according to an embodiment. [Figure 14] 4 is a flowchart showing an example of the operation of the analysis device according to the embodiment. [Figure 15] FIG. 13 is a schematic diagram showing examples of factor determination rules and task determination rules. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] <Outline of the embodiment> Before describing the details of the embodiment, an overview of the embodiment will be described first. Fig. 1 is a block diagram showing an example of a configuration of an analysis device 1 according to the embodiment. As shown in Fig. 1, the analysis device 1 has an index evaluation unit 2 and a factor identification unit 3.

[0014] The index evaluation unit 2 calculates multiple types of indexes for the prediction model, the data of explanatory variables used in the prediction model, or the data of the objective variable used in the prediction model. Then, the index evaluation unit 2 evaluates each of the multiple types of calculated indexes. The index evaluation unit 2 calculates a predetermined arbitrary index. For example, the index may be the accuracy of the prediction model, the degree of anomaly of the values ​​of the explanatory variables or objective variables in data that has failed to be predicted using the prediction model (hereinafter referred to as a prediction error sample), or the amount of change over time in the distribution of the explanatory variables or objective variables. Note that these are merely examples, and the index evaluation unit 2 may calculate other indexes.

[0015] The factor identification unit 3 identifies the cause of the error in prediction by the prediction model according to the combination of evaluation results of the multiple types of indicators by the index evaluation unit 2. The factor identification unit 3 identifies the cause, for example, by using a predetermined rule that associates the combination of evaluation results with the cause.

[0016] According to the analysis device 1, evaluation is performed for a plurality of types of indexes, and factors according to a combination of the evaluation results are automatically identified. Therefore, according to the analysis device 1, factors of prediction errors in predictions using a prediction model can be easily identified from various perspectives.

[0017] <Details of the embodiment> Hereinafter, the embodiment will be described in detail with reference to the drawings. When a prediction model makes a prediction error, that is, when a prediction by the prediction model for a certain data point is incorrect, the analysis device of this embodiment analyzes the prediction error using multiple indicators to identify the cause of the prediction error for that data point (prediction error sample). Note that the target prediction model is arbitrary, and may be, for example, a regression model or a classification model. When the target model is a regression model, the analysis device of this embodiment identifies, for example, a cause of an inappropriate predicted value of a response variable. Also, when the target prediction model is a classification model, the analysis device of this embodiment identifies, for example, a cause of an inappropriate predicted value or classification score of a label.

[0018] The analysis device of this embodiment calculates multiple indices using misprediction samples and training data, etc., and identifies the cause of misprediction by performing analysis using the multiple indices. Examples of the indices used include an evaluation index of the prediction model (prediction model accuracy) such as mean square error, the degree of anomaly of the misprediction sample calculated using an anomaly detection method, and the amount of change in data distribution calculated from the distribution distance between the distributions of explanatory variables of training data and operational data.

[0019] 2 is a block diagram showing an example of a configuration of analysis device 10 according to an embodiment. As shown in FIG. 2, analysis device 10 includes a storage unit 20, a diagnosis unit 30, an operation determination unit 40, a visualization unit 50, a result output unit 60, and an instruction receiving unit 70.

[0020] First, the storage unit 20 will be described. The storage unit 20 stores information necessary for analyzing prediction error factors. Specifically, as shown in Fig. 3, the storage unit 20 stores a prediction model 21, training data 22, training test data 23, operational data 24, and analysis control information 26.

[0021] The prediction model 21 is a prediction model trained using training data 22. In other words, the prediction model 21 is a learned model. The prediction model 21 has a function of outputting a predicted value of a target variable when input data (data of explanatory variables) is input. As described above, the type of the prediction model 21 is not particularly limited.

[0022] The training data 22 is data used for training and parameter tuning of the prediction model 21, and is a set of data on explanatory variables and data on response variables.

[0023] The training test data 23 is data used to evaluate the generalization performance of the prediction model 21 when training the prediction model 21, and is a set of data on explanatory variables and data on target variables. The training data 22 and the training test data 23 can be said to be data in the training phase for the prediction model 21.

[0024] The operation data 24 is data obtained during operation of the prediction model 21, and includes data on explanatory variables used to obtain a prediction by the prediction model 21, and actual values ​​of dependent variables corresponding to the explanatory variable data. The operation data 24 may include predicted values ​​of dependent variables corresponding to the explanatory variable data, predicted by the prediction model 21, in addition to the actual values ​​of dependent variables corresponding to the explanatory variable data.

[0025] The operational data 24 includes a misprediction sample 25. The misprediction sample 25 is designated from the operational data 24 as a sample in which a misprediction has occurred, for example, by a user of the analysis device 10. In this embodiment, the analysis device 10 uses the operational data 24 designated by an instruction received by an instruction receiving unit 70, which will be described later, as the misprediction sample 25. The number of misprediction samples 25 designated is not limited to one, and may be multiple. When multiple misprediction samples 25 are designated, the analysis device 10 identifies the cause of misprediction for each misprediction sample in turn.

[0026] The analysis control information 26 is information that controls the processing of the analysis device 10. Examples of the analysis control information 26 include a program that implements an algorithm used by the diagnosis unit 30 to evaluate an index, a threshold setting value used by the diagnosis unit 30 to evaluate an index, and information that defines a rule used by the diagnosis unit 30 or the work determination unit 40. The storage unit 20 may store a plurality of analysis control information 26 that can be substituted for each other. For example, the storage unit 20 may store various algorithms for calculating the same type of index as the analysis control information 26, or may store various setting values ​​(various evaluation algorithms) of a threshold used to evaluate an index. Also, for example, the storage unit 20 may store various definition information of a rule used by the diagnosis unit 30 or the work determination unit 40 as the analysis control information 26. When the analysis device 10 stores a plurality of analysis control information 26 that can be substituted for each other, the analysis device 10 performs processing using the analysis control information 26 specified by an instruction received by the instruction receiving unit 70. With this configuration, the analysis device 10 can perform analysis using various analysis methods.

[0027] Next, the diagnosis unit 30 will be described. The diagnosis unit 30 uses the information stored in the storage unit 20 to identify misprediction factors for the misprediction sample 25. Specifically, the diagnosis unit 30 calculates an index for each of a plurality of indexes and evaluates the index calculation results. Then, the diagnosis unit 30 uses each evaluation result obtained for each index to identify the misprediction factor.

[0028] As shown in Fig. 2, the diagnosis unit 30 includes an index evaluation unit 31 and a factor identification unit 32. The index evaluation unit 31 corresponds to the index evaluation unit 2 in Fig. 1. Moreover, the factor identification unit 32 corresponds to the factor identification unit 3 in Fig. 1. Therefore, the index evaluation unit 31 calculates multiple types of indexes and evaluates each of them. Moreover, the factor identification unit 32 identifies the cause of the error in prediction by the prediction model 21 according to the combination of the evaluation results of the multiple types of indexes by the index evaluation unit 31. The index evaluation unit 31 and the factor identification unit 32 will be described in detail below.

[0029] The index evaluation unit 31 uses information from the storage unit 20 to calculate a plurality of indexes necessary for analyzing the prediction error factors and to make a judgment on the calculation results of the indexes. For example, the index evaluation unit 31 calculates the degree of anomaly of the explanatory variables of the misprediction sample 25 for the training data 22, and evaluates the calculated degree of anomaly. In this case, the index evaluation unit 31 evaluates the index by judging whether the calculated degree of anomaly is a value that recognizes the misprediction sample 25 as an abnormal sample. That is, in this case, the index evaluation unit 31 uses the calculated degree of anomaly to judge whether the misprediction sample 25 is an abnormal sample. As another example, the index evaluation unit 31 calculates the distribution distance (hereinafter also referred to as the amount of data distribution change) between the training data 22 and the operation data 24, and evaluates the calculated distribution distance. In this case, the index evaluation unit 31 evaluates the index by judging whether the calculated distribution distance is a value that recognizes that there is a change in the distribution of data between training and operation. That is, in this case, the index evaluation unit 31 uses the calculated inter-distribution distance to determine whether or not a change in the distribution of data occurs between training and operation. Note that these are merely examples, and the index evaluation unit 31 can perform calculations and evaluations for various types of indexes. Thus, in this embodiment, the index evaluation unit 31 performs a predetermined judgment on the index as an evaluation of the index. The judgment on each index is performed, for example, using a threshold value stored as the analysis control information 26. Note that, instead of the threshold value itself, a parameter for specifying the threshold value may be stored as the analysis control information 26.

[0030] Here, the types and number of indices calculated to identify the cause of misprediction for one misprediction sample 25 are arbitrary, but it is preferable to use more than two indices, because using a large number of indices enables a more multifaceted analysis and increases the types of identifiable misprediction causes.

[0031] Moreover, the evaluation method for each index in the index evaluation unit 31 is arbitrary. For example, when calculating the degree of anomaly of the explanatory variables of the misprediction sample 25 and judging whether the misprediction sample is an abnormal sample, various anomaly detection methods such as the Hotelling method and the k-nearest neighbor method can be used. As described above, a program for implementing an evaluation method (algorithm) used by the index evaluation unit 31 for each index is stored in the storage unit 20 as, for example, the analysis control information 26. As described above, the analysis control information 26 may include multiple programs in which different algorithms are implemented for the same type of index. For example, the analysis control information 26 may include two programs, a program implementing the Hotelling method and a program implementing the k-nearest neighbor method, as programs implementing an evaluation method (algorithm) for the degree of anomaly of the explanatory variables of the misprediction sample 25. With this configuration, the diagnosis unit 30 can evaluate indexes using various evaluation methods by switching the analysis control information 26 to be used.

[0032] The factor identification unit 32 identifies the prediction error factor according to a combination of the evaluation results of the multiple types of indexes by the index evaluation unit 31. In this embodiment, the factor identification unit 32 identifies the prediction error factor according to a combination of the judgment results of a predetermined judgment for each index. Specifically, the factor identification unit 32 identifies the prediction error factor by using a predetermined rule (hereinafter, factor determination rule) that corresponds a combination of multiple judgment results to a prediction error factor. FIG. 4 shows a combination of judgment results when two different judgments (Yes, No) are made. That is, FIG. 4 shows a combination of the judgment result for the first index and the judgment result for the second index by the index evaluation unit 31. In this embodiment, as shown in FIG. 4, if the judgment result for any index is different, the factor determination rule is applied as a different combination. In this way, by considering multiple judgment results in an integrated manner as a combination of judgment results rather than considering multiple judgment results individually, it is possible to identify the prediction error factor by a multifaceted analysis using multiple indexes. As a result, the process in which the user identifies the prediction error factor by analyzing the judgment result for each index is unnecessary.

[0033] In this way, the factor identification unit 32 identifies the cause of the prediction error by the prediction model 21 according to the rule that associates the combination of the evaluation results (judgment results) of multiple types of indicators with the factors. The content of the factor determination rule used by the factor identification unit 32 is arbitrary. Also, as described above, the factor determination rule is stored in the storage unit 20 as, for example, the analysis control information 26. Also, as described above, the analysis control information 26 may include multiple factor determination rules with different types or numbers of judgment results to be analyzed. With this configuration, the diagnosis unit 30 can analyze prediction errors using different factor determination rules by switching the analysis control information 26 to be used. Note that, since it is necessary to obtain a judgment result corresponding to the factor determination rule used, the type and number of indicators to be evaluated by the indicator evaluation unit 31 depend on the factor determination rule.

[0034] The format of the factor determination rule is also arbitrary. The factor determination rule used by the factor identification unit 32 may be, for example, a factor determination rule that assigns a combination of judgment results to a prediction error factor using a table, or a factor determination rule that assigns a combination of judgment results to a prediction error factor using a flowchart. These formats of the factor determination rule are described below.

[0035] FIG. 5 shows an example of a factor determination rule in a table format used by the factor identification unit 32. In this example, the index evaluation unit 31 generates a Yes or No judgment result for three questions Q1, Q2, and Q3 corresponding to three different types of indexes using information stored in the storage unit 20. In question Q1, it is judged whether the mispredicted sample 25 is a normal sample based on the degree of anomaly of the explanatory variables of the mispredicted sample 25 for the training data 22. In question Q2, the goodness of fit of the prediction model 21 to the training data 22 in the neighborhood area is judged by calculating an evaluation index such as a mean square error using the neighborhood training sample and the prediction model 21. Here, the neighborhood training sample refers to a sample in the training data 22 located within the neighborhood area. In addition, the neighborhood area refers to a range of explanatory variable values ​​that are judged to be close to the values ​​of the explanatory variables of the mispredicted sample 25. At this time, a specific method of defining the neighborhood area is arbitrary, and for example, an area whose distance (Euclidean distance, etc.) from the mispredicted sample 25 calculated using the values ​​of the explanatory variables is equal to or less than a predetermined distance may be the neighborhood area. In question Q3, the amount of change in data distribution between the distribution of explanatory variables in the training data 22 and the distribution of explanatory variables in the operational data 24 is used to determine whether the distribution of the data has changed between training and operational periods.

[0036] The factor identification unit 32 identifies the misprediction factors using the judgment results by the index evaluation unit 31 and the factor determination rules in Fig. 5. There are eight combinations of the three judgment results, and the factor determination rules in tabular form assign a misprediction factor to each of these eight combinations. In the case of Fig. 5, the eight combinations are assigned to four types of misprediction factors.

[0037] As described above, the factor determination rule used by the factor identification unit 32 may be in the form of a flow chart. FIG. 6 shows an example of the factor determination rule in the form of a flow chart used by the factor identification unit 32. Note that although the factor determination rule shown in FIG. 5 and the factor determination rule shown in FIG. 6 have different formats, the rules for allocating factors to judgment results are the same. With the factor determination rule in the form of a flow chart, each judgment can be arranged on the flow chart, taking into account the dependency of the judgment of each index. This will be explained by focusing on the relationship between Q1, Q2, and Q3 in FIG. 6.

[0038] The factor determination rule in the form of a flowchart in FIG. 6 is structured such that Q1 is determined first, and if the determination result of Q1 is Yes, Q2 is determined, and if the determination result of Q1 is No, Q3 is determined. Note that Q1, Q2, and Q3 in the factor determination rule in FIG. 6 are the same as Q1, Q2, and Q3 in the factor determination rule in FIG. 5. In this manner, the factor determination rule in the form of a flowchart may be used as the factor determination rule used by the factor identification unit 32. That is, the factor identification unit 32 may identify the cause of the prediction error by the prediction model 21 according to a combination of the evaluation result (determination result) of a predetermined index among a plurality of types of indexes and the evaluation result of an index selected according to the evaluation result of the predetermined index. That is, the factor identification unit 32 may use a flowchart that sequentially identifies the indexes used to identify the factors based on the evaluation result (determination result) of the indexes.

[0039] If the result of the judgment in Q1 is Yes, it means that the explanatory variables of the mispredicted sample 25 are normal, and samples with explanatory variables similar to those of the mispredicted sample 25 may occur frequently. Therefore, it is assumed that there are many nearby training samples in the training data 22. In this case, if the actual values ​​of the objective variables of these nearby training samples are properly learned, the prediction model 21 becomes a prediction model with high prediction accuracy. Also, if the result of the judgment in Q1 is Yes, the mispredicted sample 25 is a normal sample, so there is little possibility that the data distribution has changed between training and operation. Therefore, if the result of the judgment in Q1 is Yes, there is little point in making the judgment in Q3.

[0040] If the result of the determination in Q1 is Yes, then in Q2, it is determined whether the prediction model 21 has properly learned the actual value of the objective variable of the nearby training sample. If the result of the determination in Q2 is Yes, the prediction model 21 is assumed to be a prediction model with high prediction accuracy, and is expected not to cause prediction errors. Therefore, factors other than the prediction model and data are considered to be the cause, such as a malfunction of the analysis device 10 (such as a malfunction of the user interface) or a sample without a prediction error being analyzed as the misprediction sample 25 due to an erroneous operation by a user of the system. Therefore, in this case, the factor identification unit 32 refers to the factor determination rule and determines that the cause of the prediction error is an error other than the prediction model and data. Also, when the result of the determination in Q2 is No, it is considered that the prediction model 21 has not properly learned the actual value of the objective variable of the nearby training sample due to underlearning or the like. Therefore, in this case, it is concluded that the prediction model 21 was a model with a local error around the misprediction sample 25. Therefore, in this case, the cause identification unit 32 refers to the cause determination rule and determines that the cause of the misprediction is a local error. In this way, Q2 is placed after Q1 because the determination of Q2 has meaning only when the determination result of Q1 is Yes.

[0041] On the other hand, if the result of the determination in Q1 is No, it means that there are not enough nearby training samples in the training data 22, and in this case, it is impossible to accurately determine the goodness of fit of the prediction model 21 to the nearby training samples in Q2. Therefore, if the result of the determination in Q1 is No, it is important to identify the reason why a highly abnormal sample such as the misprediction sample 25 occurred. Therefore, in Q3, it is determined whether the distribution of data has changed over time. Hereinafter, a change over time is referred to as a time change. If the result of the determination in Q3 is Yes, the following conclusion is made. That is, due to the time change in the distribution of data, the frequency of occurrence of samples with a high degree of abnormality compared to the training data 22 has increased, and as a result, it is concluded that a misprediction sample 25 with a high degree of abnormality compared to the training data 22 has occurred, and a misprediction has occurred. Therefore, in this case, the factor identification unit 32 refers to the factor determination rule and determines that the cause of the misprediction is a change in the data distribution. Also, if the result of the determination in Q3 is No, since the distribution of data has not changed over time, it is concluded that the misprediction sample 25 was an abnormal sample that occurred due to a factor other than the time change in the data distribution. Therefore, in this case, the factor identification unit 32 refers to the factor determination rule and determines that the cause of the prediction error is an abnormality in the explanatory variable for some reason. In this way, the factor determination rule in the form of a flow chart is structured so that the details of the reason why the determination result of Q1 is No are determined in Q3, and Q3 is placed after Q1.

[0042] As mentioned above, the cause determination rules shown in Figure 5 and those shown in Figure 6 have the same content of question Q and the ultimately identified misprediction factors, and are therefore identical as rules. However, using cause determination rules that explicitly consider the dependencies between the judgment results of each indicator, such as cause determination rules in flowchart format, makes it easier for users to interpret the identified misprediction factors and also leads to savings in computer resources. This will be explained using the cause determination rules shown in Figure 6 as an example.

[0043] When the factor determination rule in the form of a flow chart as shown in FIG. 6 is used, since there is a branch in the flow chart, it is not necessary to make a judgment for all questions Q, and the questions Q to be judged are narrowed down. Therefore, compared with the case where the combination of judgment results for all indicators is considered as in the case of the factor determination rule in the form of a table shown in FIG. 5, the number of combinations that the analysis device 10 must consider during analysis is reduced. In other words, it is possible to omit the calculation and evaluation of some indicators. This leads to saving of computer resources. In addition, when the prediction error factor determined using the factor determination rule in the form of a flow chart is followed in order according to the judgment results in accordance with the flow chart, it is possible to explain why such a prediction error factor was determined. Therefore, when the factor determination rule in the form of a flow chart is used, it is easy for the user to understand the meaning of the identified prediction error factor.

[0044] Next, the work determination unit 40 will be described. The work determination unit 40 determines work for eliminating the factor identified by the factor identification unit 32 of the diagnosis unit 30. In this embodiment, the work determination unit 40 creates a work proposal (hereinafter, work proposal) for eliminating the prediction error factor identified by the diagnosis unit 30. At this time, the work determination unit 40 creates the work proposal by using a predetermined rule (hereinafter, work determination rule) for assigning a work proposal to the prediction error factor.

[0045] Here, an example of the work decision rule is shown in FIG. 7. The work decision rule illustrated in FIG. 7 is a rule that assigns a work proposal to the identified factor in one-to-one correspondence. If the identified prediction error factor is an "error other than the prediction model and data", it is necessary to check whether a problem such as a system malfunction or a user's operation error has occurred by performing an operation test of the system (analysis device 10). Therefore, in this case, the work decision unit 40 creates a work proposal that recommends the implementation of such a work by referring to the work decision rule. Also, if the identified prediction error factor is a "local error", there is a high possibility of underlearning, etc., so it is necessary to adjust the hyperparameters at the time of learning the prediction model and then relearn. Therefore, in this case, the work decision unit 40 creates a work proposal that recommends the implementation of such a work by referring to the work decision rule. Also, if the identified prediction error factor is a "change in data distribution", it means that there is a large amount of operation data in the area of ​​the explanatory variable that the prediction model 21 has not learned. For this reason, the accuracy of the prediction model can be improved by adding the operation data to the training data and relearning. Therefore, in this case, the work decision unit 40 creates a work proposal that recommends the implementation of such a work by referring to the work decision rule. Also, if the misprediction factor is "explanatory variable anomaly," it means that the misprediction sample 25 has an abnormal explanatory variable value regardless of the change in distribution. Therefore, it is necessary to investigate the reason why such a sample occurred and determine a method of dealing with the occurrence of a similar sample in the future. Therefore, in this case, the work decision unit 40 refers to the work decision rules and creates a work proposal that recommends the execution of such a work.

[0046] In this way, the work determining unit 40 determines the work to be performed to eliminate the prediction error factor identified by the factor identifying unit 32. This makes it possible to output a work suggestion for eliminating the prediction error factor, so that the user can immediately start the work required for improvement. In other words, the user does not need to consider determining the work from the identified factor.

[0047] Next, the visualization unit 50 will be described. The visualization unit 50 visualizes information explaining each judgment result in the diagnosis unit 30. The method of visualizing information explaining each judgment result is arbitrary. For example, in the case of visualization regarding the abnormality degree of the misprediction sample, the visualization unit 50 may generate image data of a graph as shown in FIG. 8. In FIG. 8, a graph is shown in which a probability density function regarding the explanatory variable estimated from the data of the explanatory variable of the training data 22 and the actual value of the explanatory variable of the misprediction sample 25 are plotted. In addition, in the case of visualization regarding the abnormality degree of the misprediction sample, the visualization unit 50 may generate image data of a graph as shown in FIG. 9. In FIG. 9, a graph is shown in which a histogram of the abnormality degree of each sample in the training data 22 for the training data 22 and the abnormality degree of the explanatory variable of the misprediction sample 25 for the training data 22 are shown. By performing such visualization, it is possible to visually explain to what extent the misprediction sample 25 is an abnormal sample.

[0048] A program for generating information (image data) explaining the determination results may be stored in the storage unit 20 as analysis control information 26. In this case, the analysis control information 26 may hold a plurality of programs that realize different visualization methods for a certain index in order to perform different visualizations as exemplified in Fig. 8 and Fig. 9. According to such a configuration, the visualization unit 50 can realize different visualizations by switching the analysis control information 26 used when performing visualization to explain each determination result.

[0049] In the above, the visualization of the degree of anomaly of the misprediction sample is taken as an example, but the visualization unit 50 may visualize information explaining other judgment results. For example, the visualization unit 50 may generate image data of a graph as shown in FIG. 10 in order to visualize the goodness of fit of the model to the data. In FIG. 10, a graph is shown showing the predicted value of the objective variable by the prediction model 21 and the actual value of the objective variable of the training data 22 in the vicinity of the misprediction sample 25. By performing such visualization, it is possible to visually explain how the prediction model 21 fits the training data 22.

[0050] In this way, the visualization unit 50 may generate image data of a predetermined graph corresponding to the index. By such visualization, the user can visually confirm the validity of the judgment result for each index.

[0051] Furthermore, when the factor determination rules are in the form of a flowchart, the visualization unit 50 may generate image data that explains the flow of the determination results in the flowchart, as shown in Fig. 11. That is, the visualization unit 50 may generate image data that represents a flowchart that defines the indices used to identify the factors and the order in which the indices are used, and a history of transitions in the flowchart. By performing such visualization, the user can easily understand the meaning of the identified prediction error factors.

[0052] Next, the result output unit 60 will be described. The result output unit 60 outputs the calculation result of the index by the index evaluation unit 31, the judgment result of the index by the index evaluation unit 31, the prediction error factors identified by the factor identification unit 32, the work proposal created by the work determination unit 40, and the image data created by the visualization unit 50. The result output unit 60 may output all of these, or may output only a part of these. The output method of the result output unit 60 is arbitrary, and the result output unit 60 may display the above-mentioned information on a monitor (display), for example. The result output unit 60 may also transmit the above-mentioned information to another device.

[0053] Next, the instruction receiving unit 70 will be described. The instruction receiving unit 70 receives instructions from a user of the analysis device 10. For example, the instruction receiving unit 70 receives an instruction specifying which sample in the operational data 24 is the mispredicted sample 25. This allows the user to easily change the sample to be analyzed. The user interface of the instruction receiving unit 70 may be displayed on a monitor (display), for example. That is, the instruction receiving unit 70 may display a screen for receiving instructions on the monitor. The instruction receiving unit 70 receives instructions from the user, for example, via an input device (for example, a mouse, a keyboard, etc.) connected to the analysis device 10.

[0054] As described above, the instruction receiving unit 70 may receive an instruction to specify a calculation algorithm or an evaluation algorithm for the index. In this case, the index evaluation unit 31 calculates or evaluates the index using the calculation algorithm or evaluation algorithm specified by the instruction. The instruction receiving unit 70 may also receive an instruction to specify a factor determination rule. In this case, the factor identification unit 32 identifies the cause of the error in the prediction by the prediction model 21 according to the factor determination rule specified by the instruction. This configuration allows the user to easily change the analysis method. The instruction receiving unit 70 is not limited to the above-mentioned specifications, and may also receive an instruction to specify a task determination rule or a visualization method.

[0055] 12A to 12D are schematic diagrams showing an example of a user interface provided by the result output unit 60 and the instruction receiving unit 70 in the analysis device 10 of this embodiment. FIG. 12A shows an example of a window 900A including an analysis target selection screen 901 for specifying a sample to be analyzed, i.e., a misprediction sample 25, and an analysis result screen 902 for displaying an analysis result of a misprediction factor for the misprediction sample 25. The illustrated user interface is a user interface in which, when a misprediction sample to be analyzed is selected on the analysis target selection screen 901, a misprediction factor and a work suggestion are output on the analysis result screen 902. The window 900A also includes a button 903_1 for displaying a window 900B, a button 903_2 for displaying a window 900C, and a button 903_3 for displaying a window 900D. Here, the window 900B (see FIG. 12B) is a window that displays details of the judgment by the index evaluation unit 31. Moreover, window 900C (see Fig. 12C) is a window that displays an explanatory image using a flow chart as shown in Fig. 11. Moreover, window 900D (see Fig. 12D) is a window that displays an explanatory image using graphs as shown in Fig. 8 to Fig. 10. In this way, the user can check various contents as necessary.

[0056] Next, a description will be given of the hardware configuration of the analysis device 10. Fig. 13 is a schematic diagram showing an example of the hardware configuration of the analysis device 10. As shown in Fig. 13, the analysis device 10 includes an input / output interface 150, a network interface 151, a memory 152, and a processor 153.

[0057] The input / output interface 150 is an interface for connecting the analysis apparatus 10 to an input / output device. For example, the input / output interface 150 is connected to input devices such as a mouse and a keyboard, and an output device such as a monitor (display).

[0058] The network interface 151 is used to communicate with any other devices as needed and may include, for example, a network interface card (NIC).

[0059] The memory 152 is configured, for example, by a combination of a volatile memory and a non-volatile memory. The memory 152 is used to store software (computer programs) including one or more instructions executed by the processor 153, and data used for various processes of the analysis device 10. For example, the above-mentioned storage unit 20 may be realized by a storage device such as the memory 152.

[0060] The processor 153 reads out and executes software (computer programs) from the memory 152 to perform processing of the diagnosis unit 30, the work determination unit 40, the visualization unit 50, the result output unit 60, and the instruction reception unit 70. The processor 153 may be, for example, a microprocessor, an MPU (Micro Processor Unit), or a CPU (Central Processing Unit). The processor 153 may include multiple processors. In this manner, the analysis device 10 has a function as a computer.

[0061] The above-mentioned program can be stored and provided to a computer using various types of non-transitory computer readable media. The non-transitory computer readable medium includes various types of tangible storage media. Examples of the non-transitory computer readable medium include magnetic recording media (e.g., flexible disks, magnetic tapes, hard disk drives), magneto-optical recording media (e.g., magneto-optical disks), CD-ROM (Read Only Memory), CD-R, CD-R / W, and semiconductor memory (e.g., mask ROM, PROM (Programmable ROM), EPROM (Erasable PROM), flash ROM, RAM (Random Access Memory)). The program may be provided to a computer by various types of transitory computer readable media. Examples of the transitory computer readable medium include electric signals, optical signals, and electromagnetic waves. The transitory computer readable medium can provide the program to a computer via a wired communication path such as an electric wire and an optical fiber, or via a wireless communication path.

[0062] Next, a description will be given of the operation of the analysis device 10 of this embodiment. Fig. 14 is a flow chart showing an example of the operation of the analysis device 10 of this embodiment.

[0063] First, as a preparation before performing an analysis process by the analysis device 10, the prediction model 21, the training data 22, the training test data 23, and the operation data 24 are stored in the storage unit 20 (step S11). For example, the information is stored in the storage unit 20 by an operation by a user. The analysis control information 26 is stored in the storage unit 20 in advance. Next, the user inputs an instruction to the analysis device 10 to specify the misprediction sample 25 to be analyzed, and the instruction receiving unit 70 receives this instruction (step S12). Next, the diagnosis unit 30 calculates a plurality of indices and judges each of the indices, and identifies the misprediction factors using the factor determination rule (step S13). Next, the work determination unit 40 creates a work proposal to eliminate the identified misprediction factors (step S14). Next, the visualization unit 50 visualizes information explaining the analysis process (step S15). Then, the result output unit 60 displays the identification result of the misprediction factors, the work proposal, and the visualized information (step S16).

[0064] The analysis device 10 has been described above. According to the analysis device 10, evaluation is performed for multiple types of indices, and factors corresponding to the combination of the evaluation results are automatically identified. Therefore, according to the analysis device 10, the factors of prediction errors in prediction using a prediction model can be easily identified based on various viewpoints. In particular, in the analysis device 10, the work decision unit 40 decides the work to be performed to eliminate the prediction error factors, so that the user can omit considering what work to perform. Furthermore, since the analysis device 10 includes the visualization unit 50, information explaining the analysis process in the analysis device 10 can be visualized. Note that the configuration of the analysis device 10 described above is merely an example, and various modifications are possible. For example, the analysis device 10 may further include a processing unit that performs prediction using the prediction model 21.

[0065] In the above description, specific examples of the factor determination rules and the task determination rules are given to facilitate understanding, but the rules are not limited to the above specific examples. For example, the following rules may be used:

[0066] Below, we will give specific examples of the factor determination rules and the work determination rules that are different from the above examples. Figure 15 is a schematic diagram showing other specific examples of the factor determination rules and the work determination rules. Note that Figure 15 illustrates the factor determination rules in the form of a flow chart. The factor determination rules shown in Figure 15 handle a larger number of indicators than the factor determination rules shown in Figures 5 and 6, and therefore enable more multifaceted analysis.

[0067] In the example of Fig. 15, the index evaluation unit 31 calculates up to five indexes and performs five judgments corresponding to them, Q1 to Q5, and the cause identification unit 32 identifies the prediction error causes according to the cause determination rules in the form of a flowchart. Then, the work determination unit 40 creates work proposals using the work determination rules that create a one-to-one correspondence between the prediction error causes and the work proposals for solving them. The configuration of the cause determination rules in the form of a flowchart shown in Fig. 15 and the evaluation of the indexes corresponding to each question Q that appears in the cause determination rules are described below.

[0068] In Q1, it is determined whether the misprediction sample 25 is a normal sample based on the degree of anomaly of the explanatory variables of the misprediction sample 25 with respect to the training data 22. In addition, in Q2, if the result of the determination in Q1 is Yes, it is determined whether the actual value of the objective variable of the misprediction sample 25 is a value similar to the actual value of the objective variable of the nearby training sample. By performing the determinations in Q1 and Q2, it is possible to determine whether the misprediction sample 25 is a normal sample with respect to the explanatory variables and the objective variables when compared with the training data 22. The processing of the index evaluation unit 31 corresponding to Q1 and Q2 can be implemented using an anomaly detection technique. For example, when an anomaly detection technique called the Hotelling method is used, in order to determine Q1, the index evaluation unit 31 calculates the Mahalanobis distance of the misprediction sample 25 using the distribution of the explanatory variables of the training data 22, and sets this as the degree of anomaly. Similarly, in this case, in order to determine Q2, the index evaluation unit 31 calculates the Mahalanobis distance of the misprediction sample 25 using the distribution of the objective variables of the nearby training sample, and sets this as the degree of anomaly. Then, for the calculated degree of abnormality, the index evaluation unit 31 judges whether the mispredicted sample 25 is a normal sample by using a threshold stored as the analysis control information 26. If it is judged to be an abnormal sample, the judgment result of Q1 or Q2 is No.

[0069] In Q4, when the result of the judgment in Q1 is No, the explanatory variables of the training data 22 and the operational data 24 are focused on to judge whether a change in data distribution has occurred over time. In addition, in Q5, when the result of the judgment in Q2 is No, the distribution of the objective variables of the nearby training samples and the samples in the operational data 24 located in the nearby region (hereinafter, the nearby operational samples) is focused on to judge whether a change in data distribution has occurred over time. In this way, by focusing only on the samples in the nearby region in Q5, it is possible to remove the influence of the correlation between the explanatory variables and the objective variables, and it becomes easier to calculate the time change in the distribution of the noise of the objective variables. By making the judgments in Q4 and Q5, the diagnosis unit 30 judges whether the reason for the appearance of such an abnormal sample is due to the time change in the distribution of data when the misprediction sample 25 is an abnormal sample. The processing of the index evaluation unit 31 corresponding to Q4 and Q5 can be implemented using a distribution distance estimation technique or a change point detection technique. For example, when using a distribution distance estimation technique, in order to determine Q4, the index evaluation unit 31 calculates a distribution distance such as the Kullback-Leibler distance using the distribution of the actual values ​​of the explanatory variables of the training data 22 and the operation data 24, and regards this as the amount of distribution change of the data. Similarly, in this case, in order to determine Q5, the index evaluation unit 31 calculates a distribution distance such as the Kullback-Leibler distance using the distribution of the actual values ​​of the objective variables of the nearby training samples and the nearby operation samples, and regards this as the amount of distribution change of the data. Then, for the calculated amount of distribution change of the data, the index evaluation unit 31 uses a threshold stored as the analysis control information 26 to determine whether or not a change has occurred over time in the distribution of the data.

[0070] Q3 is determined when both the determination results of Q1 and Q2 are Yes (i.e., when the mispredicted sample 25 is determined to be a normal sample in comparison with the training data 22). Q3 is a question for determining whether the prediction model 21 has under-learned or over-learned the training data 22 in the vicinity of the mispredicted sample 25. By obtaining the determination result of Q3, it is possible to determine whether the cause of the misprediction is the prediction model 21. The process of the index evaluation unit 31 corresponding to Q3 can be implemented using various evaluation methods of the prediction model. As an example, there is a method using an evaluation index of the prediction model such as a mean square error. Specifically, in order to determine Q3, the index evaluation unit 31 calculates a mean square error using the nearby training sample and the prediction model 21, and compares it with a first threshold value stored as the analysis control information 26, thereby determining whether or not the nearby training sample has been under-learned. Furthermore, the index evaluation unit 31 calculates a mean square error using a sample (neighborhood test sample) in the training test data 23 located in the neighborhood area and the prediction model 21, and compares it with a second threshold value stored as the analysis control information 26. In this way, the index evaluation unit 31 judges whether or not there has been overlearning to the nearby training sample. The first threshold and the second threshold may be the same or different. In this way, it is judged whether or not both underlearning and overlearning have occurred. If neither underlearning nor overlearning has occurred, it is judged that the fit of the prediction model 21 to the training data and the training test data is good, and the judgment result of Q3 is Yes.

[0071] figure 15 The major difference between the factor decision rules shown in Fig. 6 and those shown in Fig. 15One notable feature of this rule is that the factors determining rule in adds the judgments Q2 and Q5 related to the objective variable. Q2 determines whether the actual value of the objective variable of the misprediction sample 25 is a normal value, compared with the objective variable of the nearby training sample. In addition, Q5 determines whether the actual value of the objective variable of the misprediction sample 25 is abnormal, and whether the reason for the occurrence of such an abnormal sample is due to a change over time in the distribution of the objective variable of the nearby operational sample. By adding these two judgments, analysis focusing on the value of the objective variable becomes possible, making it possible to identify the factors behind the misprediction more precisely than when using the factors determining rule shown in Figure 6.

[0072] Next, the dependency of each question Q in the factor determination rule in FIG. 15 and the determined prediction error factor will be described. First, if the judgment result of Q1 is No, it means that there are not enough nearby training samples in the training data 22. In this case, even if the prediction model 21 fits well with the nearby training samples, it is difficult for the prediction model 21 to make a highly accurate prediction for the misprediction sample 25. Therefore, next, in Q4, it is judged whether the reason for the occurrence of a sample that is difficult to predict, such as the misprediction sample 25, is due to a change in the distribution of the explanatory variable data. If the judgment result of Q4 is No, it is concluded that the misprediction factor is that the misprediction sample 25 was a sample with an abnormal explanatory variable value that occurred regardless of the change in the distribution of the data. In other words, it is concluded that the cause of the prediction error is an abnormality in the explanatory variable due to some reason. If the judgment result of Q4 is Yes, it is concluded that the frequency of occurrence of samples with abnormal explanatory variable values ​​has increased due to a change in the distribution of the explanatory variables over time, and as a result, the misprediction sample 25 with an abnormal explanatory variable value occurred, and a prediction error occurred.

[0073] If the result of the determination in Q1 is Yes, then in Q2, it is determined whether the actual measured value of the objective variable of the misprediction sample 25 can be accurately predicted when the prediction model 21 properly learns the actual measured value of the nearby training sample. If the result of the determination in Q2 is No, it means that the value of the objective variable of the misprediction sample 25 is an abnormal value with respect to the objective variable value of the nearby training sample, and highly accurate prediction is difficult. Then, in Q5, it is determined whether the reason for the occurrence of a sample with such an abnormal objective variable is a change in the distribution of the objective variable data. If the result of the determination in Q5 is No, it is concluded that the cause of the misprediction is that the misprediction sample 25 was a sample with an abnormal objective variable value that occurred regardless of the change in the distribution of the data. In other words, it is concluded that the cause of the misprediction is an abnormality in the objective variable due to some reason. If the result of the determination in Q5 is Yes, it is concluded that the frequency of occurrence of samples with abnormal objective variable values ​​has increased due to a change in the distribution of the objective variable over time, and as a result, a misprediction sample 25 with an abnormal objective variable value has occurred, and a misprediction has occurred.

[0074] If the result of the determination in Q2 is Yes, then in Q3, it is determined whether the prediction model 21 has properly learned the actual value of the objective variable of the nearby training sample. If the result of the determination in Q3 is Yes, the prediction model 21 is assumed to be a prediction model with high prediction accuracy, and is expected not to cause prediction errors. Therefore, factors other than the prediction model and data are considered, such as a malfunction of the system (analysis device 10) (such as a malfunction of the user interface) or an erroneous operation by the user of the system, in which a sample without a prediction error is analyzed as a misprediction sample 25. In addition, if the result of the determination in Q3 is No, this corresponds to a case in which the prediction model 21 has not properly learned the actual value of the objective variable of the nearby training sample due to overlearning or underlearning. Therefore, in this case, it is concluded that the prediction model 21 was a model with a local error around the misprediction sample 25.

[0075] Next, the work decision rule in FIG. 15 will be described. First, if the prediction error factor is "error other than the prediction model and data", it is necessary to check whether problems such as system malfunction or user operation error have occurred by performing an operation test of the system (analysis device 10). Therefore, in this case, the work decision unit 40 refers to the work decision rule to create a work proposal that recommends the implementation of such work. If the prediction error factor is "local error", there is a high possibility of overlearning or underlearning, so it is necessary to adjust the hyperparameters used when learning the prediction model and then relearn it. Therefore, in this case, the work decision unit 40 refers to the work decision rule to create a work proposal that recommends the implementation of such work. If the prediction error factor is "change in distribution for the objective variable", it is necessary to discard old data and relearn the prediction model using only new data in order to adapt the prediction model to the distribution of the changed objective variable. Therefore, in this case, the work decision unit 40 refers to the work decision rule to create a work proposal that recommends the implementation of such work. When the prediction error factor is "abnormality of the objective variable", it means that the misprediction sample 25 has an abnormal value of the objective variable regardless of the change in distribution, and it is necessary to investigate the cause of the occurrence of such a sample. Therefore, in this case, the work decision unit 40 refers to the work decision rule to create a work proposal that recommends the execution of such a work. When the prediction error factor is "change in distribution of explanatory variables", it means that there is a lot of operational data in the area of ​​the explanatory variables that the prediction model 21 has not learned. Therefore, the accuracy of the prediction model can be improved by adding the operational data to the training data and re-learning. Therefore, in this case, the work decision unit 40 refers to the work decision rule to create a work proposal that recommends the execution of such a work. When the prediction error factor is "abnormality of the explanatory variable", it means that the misprediction sample 25 has an abnormal value of the explanatory variable regardless of the change in distribution. Therefore, it is necessary to investigate the reason why such a sample occurred and determine a method of dealing with the occurrence of a similar sample in the future. Therefore, in this case, the work decision unit 40 refers to the work decision rule to create a work proposal that recommends the execution of such a work.

[0076] Although the present invention has been described above with reference to the embodiment, the present invention is not limited to the above. Various modifications that can be understood by those skilled in the art can be made to the configuration and details of the present invention within the scope of the invention.

[0077] A part or all of the above-described embodiments can be described as, but is not limited to, the following supplementary notes. (Appendix 1) An index evaluation means for calculating a plurality of types of indexes for a prediction model, data of explanatory variables used in the prediction model, or data of objective variables used in the prediction model, and evaluating each of the indexes; a factor identification means for identifying a factor of a prediction error by the prediction model according to a combination of evaluation results of each of the multiple types of indexes; An analytical device having (Appendix 2) The factor identification means identifies a factor of an error in prediction by the prediction model according to a rule that associates a combination of evaluation results of a plurality of types of the indexes with a factor. 2. The analytical apparatus of claim 1. (Appendix 3) The factor identification means identifies a factor of an error in prediction by the prediction model according to a combination of an evaluation result of a predetermined index among the multiple types of indexes and an evaluation result of the index selected according to the evaluation result of the predetermined index. 3. The analytical device of claim 2. (Appendix 4) An instruction receiving unit that receives an instruction to specify a calculation algorithm or an evaluation algorithm for the index, The index evaluation means calculates or evaluates the index using the calculation algorithm or evaluation algorithm specified by the instruction. 4. The analytical device according to claim 1 . (Appendix 5) An instruction receiving unit that receives an instruction to specify the rule, The factor identification means identifies a factor of an error in prediction by the prediction model in accordance with the rule specified in the instruction. 3. The analytical device of claim 2. (Appendix 6) The system further includes a task determination unit that determines a task for eliminating the cause identified by the cause identification unit. 6. The analytical device according to any one of claims 1 to 5. (Appendix 7) The method further includes a visualization unit for generating image data of a predetermined graph according to the index. 7. The analytical device according to any one of claims 1 to 6. (Appendix 8) The method further includes a visualization unit for generating image data representing a flow chart that defines the indexes used to identify the factors and the order in which the indexes are used, and a history of transitions in the flow chart. 4. The analytical device of claim 3. (Appendix 9) Calculating a plurality of types of indexes for the prediction model, the data of explanatory variables used in the prediction model, or the data of objective variables used in the prediction model, and evaluating each of them; Identifying factors behind prediction errors made by the prediction model according to a combination of evaluation results of the multiple types of indicators Analysis method. (Appendix 10) An index evaluation step of calculating a plurality of types of indexes for the prediction model, the data of explanatory variables used in the prediction model, or the data of objective variables used in the prediction model, and evaluating each of them; A factor identification step of identifying a factor of a prediction error by the prediction model according to a combination of the evaluation results of each of the multiple types of indexes. A non-transitory computer-readable medium on which a program for causing a computer to execute the program is stored. [Explanation of symbols]

[0078] 1 Analyzer 2. Index Evaluation Department 3. Factor Identification Section 10 Analyzer 20 Memory section 21 Predictive Models 22 Training Data 23 Training and Test Data 24 Operational Data 25 Misprediction Samples 26 Analysis and Control Information 30 Diagnostic Department 31. Index Evaluation Department 32 Factor Identification Section 40 Work Decision Section 50 Visualization section 60 Result output section 70 Instruction Reception Department 150 Input / Output Interface 151 Network Interface 152 Memory 153 processors

Claims

1. An index evaluation means for calculating a plurality of types of indexes for a prediction model, data of explanatory variables used in the prediction model, or data of objective variables used in the prediction model, and evaluating each of the indexes; a factor identification means for identifying a factor of a prediction error by the prediction model according to a combination of evaluation results of each of the multiple types of indexes; having The multiple types of indicators include (1) the accuracy of the prediction model using mean squared error; (2) The degree of anomaly of the misprediction samples against the training data, calculated using an anomaly detection method; (3) A data distribution change amount calculated from the distribution distance between the training data distribution and the operational data distribution; At least one of The training data is data of explanatory variables or data of objective variables used in training the prediction model, The operation data is data obtained during operation of the prediction model, and is data on explanatory variables used in prediction by the prediction model or data on actual values ​​of objective variables. Analyzer.

2. The factor identification means identifies a factor of an error in prediction by the prediction model according to a rule that associates a combination of evaluation results of a plurality of types of the indexes with a factor. The analytical device of claim 1 .

3. The factor identification means identifies a factor of an error in prediction by the prediction model according to a combination of an evaluation result of a predetermined index among the multiple types of indexes and an evaluation result of the index selected according to the evaluation result of the predetermined index. The analytical device according to claim 2 .

4. An instruction receiving unit that receives an instruction to specify a calculation algorithm or an evaluation algorithm for the index, The index evaluation means calculates or evaluates the index using the calculation algorithm or evaluation algorithm specified by the instruction.

4. The analysis device according to claim 1 .

5. An instruction receiving unit that receives an instruction to specify the rule, The factor identification means identifies a factor of an error in prediction by the prediction model in accordance with the rule specified in the instruction. The analytical device according to claim 2 .

6. The system further includes a task determination unit that determines a task for eliminating the cause identified by the cause identification unit.

6. An analysis device according to claim 1 .

7. The method further includes a visualization unit for generating image data of a predetermined graph according to the index.

7. An analysis device according to any one of claims 1 to 6.

8. At least one of the degree of anomaly and the amount of change in data distribution is the index calculated for a response variable.

8. An analytical device according to any one of the preceding claims.

9. Calculating a plurality of types of indexes for the prediction model, the data of explanatory variables used in the prediction model, or the data of objective variables used in the prediction model, and evaluating each of them; Identifying a cause of a prediction error by the prediction model according to a combination of the evaluation results of each of the multiple types of indicators; The multiple types of indicators include (1) the accuracy of the prediction model using mean squared error; (2) The degree of anomaly of the misprediction samples against the training data, calculated using an anomaly detection method; (3) A data distribution change amount calculated from the distribution distance between the training data distribution and the operational data distribution; At least one of The training data is data of explanatory variables or data of objective variables used in training the prediction model, The operation data is data obtained during operation of the prediction model, and is data on explanatory variables used in prediction by the prediction model or data on actual values ​​of objective variables. Analysis method.

10. An index evaluation step of calculating a plurality of types of indexes for the prediction model, the data of explanatory variables used in the prediction model, or the data of objective variables used in the prediction model, and evaluating each of them; A factor identification step of identifying a factor of a prediction error by the prediction model according to a combination of the evaluation results of each of the multiple types of indexes. on the computer, The multiple types of indicators include (1) the accuracy of the prediction model using mean squared error; (2) The degree of anomaly of the misprediction samples against the training data, calculated using an anomaly detection method; (3) A data distribution change amount calculated from the distribution distance between the training data distribution and the operational data distribution; At least one of The training data is data of explanatory variables or data of objective variables used in training the prediction model, The operation data is data obtained during operation of the prediction model, and is data on explanatory variables used in prediction by the prediction model or data on actual values ​​of objective variables. program.

Citation Information

Patent Citations

  • Method of evaluating reliability on estimation of day maximum demand power

    JP1997233700A

  • Anticipation model maintenance system, method for maintaining anticipation model, and anticipation model maintenance program

    JP2019087101A

  • Model update support system

    JP2020042737A

  • Quality control method

    JP2020201727A

  • Learning assistance device, learning assistance method, and computer-readable recording medium

    WO2020255414A1