Machine learning program, method, and device
By calculating fairness scores for machine learning rules and excluding biased rules, the method generates fair models with improved accuracy and reduced effort, addressing the challenges of false fairness and rule elimination in existing systems.
Patent Information
- Application Number
- JP2023070464
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-04-21
- Publication Date
- 2024-10-31
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing methods for generating fair rule models in machine learning systems face issues with false fairness and reduced decision accuracy due to the elimination of essentially necessary rules, and the process of constructing knowledge systems requires significant work effort.
A method to generate fair rule models by determining the fairness scores of rules based on the ratio of data satisfying specific attribute conditions, excluding rules with low fairness scores, and constructing models using only necessary rules.
This approach enables the generation of fair rule models with improved decision accuracy by retaining essentially necessary rules, reducing the impact of biased attributes, and minimizing the work required for constructing knowledge systems.
Smart Images

Figure 2024155607000001_ABST
Abstract
Description
[Technical field]
[0001] The disclosed technology relates to a machine learning program, a machine learning method, and a machine learning device. [Background technology]
[0002] As systems using machine learning models become more widespread, it is becoming increasingly important to design systems that take ethical fairness into consideration. For example, when using a machine learning model to determine whether or not to hire a person, the system may be designed so that the gender of the applicant does not affect the decision. In order to build such a fair system, it is necessary to eliminate unfair bias from the machine learning model so that it does not cause unfair discrimination.
[0003] In addition, there is a demand for transparency in systems that use machine learning models, and efforts are being made to build machine learning models that have explainable processing logic and fair processing results. One example of an explainable machine learning model is the rule model. A rule model is an explainable machine learning model that is composed of multiple rules in the form "if P, then Q," which indicates that the objective variable value of a sample that satisfies condition P is estimated to be Q. For example, a method has been proposed in which a black-box model trained on a real-world dataset is evaluated with a focus on two-class classification using a rule model, and a surrogate white-box model is presented to explain the black-box model.
[0004] Furthermore, a fair rule mining technology has been proposed that detects unfair rules when specific conditions and contexts are met, based on correlation information between conditions including protected attributes such as gender and race, and specific attributes other than the protected attributes, and a target variable. For example, a technology has been proposed that detects unfair rules that give unfavorable judgments to users of a specific race when limited to a specific place of residence, in the rules that constitute a machine learning model that determines whether or not to grant a loan, and excludes the detected rules.
[0005] Furthermore, technology has been proposed to achieve fair explainability tailored to the purpose of a task using a machine learning model. For example, a method has been proposed to achieve fairness based on knowledge information from a causal structure model defined in advance by experts according to the purpose. In this method, for example, when generating rules for determining whether to hire personnel who require physical strength, it is considered discriminatory to determine whether or not to hire Y based on gender A, which is a protected attribute, while it is not considered discriminatory to determine whether or not to hire based on physical strength M, which is related to gender A. In this method, a knowledge system that represents the relationship between such attributes (in the above example, A ⇒ M ⇒ Y) is defined in advance. [Prior art documents] [Non-patent literature]
[0006] [Non-Patent Document 1] Ulrich A▲i▼vodji, Hiromi Arai, Olivier Fortineau, S▲e▼bastien Gambs, Satoshi Hara, Alain Tapp, "Fairwashing: the risk of rationalization," ICML 2019, arXiv:1901.09749v3 [cs.LG] 15 May 2019. [Non-Patent Document 2] Dino Pedreschi, Salvatore Ruggieri, Franco Turini, "Discrimination-aware Data Mining," Proc. 14th ACM SIGKDD Int. Conf. on Knowledge Discovery and Data Mining, pp.560-568, 24 August 2008. [Non-Patent Document 3] Yoichi Chikahara, Shinsaku Sakaue, Akinori Fujino, Hisashi Kashima, "Learning Individually Fair Classifier with Path-Specific Causal-Effect Constraint," in Proc. the 24th International Conference on Artificial Intelligence and Statistics, PMLR 130:145-153, 2021. Summary of the Invention [Problem to be solved by the invention]
[0007] However, the method of presenting a substitute white-box model to explain a black-box model has a problem that fairness may be falsely presented. In addition, when all rules that may lead to unfair explanations are eliminated based on the conventional rule mining technology using correlation information, essential rules may also be eliminated, resulting in a problem that the judgment accuracy of the rule model may deteriorate. For example, if a rule including the attribute of physical strength is eliminated because the attribute of physical strength is biased depending on gender, which is a protected attribute, the judgment accuracy of the rule model that judges whether or not to hire personnel who require physical strength deteriorates. In addition, when selecting biased rules according to the purpose, a knowledge system must be constructed in advance by experts, etc., and therefore a large amount of work cost is required for generating the rule model.
[0008] In one aspect, the disclosed technique aims to generate a fair rule model with essentially the necessary rules. [Means for solving the problem]
[0009] In one embodiment, the disclosed technology generates a plurality of rules including one or more attributes of a plurality of attributes, with the plurality of attributes of the plurality of data being explanatory variables for a target variable. The disclosed technology also performs a first determination to determine whether or not to exclude a first rule based on a first ratio of a first rule that does not include a condition of a first attribute among the plurality of rules. The first ratio is a ratio of data that satisfies a condition of a first rule including a condition of a second attribute among the plurality of data, among data that satisfies a condition of the first rule among the plurality of data. The disclosed technology also performs a second determination to determine whether or not to exclude a second rule based on a second ratio of a second rule that includes a condition of the first attribute among the plurality of data. The second ratio is a ratio of data that satisfies a condition of a second rule including a condition of the first attribute among the plurality of data, among data that satisfies a condition of a second rule including a condition of the first attribute among the plurality of data. The disclosed technology then generates a machine learning model including a rule other than the rule to be excluded among the plurality of rules, based on the results of the first determination and the second determination. Effect of the Invention
[0010] One aspect is that it has an effect of being able to generate a fair rule model with essentially necessary rules. [Brief description of the drawings]
[0011] [Figure 1] FIG. 1 is a functional block diagram of a machine learning device according to a first embodiment. [Diagram 2] FIG. 2 is a schematic diagram of a training data set. [Diagram 3] FIG. 2 is a diagram illustrating an example of a training data set. [Figure 4] FIG. 13 is a diagram for explaining extraction of a rule. [Diagram 5] FIG. 1 is a block diagram showing a schematic configuration of a computer that functions as a machine learning device. [Figure 6] 4 is a flowchart illustrating an example of machine learning processing according to the first embodiment. [Figure 7] FIG. 11 is a functional block diagram of a machine learning device according to a second embodiment. [Figure 8] FIG. 13 is a diagram illustrating an example of a list of fairness scores. [Figure 9] 13 is a flowchart illustrating an example of machine learning processing according to the second embodiment. [Figure 10] FIG. 13 is a diagram showing another example of a list of fairness scores. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0012] Hereinafter, an example of an embodiment of the disclosed technology will be described with reference to the drawings.
[0013] First Embodiment 1 shows a functional block diagram of a machine learning device 10 according to the first embodiment. A training dataset, a blacklist, and a whitelist are input to the machine learning device 10. The training dataset includes a plurality of training data, and each training data includes attribute values for each of a plurality of attributes. The attributes include protected attributes for which consideration should be given to fairness, such as gender and nationality, attributes other than the protected attributes, and attributes (also called "labels") that serve as objective variables.
[0014] Fig. 2 shows a schematic diagram of a training data set. In the example of Fig. 2, each row corresponds to one training data. n are explanatory variables and y is the label. x1, x2, . . . , x n contains at least one protected attribute. In the example of Figure 2, each training data is represented by an attribute value of "1" if it corresponds to the attribute, and by an attribute value of "0" if it does not. In the following, if training data corresponds to attribute x1, it will be represented as "x1=1", and if it does not correspond, it will be represented as "x1=0". The same applies to other attributes.
[0015] FIG. 3 shows a specific example of a training dataset. The example in FIG. 3 is an example of a training dataset for generating a machine learning model (hereinafter referred to as a "rule model") including multiple rules for determining whether or not to hire personnel. In the example in FIG. 3, each row corresponds to data for one applicant, that is, one training data. In addition, in the example in FIG. 3, attributes include gender, age, license type, hometown, and hiring / rejection. Gender is a protected attribute, and hiring / rejection is a label. Furthermore, gender is classified as male and female, age is classified as 20s, 30s, ..., license type is classified as MT, AT, and none, hometown is classified as within Tokyo and outside Tokyo, and hiring / rejection is classified as hiring and not hiring. License type MT indicates that a regular driver's license is held, and AT indicates that a regular driver's license limited to automatic vehicles is held. In the following, for example, an attribute with license type MT is written as "license type_MT". The same applies to other attributes.
[0016] A blacklist is a list of protected attributes that are not used in rules, for example, [x2, x3]. The attributes listed in the blacklist are an example of a "second attribute" in the disclosed technology. A whitelist is a list of valid rule conditions, for example, [x4=1]. The conditions listed in the whitelist are an example of a "first attribute condition" in the disclosed technology.
[0017] 1, the machine learning device 10 functionally includes a control unit 12. The control unit 12 further includes an extraction unit 14, a first determination unit 16, a second determination unit 18, and a generation unit 20.
[0018] The extraction unit 14 acquires a training data set, a blacklist, and a whitelist input to the machine learning device 10. The extraction unit 14 extracts a plurality of rules including one or more of the plurality of attributes from the training data set, with the plurality of attributes being explanatory variables for the objective variable. Specifically, as shown in A of FIG. 4, the extraction unit 14 uses each attribute as an explanatory variable and exhaustively lists combinations of one or more explanatory variables. At this time, the extraction unit 14 does not use the attributes listed in the blacklist in the combination. That is, the extraction unit 14 does not extract a rule including a condition of the attribute listed in the blacklist. In addition, as shown in B of FIG. 4, the extraction unit 14 counts the number of training data of positive examples and the number of training data of negative examples that match the combination of the listed explanatory variables. Then, as shown in C of FIG. 4, when the number of positive examples is greater, the extraction unit 14 sets the objective variable to "y=1", and when the number of negative examples is greater, the objective variable to "y=0", and extracts the rule as a condition of the combination of the explanatory variables.
[0019] The method of extracting rules is not limited to the above example, and various rule mining techniques can be applied.
[0020] The first determination unit 16 calculates a fairness score for a first rule that does not include a condition of the whitelist among the multiple rules extracted by the extraction unit 14. Specifically, the first determination unit 16 calculates a fairness score ρ B Then, the extraction unit 14 calculates the fairness score ρ (C1) calculated by the formula (1) for all attributes of the blacklist, as shown in the formula (2) below. B The minimum value of (C1) is calculated as the fairness score ρ(C1) of the first rule including the condition C1. The fairness score ρ(C1) is an example of the “first ratio” of the disclosed technology.
[0021]
number
[0022] The double-underlined P in equation (1) represents a probability distribution. That is, the denominator of equation (1) is the number of training data that satisfy the condition C1 of the first rule among the multiple training data included in the training data set. In addition, B in the numerator of equation (1) is each of the blacklist attributes, and b is the attribute value (b=[0,1] in the example of FIG. 2). For example, when the blacklist attribute B=x2, B=b is [x2=0,x2=1]. The numerator of equation (1) is the number of training data that satisfy the condition C1 including the condition of the blacklist attribute B among the multiple training data.
[0023] The first determination unit 16 determines whether or not to exclude the first rule including the condition C1 based on the calculated fairness score ρ(C1). For example, when the fairness score ρ(C1) is equal to or smaller than a predetermined value, the first determination unit 16 determines that the first rule including the condition C1 is to be excluded.
[0024] The second determination unit 18 calculates a fairness score for a second rule including a condition of the whitelist among the multiple rules extracted by the extraction unit 14. Specifically, the second determination unit 18 calculates a fairness score ρ B Then, the extraction unit 14 calculates the fairness score ρ (C2) calculated by the formula (3) for all attributes in the blacklist, as shown in the formula (4) below. B The minimum value of (C2) is calculated as the fairness score ρ(C2) of the second rule including the condition C2. The fairness score ρ(C2) is an example of the “second ratio” of the disclosed technology.
[0025]
number
[0026] The denominator of formula (3) is the number of training data that satisfy condition C2 of the second rule including whitelist condition A among the multiple training data included in the training data set. Also, the numerator of formula (3) is the number of training data that satisfy condition C2 including whitelist condition A and blacklist attribute B among the multiple training data.
[0027] The second determination unit 18 determines whether or not to exclude the second rule including the condition C2 based on the calculated fairness score ρ(C2). For example, when the fairness score ρ(C2) is equal to or less than a predetermined value, the second determination unit 18 determines that the second rule including the condition C2 is to be excluded.
[0028] The above fairness score is an index showing whether or not a rule makes an unfair decision due to correlation with blacklist attributes. In addition, when a whitelist condition is included, the fairness score is based on the distribution of blacklist attributes in training data including the whitelist condition. In other words, the fairness score ρ(C2) is an index showing how much bias there is in condition C including whitelist condition A due to the presence or absence of blacklist attribute B. When the fairness score ρ(C2) is high, it can be said that the rule including the whitelist condition is a reasonable rule, although it is correlated with the blacklist attributes. Therefore, by determining rules to be excluded using the above fairness score, it is possible to determine which rules are essentially necessary.
[0029] For example, in the case of a rule model for determining whether or not to hire an applicant for the job of driver, it is desirable to give a high score to an applicant who holds a manual transmission license. In other words, the attribute "license type_MT" is correlated with the protected attribute "gender", but since it is an important element for the job of driver, it can be said that a rule including "license type_MT" is an essentially necessary rule. By using the above fairness score, such essential rules can be targeted for rule model generation.
[0030] For example, in a rule model for deciding whether or not to hire an office worker, a rule may be included that gives a low score to male applicants who hold an MT license, on the assumption that the office worker occupation and the license type are unrelated. In this case, the attribute "license type_MT" may be a proxy attribute representing "gender_male." Such rules can also be excluded because the fairness is determined based on the correlation with the blacklist attributes using the fairness score described above.
[0031] The generation unit 20 generates a machine learning model including, from among the multiple rules extracted by the extraction unit 14, rules other than the rules to be excluded, based on the judgment results of the first judgment unit 16 and the second judgment unit 18.
[0032] The machine learning device 10 may be realized by, for example, a computer 40 shown in FIG. 5. The computer 40 includes a CPU (Central Processing Unit) 41, a GPU (Graphics Processing Unit) 42, a memory 43 as a temporary storage area, and a non-volatile storage device 44. The computer 40 also includes an input / output device 45 such as an input device and a display device, and an R / W (Read / Write) device 46 that controls reading and writing of data to a storage medium 49. The computer 40 also includes a communication I / F (Interface) 47 that is connected to a network such as the Internet. The CPU 41, the GPU 42, the memory 43, the storage device 44, the input / output device 45, the R / W device 46, and the communication I / F 47 are connected to each other via a bus 48.
[0033] The storage device 44 is, for example, a hard disk drive (HDD), a solid state drive (SSD), a flash memory, etc. The storage device 44 as a storage medium stores a machine learning program 50 for causing the computer 40 to function as the machine learning device 10. The machine learning program 50 has an extraction process control instruction 54, a first determination process control instruction 56, a second determination process control instruction 58, and a generation process control instruction 60.
[0034] The CPU 41 reads out the machine learning program 50 from the storage device 44, expands it in the memory 43, and sequentially executes the control instructions of the machine learning program 50. The CPU 41 operates as the extraction unit 14 shown in FIG. 1 by executing the extraction process control instruction 54. The CPU 41 also operates as the first judgment unit 16 shown in FIG. 1 by executing the first judgment process control instruction 56. The CPU 41 also operates as the second judgment unit 18 shown in FIG. 1 by executing the second judgment process control instruction 58. The CPU 41 also operates as the generation unit 20 shown in FIG. 1 by executing the generation process control instruction 60. As a result, the computer 40 that has executed the machine learning program 50 functions as the machine learning device 10. The CPU 41 that executes the program is hardware. A part of the program may be executed by the GPU 42.
[0035] The functions realized by the machine learning program 50 may be realized, for example, by a semiconductor integrated circuit, more specifically, an ASIC (Application Specific Integrated Circuit), an FPGA (Field-Programmable Gate Array), or the like.
[0036] Next, the operation of the machine learning device 10 according to the first embodiment will be described. When a training dataset, a blacklist, and a whitelist are input to the machine learning device 10 and an instruction is given to generate a rule model, which is a machine learning model, the machine learning device 10 executes the machine learning process shown in Fig. 6. Note that the machine learning process is an example of a machine learning method of the disclosed technology.
[0037] In step S10, the extraction unit 14 acquires the training data set, the blacklist, and the whitelist input to the machine learning device 10. Next, in step S12, the extraction unit 14 extracts, from the training data set, a plurality of rules that include one or more attributes among the plurality of attributes, with the plurality of attributes as explanatory variables for the objective variable, and that do not include an attribute in the blacklist.
[0038] Next, in step S14, the first determination unit 16 calculates a fairness score, for example, as shown in formula (2), for a first rule that does not include a whitelist condition among the multiple rules extracted in step S12. Next, in step S16, the first determination unit 16 determines a rule to be excluded from the first rule based on the calculated fairness score.
[0039] Next, in step S18, the second determination unit 18 calculates a fairness score, for example, as shown in formula (4), for a second rule including a whitelist condition among the multiple rules extracted in step S12. Next, in step S20, the second determination unit 18 determines rules to be excluded from the second rules based on the calculated fairness score.
[0040] Next, in step S22, the generation unit 20 generates a machine learning model including rules other than the rules determined to be excluded in steps S16 and S20 among the multiple rules extracted in step S12, and outputs the generated rule model. Then, the machine learning process ends.
[0041] As described above, the machine learning device according to the first embodiment generates a plurality of rules including one or more attributes of a plurality of attributes, with the plurality of attributes of a plurality of data being explanatory variables for a target variable. The machine learning device calculates a first ratio of data that satisfies a condition of the first rule including a condition of the second attribute among the plurality of data, in data that satisfies the condition of the first rule among the plurality of data, for a first rule that does not include a condition of the first attribute among the plurality of rules. Then, the machine learning device executes a first determination to determine whether or not to exclude the first rule, based on the first ratio. Also, the machine learning device calculates a second ratio for a second rule that includes a condition of the first attribute among the plurality of rules. The second ratio is a ratio of data that satisfies a condition of the second rule including a condition of the first attribute among the plurality of data and a condition of the second rule including a condition of the second attribute among the plurality of data, in data that satisfies a condition of the second rule including a condition of the first attribute among the plurality of data. Then, the machine learning device executes a second determination to determine whether or not to exclude the second rule, based on the second ratio. Then, the machine learning device generates a machine learning model including rules other than the excluded rules among the multiple rules based on the results of the first judgment and the second judgment, thereby making it possible to generate a fair rule model including essentially necessary rules.
[0042] <Second embodiment> Next, a description will be given of a second embodiment. Note that in the machine learning device according to the second embodiment, components similar to those in the machine learning device 10 according to the first embodiment will be denoted by the same reference numerals and detailed descriptions thereof will be omitted.
[0043] 7 shows a functional block diagram of a machine learning device 210 according to the second embodiment. As shown in Fig. 7, the machine learning device 210 functionally includes a control unit 212. The control unit 212 further includes an extraction unit 14, a first determination unit 216, a second determination unit 218, a presentation unit 222, and a generation unit 20.
[0044] The first determination unit 216, like the first determination unit 16 of the first embodiment, calculates a fairness score for a first rule that does not include a condition of a whitelist, among the multiple rules extracted by the extraction unit 14. The first determination unit 216 passes the calculated fairness score to the presentation unit 222.
[0045] The second determination unit 218, like the second determination unit 18 in the first embodiment, calculates a fairness score for a second rule including a condition of a whitelist among the multiple rules extracted by the extraction unit 14. The second determination unit 218 passes the calculated fairness score to the presentation unit 222.
[0046] The presentation unit 222 presents to the user the fairness scores of each rule passed from the first judgment unit 216 and the second judgment unit 218 by making a list and displaying it on a display device. FIG. 8 shows an example of a list of fairness scores. The user refers to the fairness scores of each rule presented to input attributes to be added to the blacklist and conditions to be added to the whitelist. For example, the user may determine that the conditions of a rule with a high fairness score are appropriate (not discriminatory) conditions and add them to the whitelist. In addition, the user may add attributes that are included in the conditions of a rule with a low fairness score and have a high correlation with the attributes in the blacklist to the blacklist. The presentation unit 222 accepts the additional information input by the user and updates the blacklist and whitelist acquired by the extraction unit 14.
[0047] The presenting unit 222 causes the extracting unit 14, the first determination unit 216, and the second determination unit 218 to repeatedly execute the process until a termination condition for the repetitive process is satisfied. The termination condition may be when the user no longer inputs additional information, when the number of repetitions reaches a predetermined number, or the like. When the termination condition is satisfied, the presenting unit 222 determines a rule to be excluded based on the fairness score of each rule transferred from the first determination unit 216 and the second determination unit 218. Then, the presenting unit 222 transfers the remaining rules, excluding the rule to be excluded, from the multiple rules extracted by the extracting unit 14, to the generating unit 20.
[0048] The machine learning device 210 may be realized, for example, by a computer 40 shown in Fig. 5. A machine learning program 250 for causing the computer 40 to function as the machine learning device 210 is stored in the storage device 44 of the computer 40. The machine learning program 250 has an extraction process control instruction 54, a first determination process control instruction 256, a second determination process control instruction 258, a presentation process control instruction 262, and a generation process control instruction 60.
[0049] The CPU 41 reads out the machine learning program 250 from the storage device 44, expands it in the memory 43, and sequentially executes the control instructions of the machine learning program 250. The CPU 41 operates as the first judgment unit 216 shown in FIG. 7 by executing the first judgment process control instruction 256. The CPU 41 also operates as the second judgment unit 218 shown in FIG. 7 by executing the second judgment process control instruction 258. The CPU 41 also operates as the presentation unit 222 shown in FIG. 7 by executing the presentation process control instruction 262. The other control instructions are the same as those of the machine learning program 50 according to the first embodiment. As a result, the computer 40 that has executed the machine learning program 250 functions as the machine learning device 210.
[0050] The functions realized by the machine learning program 250 may be realized by, for example, a semiconductor integrated circuit, more specifically, an ASIC, an FPGA, or the like.
[0051] Next, the operation of the machine learning device 210 according to the second embodiment will be described. When a training dataset, a blacklist, and a whitelist are input to the machine learning device 210 and an instruction is given to generate a rule model, which is a machine learning model, the machine learning device 210 executes the machine learning process shown in Fig. 9. Note that the machine learning process is an example of a machine learning method of the disclosed technology. In the machine learning process according to the second embodiment, the same processes as those in the machine learning process according to the first embodiment (Fig. 6) are assigned the same step numbers and detailed descriptions are omitted.
[0052] After steps S10 to S14 and S18, in the next step S210, the presentation unit 222 presents to the user the fairness scores of each rule calculated in the above steps S14 and S18 by, for example, listing them on a display device. Then, the presentation unit 222 accepts additional information from the user, which is an attribute to be added to the blacklist and a condition for adding to the whitelist. The presentation unit 222 updates the blacklist and whitelist acquired in the above step S10 based on the accepted additional information.
[0053] Next, in step S212, the presenter 222 determines whether or not a termination condition for the repetitive processing is satisfied. If the termination condition is satisfied, the process proceeds to step S22, and if not, the process returns to step S12.
[0054] As described above, the machine learning device according to the second embodiment presents the calculated fairness score for each rule, accepts additional information for the blacklist and the whitelist, and updates the blacklist and the whitelist. This allows a rule model to be generated using rules with high fairness scores, making it possible to generate a fair rule model using essentially necessary rules.
[0055] In the second embodiment, the fairness score of each rule presented to the user is calculated in the process of calculating the fairness score ρ(C), and the fairness score ρ for each attribute of the black box, which is shown in equation (1) or (3), is added to the fairness score of each rule presented to the user. B (C) may also be added. An example of a list of fairness scores in this case is shown in Fig. 10. This makes it easier for the user to determine which attributes to add to the black box and which conditions to add to the white list.
[0056] In each of the above embodiments, the rules extracted by the extraction unit may be optimized by rule mining or the like. For example, a rule that exhaustively lists combinations of explanatory variables includes many rules with overlapping judgments and rules that are not suitable for classification into positive and negative examples. Therefore, in order to exclude such rules at the extraction unit stage, optimized rules are extracted.
[0057] In addition, in each of the above embodiments, the machine learning program is stored (installed) in advance in the storage device, but is not limited to this. The program according to the disclosed technology may be provided in a form stored in a storage medium such as a CD-ROM, a DVD-ROM, or a USB memory.
[0058] The following supplementary notes are further disclosed regarding each of the above embodiments.
[0059] (Appendix 1) generating a plurality of rules including one or more of a plurality of attributes of a plurality of data as explanatory variables for a target variable; execute a first determination for a first rule that does not include a condition for a first attribute among the plurality of rules, to determine whether or not the first rule is to be excluded based on a first ratio of data that satisfies a condition for the first rule that includes a condition for a second attribute among data that satisfies the condition for the first rule among the plurality of data; execute a second determination for a second rule including a condition for the first attribute among the plurality of rules, to determine whether or not the second rule is to be excluded based on a second ratio of data among the plurality of data that satisfies the condition for the second rule including the condition for the first attribute and the condition for the second attribute among the plurality of data; generating a machine learning model including rules other than the rule to be excluded from among the plurality of rules based on results of the first determination and the second determination; A machine learning program that causes a computer to execute processing.
[0060] (Appendix 2) generating the plurality of rules includes not generating a rule that includes a condition of the second attribute. 2. The machine learning program according to claim 1,
[0061] (Appendix 3) presenting the results of the first determination and the second determination, and accepting a designation of an attribute to be added to the second attribute; repeating the generation of the plurality of rules, the first determination, and the second determination a plurality of times to generate the machine learning model; 3. The machine learning program according to claim 2,
[0062] (Appendix 4) If there are multiple first attributes, the first determination is performed based on a minimum of the first ratios for each of a plurality of the first attributes; The second determination is performed based on a minimum of the second ratios for each of a plurality of the first attributes. 3. The machine learning program according to claim 1 or 2,
[0063] (Appendix 5) The process of generating a plurality of rules generates a plurality of rules optimized for inclusion in a machine learning model. 5. The machine learning program according to claim 1,
[0064] (Appendix 6) generating a plurality of rules including one or more of a plurality of attributes of a plurality of data as explanatory variables for a target variable; execute a first determination for a first rule that does not include a condition for a first attribute among the plurality of rules, to determine whether or not the first rule is to be excluded based on a first ratio of data that satisfies a condition for the first rule that includes a condition for a second attribute among data that satisfies the condition for the first rule among the plurality of data; execute a second determination for a second rule including a condition for the first attribute among the plurality of rules, to determine whether or not the second rule is to be excluded based on a second ratio of data among the plurality of data that satisfies the condition for the second rule including the condition for the first attribute and the condition for the second attribute among the plurality of data; generating a machine learning model including rules other than the rule to be excluded from among the plurality of rules based on results of the first determination and the second determination; A machine learning method characterized in that processing is executed by a computer.
[0065] (Appendix 7) generating the plurality of rules includes not generating a rule that includes a condition of the second attribute. 7. The machine learning method according to claim 6,
[0066] (Appendix 8) presenting the results of the first determination and the second determination, and accepting a designation of an attribute to be added to the second attribute; repeating the generation of the plurality of rules, the first determination, and the second determination a plurality of times to generate the machine learning model; 8. The machine learning method according to claim 7,
[0067] (Appendix 9) If there are multiple first attributes, the first determination is performed based on a minimum of the first ratios for each of a plurality of the first attributes; The second determination is performed based on a minimum of the second ratios for each of a plurality of the first attributes. 8. The machine learning method according to claim 6 or 7,
[0068] (Appendix 10) The process of generating a plurality of rules generates a plurality of rules optimized for inclusion in a machine learning model. 10. The machine learning method according to any one of Supplementary Note 6 to Supplementary Note 9,
[0069] (Appendix 11) generating a plurality of rules including one or more of a plurality of attributes of a plurality of data as explanatory variables for a target variable; execute a first determination for a first rule that does not include a condition for a first attribute among the plurality of rules, to determine whether or not the first rule is to be excluded based on a first ratio of data that satisfies a condition for the first rule that includes a condition for a second attribute among data that satisfies the condition for the first rule among the plurality of data; execute a second determination for a second rule including a condition for the first attribute among the plurality of rules, to determine whether or not the second rule is to be excluded based on a second ratio of data among the plurality of data that satisfies the condition for the second rule including the condition for the first attribute and the condition for the second attribute among the plurality of data; generating a machine learning model including rules other than the rule to be excluded from among the plurality of rules based on results of the first determination and the second determination; A control unit that executes the processing; A machine learning device comprising:
[0070] (Appendix 12) generating the plurality of rules includes not generating a rule that includes a condition of the second attribute. 12. The machine learning device according to claim 11,
[0071] (Appendix 13) presenting the results of the first determination and the second determination, and accepting a designation of an attribute to be added to the second attribute; repeating the generation of the plurality of rules, the first determination, and the second determination a plurality of times to generate the machine learning model; 13. The machine learning device according to claim 12,
[0072] (Appendix 14) If there are multiple first attributes, the first determination is performed based on a minimum of the first ratios for each of a plurality of the first attributes; The second determination is performed based on a minimum of the second ratios for each of a plurality of the first attributes. 13. The machine learning device according to claim 11 or 12,
[0073] (Appendix 15) The process of generating a plurality of rules generates a plurality of rules optimized for inclusion in a machine learning model. The machine learning device according to any one of Supplementary Note 11 to Supplementary Note 14,
[0074] (Appendix 16) generating a plurality of rules including one or more of a plurality of attributes of a plurality of data as explanatory variables for a target variable; execute a first determination for a first rule that does not include a condition for a first attribute among the plurality of rules, to determine whether or not the first rule is to be excluded based on a first ratio of data that satisfies a condition for the first rule that includes a condition for a second attribute among data that satisfies the condition for the first rule among the plurality of data; execute a second determination for a second rule including a condition for the first attribute among the plurality of rules, to determine whether or not the second rule is to be excluded based on a second ratio of data among the plurality of data that satisfies the condition for the second rule including the condition for the first attribute and the condition for the second attribute among the plurality of data; generating a machine learning model including rules other than the rule to be excluded from among the plurality of rules based on results of the first determination and the second determination; A non-transitory storage medium storing a machine learning program that causes a computer to execute processing. [Explanation of symbols]
[0075] 10, 210 Machine learning device 12, 212 Control unit 14 Extraction part 16, 216 1st judgment section 18, 218 Second Judgment Section 20 Generation part 222 Presentation section 40 Computer 41 CPU 42 GPU 43 Memory 44 Storage device 45 I / O Devices 46 R / W device 47 Communication I / F 48 Bus 49 Storage medium 50, 250 Machine Learning Programs 54 Extraction process control instructions 56, 256 First judgment process control instruction 58, 258 Second Judgment Process Control Instruction 60 Generation process control instructions 262 Presentation process control instructions
Claims
1. generating a plurality of rules including one or more of a plurality of attributes of a plurality of data as explanatory variables for a target variable; execute a first determination for a first rule that does not include a condition for a first attribute among the plurality of rules, to determine whether or not the first rule is to be excluded based on a first ratio of data that satisfies a condition for the first rule that includes a condition for a second attribute among data that satisfies the condition for the first rule among the plurality of data; execute a second determination for a second rule including a condition for the first attribute among the plurality of rules, to determine whether or not the second rule is to be excluded based on a second ratio of data among the plurality of data that satisfies the condition for the second rule including the condition for the first attribute and the condition for the second attribute among the plurality of data; generating a machine learning model including rules other than the rule to be excluded from among the plurality of rules based on results of the first determination and the second determination; A machine learning program that causes a computer to execute processing.
2. generating the plurality of rules includes not generating a rule that includes a condition on the second attribute.
2. The machine learning program according to claim 1 .
3. presenting results of the first determination and the second determination, and accepting designation of an attribute to be added to the second attribute; repeating the generation of the plurality of rules, the first determination, and the second determination a plurality of times to generate the machine learning model; 3. The machine learning program according to claim 2 .
4. When there are a plurality of the first attributes, the first determination is performed based on a minimum of the first ratios for each of a plurality of the first attributes; the second determination is performed based on a minimum of the second ratios for each of a plurality of the first attributes.
3. The machine learning program according to claim 1 or 2.
5. The process of generating a plurality of rules generates a plurality of rules optimized for inclusion in a machine learning model. The machine learning program according to any one of claims 1 to 3.
6. generating a plurality of rules including one or more of a plurality of attributes of a plurality of data as explanatory variables for a target variable; execute a first determination for a first rule that does not include a condition for a first attribute among the plurality of rules, to determine whether or not the first rule is to be excluded based on a first ratio of data that satisfies a condition for the first rule that includes a condition for a second attribute among data that satisfies the condition for the first rule among the plurality of data; execute a second determination for a second rule including a condition for the first attribute among the plurality of rules, to determine whether or not the second rule is to be excluded based on a second ratio of data among the plurality of data that satisfies the condition for the second rule including the condition for the first attribute and the condition for the second attribute among the plurality of data; generating a machine learning model including rules other than the rule to be excluded from among the plurality of rules based on results of the first determination and the second determination; A machine learning method characterized in that processing is executed by a computer.
7. generating a plurality of rules including one or more of a plurality of attributes of a plurality of data as explanatory variables for a target variable; execute a first determination for a first rule that does not include a condition for a first attribute among the plurality of rules, to determine whether or not the first rule is to be excluded based on a first ratio of data that satisfies a condition for the first rule that includes a condition for a second attribute among data that satisfies the condition for the first rule among the plurality of data; execute a second determination for a second rule including a condition for the first attribute among the plurality of rules, to determine whether or not the second rule is to be excluded based on a second ratio of data among the plurality of data that satisfies the condition for the second rule including the condition for the first attribute and the condition for the second attribute among the plurality of data; generating a machine learning model including rules other than the rule to be excluded from among the plurality of rules based on results of the first determination and the second determination; A control unit that executes the processing; A machine learning device comprising:
