Activity support program, device, and method
By generating rules from activity history data and considering the direction of inequality signs, the system effectively identifies key factors for improvement proposals, enhancing activity support systems.
Patent Information
- Application Number
- JP2021079661
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-05-10
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-05-10
AI Technical Summary
Conventional activity support systems struggle to determine which features to focus on for improving activities based on historical data, making it difficult to generate effective improvement proposals.
The system generates multiple rules with explanatory variables from activity history data, identifies positive and negative examples, and outputs improvement proposals based on the direction of inequality signs in these rules to enhance activity outcomes.
This approach allows for the output of highly effective improvement suggestions by focusing on specific items with significant influence on activity results, expanding the scope of improvements and ensuring higher effectiveness.
Smart Images

Figure 0007574735000001 
Figure 0007574735000002 
Figure 0007574735000003
Abstract
Description
[Technical field]
[0001] The disclosed technology relates to an activity support program, an activity support device, and an activity support method. [Background technology]
[0002] 2. Description of the Related Art Conventionally, activities such as sales activities and health promotion activities have been supported by outputting improvement suggestions for the activities based on history data relating to the activities.
[0003] For example, a health maintenance and promotion support system has been proposed to provide collective guidance to members of an organization such as a local government or a health insurance association, thereby realizing the maintenance and promotion of the physical and mental health of the members. This system analyzes the physical activity data of each member recorded in the physical activity recording unit and the personal information recorded in the member information recording unit based on the group guidance logic recorded in the group guidance logic recording unit. After the analysis, the system prints out guidance information for providing guidance to the members on maintaining and promoting their health.
[0004] A system has also been proposed that provides appropriate care services by presenting lifestyle guidance and exercise programs that take into account the amount of daily living activity of each elderly person. This system inputs the elderly person's daily living activity ability evaluation data and personal data, and stores and processes them as a personal database. This system also prepares a daily living physical fitness aging function program that expresses age-related changes in each of multiple daily living physical fitness items as a function. This system then obtains and evaluates the degree of independence of the subject of evaluation based on the physical fitness measurements of the daily living physical fitness items of the subject of evaluation, the daily living physical fitness aging function program, and the independence limit value determined for each daily living physical fitness item. This system also uses a lifestyle guidance and exercise guidance program file based on the independence evaluation information to present lifestyle guidance and exercise programs that should be improved. [Prior art documents] [Patent documents]
[0005] [Patent Document 1] JP 2007-286854 A [Patent Document 2] JP 2006-31433 A Summary of the Invention [Problem to be solved by the invention]
[0006] In the conventional technology, it is necessary to determine in advance what kind of proposal should be made when what kind of data is obtained. Therefore, it is conceivable to perform machine learning using historical data on activities, extract features of historical data of users who have achieved excellent activity results, and make a proposal based on the extracted features. However, when multiple features are extracted, it is difficult to determine which feature should be selected to make a proposal with a higher improvement effect.
[0007] In one aspect, the disclosed technology aims to output suggestions that are highly effective for improvement and support activities. [Means for solving the problem]
[0008] In one embodiment, the disclosed technology generates a plurality of rules including one or more explanatory variables expressed by conditions related to the values of one or more items, for history data related to activities, including values of the one or more items and labels indicating positive or negative examples. The disclosed technology also identifies whether the rule is a rule that leads to a positive example or a rule that leads to a negative example based on the number of positive examples and the number of negative examples. The number of positive examples is the number of the history data that satisfies the rule and the label indicates a positive example, for each of the rules, and the number of negative examples is the number of the history data that satisfies the rule and the label indicates a negative example. The disclosed technology then determines whether the inequality signs are in the opposite directions between the rule that leads to the positive example and the rule that leads to the negative example, for a specific item whose value is a numeric value, in a rule that includes the explanatory variable in which the condition is expressed by an inequality. If the inequality signs are in the opposite directions, the disclosed technology outputs an improvement proposal based on the explanatory variable for the specific item included in the rule that leads to the positive example. Effect of the Invention
[0009] One aspect of the present invention is that it has the effect of outputting proposals with high improvement effects and supporting activities. [Brief description of the drawings]
[0010] [Figure 1] FIG. 2 is a functional block diagram of the activity support device. [Diagram 2] FIG. 4 is a diagram illustrating an example of activity history data. [Diagram 3] FIG. 13 is a diagram showing an example of discretized activity history data. [Figure 4] FIG. 13 is a diagram illustrating an example of a rule DB. [Diagram 5] FIG. 13 is a diagram for explaining an output of an improvement proposal. [Figure 6] FIG. 13 is a diagram for explaining an output of an improvement proposal. [Figure 7] 1 is a block diagram showing a schematic configuration of a computer that functions as an activity support device. [Figure 8] 13 is a flowchart illustrating an example of an activity support process. [Figure 9] 13 is a flowchart illustrating an example of a discretization process. [Figure 10] 13 is a flowchart illustrating an example of a rule generation process. [Figure 11] 13 is a flowchart illustrating an example of an improvement proposal output process. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0011] Hereinafter, an example of an embodiment of the disclosed technology will be described with reference to the drawings. Note that in this embodiment, an example in which the disclosed technology is applied to a case where improvement proposals for sales activities are made will be described.
[0012] As shown in Fig. 1, an activity support device 10 according to this embodiment receives activity history data as input and outputs improvement proposals for sales activities. As shown in Fig. 1, the activity support device 10 functionally includes a generation unit 12, an identification unit 14, and an output unit 16. A rule DB (database) 20 is stored in a predetermined storage area of the activity support device 10.
[0013] The generation unit 12 acquires the activity history data input to the activity support device 10. The activity history data is history data related to sales activities, including values of one or more items and labels indicating positive examples or negative examples.
[0014] FIG. 2 shows an example of activity history data. In the example of FIG. 2, each row (each record) is activity history data for each sales representative. Each activity history data is data in which a "sales representative ID" that is identification information for a sales representative, a "sales performance" that is an example of a label, and values for each of a plurality of items are associated with each other. In the example of FIG. 2, "◯" for "sales performance" is a positive example label that indicates good sales performance, and "×" for "sales performance" is a negative example label that indicates poor sales performance. Labels may be assigned based on predetermined criteria, for example, the degree of quota achievement, the number of contracts concluded, sales amount, etc., and the labels may be assigned based on the performance of each sales representative in accordance with the criteria.
[0015] The example in FIG. 2 is an example of sales activities assuming responses to customers through chats or the like, and includes items such as "maximum response time," "average response time," and "number of stamp types." Values of these items can be obtained from logs including messages exchanged through chats or the like and timestamps indicating the time when messages were sent and received. "Maximum response time" is the maximum response time among the response times from the start to the end of each response in chats or the like. "Average response time" is the average response time per case. "Number of stamp types" is the number of stamp types used in messages sent by sales representatives in chats or other exchanges. Note that the items are not limited to these examples, and may include various items that can be obtained from logs of exchanges in chats or the like, such as the average number of characters in messages sent by sales representatives, the rate of use of emoticons and emoticons in messages, and the like.
[0016] In this embodiment, the above-mentioned items are exemplified in order to perform processing focusing on items whose values are numerical values, but items whose values are not numerical, such as the customer's occupation, may also be included. Furthermore, in addition to information that can be obtained from logs of exchanges such as chats, items related to the attributes of sales representatives, such as years of service, may also be included.
[0017] The generating unit 12 generates a plurality of rules including one or more explanatory variables expressed by conditions related to the values of items included in the activity history data for the acquired activity history data. Specifically, the generating unit 12 discretizes the values of each item included in the activity history data to generate explanatory variables. More specifically, the generating unit 12 sets one or more thresholds for each item, and generates explanatory variables expressed by an inequality "item name (inequality sign) threshold" including an item name, an inequality sign, and a threshold. For example, the generating unit 12 may set a predetermined number of values at equal intervals within a range from the minimum value to the maximum value of each item as the threshold for that item. In addition, the generating unit 12 discretizes the activity history data based on whether or not the value of each item of the activity history data matches the condition expressed as the generated explanatory variable, i.e., whether or not the inequality is satisfied.
[0018] FIG. 3 shows an example of the activity history data after discretization. In the example of FIG. 3, explanatory variables of "maximum response time ≧ 4 [hours]" and "maximum response time ≧ 6 [hours]" are generated for the item "maximum response time". In addition, explanatory variables of "average response time ≧ 2 [hours]" and "average response time ≧ 4 [hours]" are generated for the item "average response time". In addition, explanatory variables of "number of stamp types ≧ 1 [type]", "number of stamp types ≧ 2 [types]", and "number of stamp types ≧ 3 [types]" are generated for the item "number of stamp types". In the following, the description of the units of each value shown in [ ] is omitted. In addition, in the example of FIG. 3, the generation unit 12 discretizes the activity history data by setting "1" for each generated explanatory variable when the value of each item of the activity history data satisfies the inequality represented by the explanatory variable, and setting "0" when it does not satisfy the inequality.
[0019] The generating unit 12 also generates a plurality of rules by comprehensively combining the generated explanatory variables and explanatory variables with the inequality signs included in the generated explanatory variables in the reversed direction between items. That is, the generating unit 12 generates each rule for each of all combinations when a maximum of one explanatory variable is taken out from the explanatory variables for each item and combined between items. In the example of FIG. 3, rules such as "maximum response time ≧4", "maximum response time <4", "maximum response time ≧4 ∧ average response time ≧2", "maximum response time ≧4 ∧ average response time ≧4", "maximum response time ≧4 ∧ average response time ≧2 ∧ number of stamps ≧1" are generated. Note that reversing the direction of the inequality sign means converting the direction of the inequality sign so that the range of values represented by the inequality depending on the direction of the original inequality sign becomes an inequality that represents an exclusive range. Therefore, the generating unit 12 converts "≧" to "<" and ">" to "≦".
[0020] The generating unit 12 assigns a rule number, which is identification information of the rule, to each of the generated rules, and stores the rules in the rule DB 20. Hereinafter, a rule with rule number i will be referred to as "rule i". FIG. 4 shows an example of the rule DB 20. At this stage, the "rule category", "number of positive examples", "number of negative examples", and "confidence level" (described in detail later) in the rule DB 20 shown in FIG. 4 are blank. The generating unit 12 also passes the discretized activity support data to the identifying unit 14.
[0021] The identification unit 14 identifies, for each rule included in the rule DB 20, whether the rule is a rule that leads to a positive example (hereinafter referred to as a "positive example rule") or a rule that leads to a negative example (hereinafter referred to as a "negative example rule") based on the number of positive examples and the number of negative examples of the activity history data. The number of positive examples of the activity history data is the number of activity history data that satisfies the rule and whose labels indicate positive examples, and the number of negative examples of the activity history data is the number of activity history data that satisfies the rule and whose labels indicate negative examples. The identification unit 14 determines whether the activity history data satisfies the rule based on whether each value of the activity history data after discretization satisfies all of the explanatory variables included in the rule. Specifically, when an explanatory variable included in the rule is included in the activity history data, if the value of the activity history data after discretization corresponding to the explanatory variable is "1", the identification unit 14 determines that the explanatory variable is satisfied. Furthermore, when an explanatory variable included in a rule is not included in the activity history data, i.e., in the case of an explanatory variable with an inequality sign reversed, if the value of the discretized activity history data corresponding to the explanatory variable with the inequality sign reversed is "0", the identifying unit 14 determines that the rule is satisfied. For example, in the case of rule 1 in the rule DB 20 shown in Fig. 4, when the value of "maximum response time ≧4" in the discretized activity history data is "1" and the value of "average response time ≧2" is "0", the identifying unit 14 determines that the activity history data satisfies rule 1.
[0022] The identification unit 14 determines the activity history data that satisfies the rule as described above for each rule, tallies the number of activity history data that satisfies the rule for each label of positive example or negative example, and stores the number of activity history data that satisfies the rule in the "number of positive examples" and "number of negative examples" in the rule DB 20, respectively. Then, the identification unit 14 identifies a rule in which the number of positive examples that satisfy the rule is greater than the number of negative examples as a positive example side rule, and identifies a rule in which the number of negative examples is greater than the number of positive examples as a negative example side rule, and stores the identification results in the "rule classification" of the rule DB 20. In the example of FIG. 4, in the "rule classification", the positive example side rule is represented as the "positive example side", and the negative example side rule is represented as the "negative example side".
[0023] Furthermore, for a positive example rule, the identification unit 14 calculates the reliability that the rule is a positive example rule based on the number of positive examples and the number of negative examples. For example, the identification unit 14 may calculate the reliability as reliability=number of positive examples / (number of positive examples+number of negative examples). The identification unit 14 stores the calculated reliability in “reliability” of the rule DB 20.
[0024] Here, as described above, a method for generating rules from an exhaustive combination of explanatory variables and extracting improvement proposals is to extract segments from the generated positive case rules. A segment is a rule that covers as much data as possible and as many positive cases as possible. Then, by expressing the positive case rules that become segments as actions according to the attributes of a user (here, a sales representative), it is possible to output effective actions according to the attributes as improvement proposals.
[0025] However, when the positive example rule that becomes a segment contains multiple explanatory variables, it is difficult to determine which explanatory variable to focus on when making an improvement proposal. For example, assume that rule 1 "maximum response time ≧ 4 ∧ average response time < 2" in the rule DB 20 shown in Fig. 4 is extracted as a segment. In this case, it is not clear which of the improvement proposals that set the maximum response time to 4 hours or more, the improvement proposals that set the average response time to less than 2 hours, or the improvement proposals that include both will have a greater improvement effect.
[0026] In addition, in the case of activity history data including items whose values are numerical values, as in the present embodiment, the segments are expressed as combinations of inequalities. As described above, in order to extract rules that cover as much data as possible, rules including inequalities that take on a wider range of values are extracted as the segments. However, in this case, the range for which improvement suggestions are made, i.e., the range outside the segments, becomes smaller, making it difficult to obtain the effect of the improvement suggestions.
[0027] For example, in the rule DB 20 shown in FIG. 4, between rule 3 "average response time ≧2 ∧ number of stamp types ≧3" and rule 4 "average response time ≧2 ∧ number of stamp types ≧2", rule 4 has a larger number of activity history data satisfying the rule and a larger number of positive cases. That is, since rule 4 covers a wider range than rule 3, rule 4 is extracted as a segment, and an improvement proposal is output that the average response time is 2 hours or more and the number of stamp types is 2 or more. However, from the difference between the number of positive cases and the number of negative cases of rule 3 and rule 4, the number of positive cases and the number of negative cases of activity history data satisfying "average response time ≧2 ∧ number of stamp types = 2" is 20, and the number of negative cases is 47. For a sales representative who falls under "average response time ≧2 ∧ number of stamp types = 2", unless the number of stamp types is 3 or more, it is not an improvement proposal, so the improvement proposal based on the above rule 4 is not appropriate.
[0028] In consideration of the above, the output unit 16 in this embodiment focuses on the direction of the inequality sign of the explanatory variable included in the rule and outputs an improvement proposal with a high improvement effect. The output unit 16 will be described in detail below.
[0029] When the inequality sign is in the opposite direction between the positive example rule and the negative example rule for a specific item whose value is a numeric value in a rule including an explanatory variable whose condition is expressed as an inequality, the output unit 16 outputs an improvement proposal based on the explanatory variable for the specific item included in the positive example rule. When the inequality sign is in the opposite direction between the positive example rule and the negative example rule for a certain specific item, the value of the specific item has a large influence on whether the activity history data becomes a positive example or a negative example. Therefore, by outputting an improvement proposal based on the explanatory variable for the specific item, it is possible to output an improvement proposal with a higher improvement effect.
[0030] For example, when "maximum response time" is a specific item, the output unit 16 selects a rule that includes "maximum response time" as an explanatory variable. In the case of the rule DB 20 shown in FIG. 4, the output unit 16 selects rules 1 and 2 as shown in FIG. 5. In this case, rule 1, which is the positive example rule, has "maximum response time ≧4", and rule 2, which is the negative example rule, has "maximum response time<4", with the inequality signs in the opposite directions. Therefore, the output unit 16 outputs an improvement proposal based on "maximum response time ≧4".
[0031] In addition, when there are multiple positive example rules with the inequality sign in the opposite direction to the negative example rule, the output unit 16 outputs an improvement proposal based on the explanatory variables for the specific item included in the positive example rule selected based on the reliability. For example, as in the above-mentioned reliability=number of positive examples / (number of positive examples+number of negative examples), the reliability is higher as the reliability value increases. In this case, the output unit 16 designates the positive example rule with a smaller range of values indicated by the inequality for the specific item as rule A and the rule with a larger range as rule B. Rule A is an example of the "first rule" of the disclosed technology, and rule B is an example of the "second rule" of the disclosed technology. Then, when the reliability of rule A is greater than the reliability of rule B by a predetermined value or more, the output unit 16 outputs an improvement proposal based on the explanatory variables for the specific item included in rule A. In addition, when the value obtained by subtracting the reliability of rule B from the reliability of rule A is less than a predetermined value, the output unit 16 outputs an improvement proposal based on the explanatory variables for the specific item included in rule B.
[0032] For example, when the "number of stamp types" is the specific item, the output unit 16 selects a rule that includes the "number of stamp types" in the explanatory variable. In the case of the rule DB 20 shown in FIG. 4, the output unit 16 selects rules 3, 4, and 5 as shown in FIG. 6. In this case, the rule 3, which is the positive example rule, has "number of stamp types ≧3", the rule 4 has "number of stamp types ≧2", and the rule 5, which is the negative example rule, has "number of stamp types <2", and the inequality signs are in the opposite directions. Therefore, "number of stamp types ≧3" or "number of stamp types ≧2" becomes a candidate for the improvement proposal. The output unit 16 determines whether the reliability of rule 3 minus the reliability of rule 4 (0.68-0.53) is equal to or greater than a predetermined threshold TH (for example, TH=0.1). Here, the reliability of rule 3 minus the reliability of rule 4 is equal to or greater than the predetermined threshold, so the output unit 16 outputs an improvement proposal based on "number of stamp types ≧3". With this improvement proposal, even for a sales representative with two stamp types, a proposal can be made to increase the number of stamp types to three or more, thereby increasing the possibility of a positive example, i.e., the possibility of improving the results of sales activities.
[0033] That is, when the reliability of rule A is greater than that of rule B by a predetermined value or more, the range in which improvement of activities can be expected can be expanded by making an improvement proposal based on the explanatory variables included in rule A, which has a smaller range of values indicated by the inequality. On the other hand, when there is not much difference between the reliability of rule A and the reliability of rule B, it is possible to make an improvement proposal based on a rule covering a wider range by making an improvement proposal based on the explanatory variables included in rule B, which has a larger range of values indicated by the inequality.
[0034] The output unit 16 may output the selected explanatory variable as it is as an improvement proposal based on the selected explanatory variable, or may output an improvement proposal created by fitting the contents of the selected explanatory variable into a previously prepared template. For example, the output unit 16 may create and output an improvement proposal that "the maximum response time should be 4 hours or more" from an explanatory variable of "maximum response time ≧4" as in the example shown in FIG. 5. Also, the output unit 16 may create and output an improvement proposal that "the number of stamp types should be 3 or more" from an explanatory variable of "number of stamp types ≧3" as in the example shown in FIG. 6. Also, when the activity history data items include items related to the attributes of the sales representatives, the output unit 16 may create and output an improvement proposal that combines the attributes included in a rule including the selected explanatory variable as an improvement proposal with the selected explanatory variable. For example, it is assumed that the explanatory variable "number of stamp types ≧3" is selected as an explanatory variable for the rule "years of service<10 [years] ∧ number of stamp types ≧3 types". In this case, the output unit 16 may create and output an improvement suggestion such as "Sales representatives with less than 10 years of service should have three or more types of stamps."
[0035] The activity support device 10 can be realized by, for example, a computer 40 shown in Fig. 7. The computer 40 includes a CPU (Central Processing Unit) 41, a memory 42 as a temporary storage area, and a non-volatile storage unit 43. The computer 40 also includes an input / output device 44 such as an input unit and a display unit, and an R / W (Read / Write) unit 45 that controls reading and writing of data from and to a storage medium 49. The computer 40 also includes a communication I / F (Interface) 46 that is connected to a network such as the Internet. The CPU 41, the memory 42, the storage unit 43, the input / output device 44, the R / W unit 45, and the communication I / F 46 are connected to one another via a bus 47.
[0036] The storage unit 43 can be realized by a hard disk drive (HDD), a solid state drive (SSD), a flash memory, or the like. The storage unit 43 as a storage medium stores an activity support program 50 for causing the computer 40 to function as the activity support device 10. The activity support program 50 has a generation process 52, an identification process 54, and an output process 56. The storage unit 43 also has an information storage area 60 in which information constituting the rule DB 20 is stored.
[0037] The CPU 41 reads out the activity support program 50 from the storage unit 43, expands it in the memory 42, and sequentially executes the processes of the activity support program 50. The CPU 41 operates as the generation unit 12 shown in FIG. 1 by executing the generation process 52. The CPU 41 also operates as the specification unit 14 shown in FIG. 1 by executing the specification process 54. The CPU 41 also operates as the output unit 16 shown in FIG. 1 by executing the output process 56. The CPU 41 also reads out information from the information storage area 60, and expands the rule DB 20 in the memory 42. As a result, the computer 40 that has executed the activity support program 50 functions as the activity support device 10. The CPU 41 that executes the program is hardware.
[0038] The functions realized by the activity support program 50 can also be realized by, for example, a semiconductor integrated circuit, more specifically, an ASIC (Application Specific Integrated Circuit) or the like.
[0039] Next, the operation of the activity support device 10 according to the present embodiment will be described. When activity history data is input to the activity support device 10 and an instruction to output an improvement proposal is given, the activity support device 10 executes an activity support process shown in Fig. 8. The activity support process is an example of an activity support method of the disclosed technology.
[0040] In step S10, the discretization process shown in Fig. 9 is executed. Next, in step S30, the rule generation process shown in Fig. 10 is executed. Next, in step S50, the improvement proposal output process shown in Fig. 11 is executed, and the activity support process ends. Each of the discretization process, the rule generation process, and the improvement proposal output process will be described in detail below.
[0041] First, the discretization process shown in FIG. 9 will be described.
[0042] In step S12, the generation unit 12 acquires the activity history data input to the activity support device 10. Next, in step S14, the generation unit 12 selects one item that has not been processed in the following steps S16 to S22 from among the items included in the acquired activity history data. Next, in step S16, the generation unit 12 sets a threshold of one or more for the selected item, and generates an explanatory variable expressed by an inequality "item name (inequality sign) threshold" that includes an item name, an inequality sign, and a threshold.
[0043] Next, in step S18, the generation unit 12 selects one sales representative ID that has not been processed in the process of step S20 below from the sales representative IDs included in the activity history data, and obtains activity history data including that sales representative ID. Next, in step S20, the generation unit 12 compares the value of the item selected in step S14 above with the explanatory variables generated in step S16 above in the activity history data including the selected sales representative ID. Then, for each explanatory variable generated, the generation unit 12 sets "1" if the value of that item in the activity history data satisfies the inequality represented by the explanatory variable, and sets "0" if it does not. This causes the activity history data to be discretized.
[0044] Next, in step S22, the generation unit 12 determines whether or not all sales representative IDs included in the activity history data acquired in step S12 have been selected. If there are unselected sales representative IDs, the process returns to step S18, and if all have been selected, the process proceeds to step S24. In step S24, the generation unit 12 determines whether or not all items included in the activity history data acquired in step S12 have been selected. If there are unselected items, the process returns to step S14, and if all have been selected, the discretization process ends.
[0045] Next, the rule generation process shown in FIG. 10 will be described.
[0046] In step S32, the generating unit 12 generates a plurality of rules by comprehensively combining the explanatory variables generated in step S16 of the discretization process (FIG. 9) and explanatory variables with the inequality signs included in the generated explanatory variables reversed between items. The generating unit 12 then assigns a rule number to each of the generated rules and stores the rules in the rule DB 20.
[0047] Next, in step S34, the identification unit 14 counts the number of activity history data satisfying each rule included in the rule DB 20 for each label of positive example or negative example, and stores these in the "number of positive examples" and "number of negative examples" in the rule DB 20. Then, the identification unit 14 identifies a rule for which the number of positive examples satisfying the rule is greater than the number of negative examples as a positive example side rule, and identifies a rule for which the number of negative examples is greater than the number of positive examples as a negative example side rule, and stores the identification results in the "rule category" of the rule DB 20.
[0048] Next, in step S36, the identification unit 14 calculates the reliability of the rule being a positive example rule based on the number of positive examples and the number of negative examples, and stores it in the "reliability" field of the rule DB 20, and the rule generation process is terminated.
[0049] Next, the improvement proposal output process shown in FIG. 11 will be described.
[0050] In step S52, the output unit 16 reads the rule DB 20 stored in a predetermined storage area. Next, in step S54, the output unit 16 selects one item that has not been processed in step S56 or later from among the items included in the activity history data. Next, in step S56, the output unit 16 extracts rules that include explanatory variables that include the selected item from the rules included in the rule DB 20.
[0051] Next, in step S58, the output unit 16 determines whether the extracted rules include at least one positive example rule and at least one negative example rule. If they do, the process proceeds to step S60, and if they do not, the process proceeds to step S74. In step S60, the output unit 16 determines whether the inequality signs in the positive example rule and the negative example rule included in the extracted rules are in opposite directions. If the inequality signs are in opposite directions, the process proceeds to step S62, and if they are in the same direction, the process proceeds to step S74.
[0052] In step S62, the output unit 16 determines whether the extracted rules include two or more positive example rules. If there is one positive example rule, the process proceeds to step S64. If there are two or more positive example rules, the process proceeds to step S66. In step S64, explanatory variables including the item selected in step S54 are selected from the positive example rules included in the extracted rules.
[0053] In step S66, the output unit 16 sets the rule with the smaller value range indicated by the inequality expressing the explanatory variable including the item selected in step S54 among the extracted positive example side rules as rule A, and the rule with the larger value range as rule B. Next, in step S68, the output unit 16 determines whether the value obtained by subtracting the confidence level of rule B (confidence level B) from the confidence level of rule A (confidence level A) is greater than or equal to a predetermined threshold TH. If confidence level A - confidence level B ≥ TH, the process proceeds to step S70, where the output unit 16 selects the explanatory variable including the item selected in step S54 in rule A and then proceeds to step S74. On the other hand, if confidence level A - confidence level B < TH, the process proceeds to step S72, where the output unit 16 selects the explanatory variable including the item selected in step S54 in rule B and then proceeds to step S74.
[0054] In step S74, the output unit 16 determines whether all the items included in the activity history data have been selected. If there are unselected items, the process returns to step S54; if all have been selected, the process proceeds to step S76. In step S76, the output unit 16 outputs improvement proposals based on each of the explanatory variables selected in steps S64, S70, or S72, and the improvement proposal output process ends.
[0055] In step S60 of the improvement proposal output process, assume that there are multiple positive example rules, and the direction of the inequality sign of the inequality expressing the explanatory variable including the selected item is different for each of the multiple positive example rules. In this case, the direction of the inequality sign with the greater number may be regarded as the direction of the inequality sign of the positive example rule. For example, if there are two positive example rules with the inequality sign of the inequality expression including the selected item as "≧" and one positive example rule with the inequality sign of "<", the direction of the inequality sign of the positive example rule may be regarded as "≧". In addition, the number of positive examples of each rule may be tallied for each direction of the inequality sign, and the direction with the greater number of positive examples may be regarded as the direction of the inequality sign of the positive example rule. The same applies when there are multiple negative example rules. In the case of the negative example rule, the direction with the greater number of negative examples is regarded as the direction of the inequality sign of the negative example rule. Furthermore, if there are a plurality of positive example rules and / or negative example rules and the directions of the inequality signs in the plurality of rules are different, a negative determination may be made in step S60.
[0056] Also, in step S66, if there are three or more positive example side rules, the top two are set as rule A and rule B in ascending order of the range of values indicated by the inequality, and it is judged whether reliability A-reliability B is equal to or greater than the threshold value TH. For example, it is assumed that there are three positive example side rules, rule 1, rule 2, and rule 3, and the range of values indicated by the inequality is rule 1<rule 2<rule 3. In this case, first, rule 1 is set as rule A, and rule 2 is set as rule B. Then, if reliability A-reliability B is equal to or greater than the threshold value TH, an explanatory variable is selected from rule 1, and if reliability A-reliability B is less than the threshold value TH, rule 2 is set as rule A, and rule 3 is set as rule B. Then, if reliability A-reliability B is equal to or greater than the threshold value TH, an explanatory variable is selected from rule 2, and if reliability A-reliability B is less than the threshold value TH, an explanatory variable is selected from rule 3.
[0057] As described above, the activity support device according to this embodiment generates a plurality of rules including one or more explanatory variables expressed by conditions related to the values of items for activity history data including values of one or more items and labels indicating positive or negative examples. The activity support device also identifies whether each rule is a positive example rule or a negative example rule based on the number of positive examples and the number of negative examples of the activity history data that satisfy each rule. Then, for a specific item whose value is a numerical value, in a rule including an explanatory variable whose condition is expressed by an inequality, when the inequality sign is in the opposite direction between the positive example rule and the negative example rule, the activity support device outputs an improvement proposal based on the explanatory variable for the specific item included in the positive example rule. This makes it possible to output a proposal with a high improvement effect and support the activity.
[0058] In the above embodiment, an example of sales activity is described assuming a response to a customer by chat or the like, but the present invention is not limited to this. Sales activity assuming a call or visit to a customer may be the target. In this case, the items of the activity history data may include the number of visits, the maximum response time for a call, the average response time, and the like. In addition, the disclosed technology can be applied not only to sales activities but also to improvement proposals for other activities such as health promotion activities. In the case of health promotion activities, the items of the activity history data may include, for example, exercise time, sleep time, number of meals, and the like. In addition, as labels, a case where the health condition is good may be a positive example, and a case where the health condition is not good may be a negative example. Then, by processing similar to the above embodiment, an improvement proposal such as "sleep time should be 8 to 10 hours" is output. In addition, the items of the activity history data may include attributes such as the user's sex, height, weight, and the like, and an improvement proposal such as "people who are 170 cm or taller should exercise for 1 hour or more" may be output.
[0059] It should be noted that, for the labels, it is not necessary to set cases where good activity results are achieved as positive examples, and cases where activity results are not good may also be set as positive examples. In this case, similar improvement suggestions can be made by replacing the positive and negative examples in the above embodiment. Furthermore, without replacing the positive and negative examples, the improvement suggestions may be things that are prohibited or should be avoided in the activity. For example, in the above example of health promotion activities, the positive example may be the case where there is an illness, and the negative example may be the case where there is no illness, and an improvement suggestion such as "if you sleep less than 4 hours, you are likely to get sick" may be made.
[0060] In the above embodiment, the activity support program is stored (installed) in the storage unit in advance, but the present invention is not limited to this. The program according to the disclosed technology can also be provided in a form stored in a storage medium such as a CD-ROM, a DVD-ROM, or a USB memory.
[0061] The following supplementary notes are further disclosed regarding the above embodiment.
[0062] (Appendix 1) Generate a plurality of rules including one or more explanatory variables expressed by conditions related to the values of one or more items for history data related to activities, the data including values of the one or more items and labels indicating positive examples or negative examples; for each of the rules, identifying whether the rule is a rule that leads to a positive example or a rule that leads to a negative example based on a number of positive examples, which is the number of the history data that satisfies the rule and whose label indicates a positive example, and a number of negative examples, which is the number of the history data that satisfies the rule and whose label indicates a negative example; In a rule including the explanatory variable whose condition is expressed by an inequality for a specific item whose value is a numeric value, when the inequality sign is in the opposite direction between the rule leading to the positive example and the rule leading to the negative example, an improvement proposal based on the explanatory variable for the specific item included in the rule leading to the positive example is output. An activity support program for causing a computer to execute a process including the above.
[0063] (Appendix 2) The activity support program according to claim 1, wherein the rule in which the number of positive examples is greater than the number of negative examples is identified as a rule that leads to positive examples, and the rule in which the number of negative examples is greater than the number of positive examples is identified as a rule that leads to negative examples.
[0064] (Appendix 3) Calculating a reliability that the rule is a rule that leads to a positive example based on the number of positive examples and the number of negative examples; When there are a plurality of rules for deriving positive examples having an inequality sign in the opposite direction to that of the rule for deriving negative examples, an improvement proposal based on the explanatory variables for the specific item included in a rule selected based on the reliability of the rule for deriving positive examples is output. An activity support program as described in Appendix 1 or Appendix 2.
[0065] (Appendix 4) the activity support program of appendix 3, wherein when a larger value of the reliability indicates a higher reliability, and when the rule that derives the negative example and the rule that derives the positive example and has an inequality sign in an opposite direction include a first rule and a second rule in which a range of values indicated by an inequality for the specific item is larger than that of the first rule, and when the reliability of the first rule is greater than the reliability of the second rule by a predetermined value or more, an improvement suggestion based on the explanatory variables for the specific item included in the first rule is output.
[0066] (Appendix 5) 5. The activity support program according to claim 4, wherein, when a value obtained by subtracting the reliability of the second rule from the reliability of the first rule is less than the predetermined value, an improvement proposal based on the explanatory variables for the specific item included in the second rule is output.
[0067] (Appendix 6) 6. The activity support program according to any one of appendix 1 to appendix 5, wherein the explanatory variables are generated by discretizing values of the items of the history data, and comprehensive combinations of the explanatory variables are generated as the plurality of rules.
[0068] (Appendix 7) 7. The activity support program according to claim 6, which identifies whether the plurality of rules are rules that lead to positive examples or rules that lead to negative examples by discretizing the history data based on whether a value of the item of the history data matches the condition expressed as the explanatory variable, and determining whether each of the history data whose label after discretization indicates a positive example and the history data whose label indicates a negative example satisfies each of the plurality of rules.
[0069] (Appendix 8) A generation unit that generates a plurality of rules including one or more explanatory variables expressed by conditions related to the values of one or more items, for history data related to activities including values of the one or more items and labels indicating positive examples or negative examples; an identification unit that identifies, for each of the rules, whether the rule is a rule that leads to a positive example or a rule that leads to a negative example, based on a number of positive examples that is the number of the history data that satisfies the rule and whose label indicates a positive example, and a number of negative examples that is the number of the history data that satisfies the rule and whose label indicates a negative example; an output unit that outputs an improvement proposal based on the explanatory variables for the specific item included in the rule that derives a positive example when the inequality sign in the rule that derives a positive example and the rule that derives a negative example is in an opposite direction in the rule that derives the positive example and the rule that derives the negative example, in the rule including the explanatory variables whose condition is expressed by an inequality expression for the specific item whose value is a numeric value; An activity support device comprising:
[0070] (Appendix 9) The activity support device according to claim 8, wherein the identification unit identifies the rule in which the number of positive examples is greater than the number of negative examples as a rule that leads to the positive examples, and identifies the rule in which the number of negative examples is greater than the number of positive examples as a rule that leads to the negative examples.
[0071] (Appendix 10) the identification unit calculates a reliability that the rule is a rule that leads to a positive example, based on the number of positive examples and the number of negative examples; When there are a plurality of rules for deriving positive examples having an inequality sign opposite to that of the rule for deriving negative examples, the output unit outputs an improvement proposal based on the explanatory variables for the specific item included in a rule selected based on the reliability of the rule for deriving positive examples. 10. The activity support device according to claim 8 or 9.
[0072] (Appendix 11) the output unit outputs an improvement suggestion based on the explanatory variables for the specific item included in the first rule when a larger value of the reliability indicates a higher reliability, and when the rules for deriving positive examples having an inequality sign in an opposite direction to the rule for deriving the negative example include a first rule and a second rule in which a range of values indicated by an inequality for the specific item is larger than that of the first rule, and when the reliability of the first rule is greater than the reliability of the second rule by a predetermined value or more.
[0073] (Appendix 12) The activity support device according to claim 11, wherein the output unit outputs an improvement suggestion based on the explanatory variables for the specific item included in the second rule when a value obtained by subtracting the reliability of the second rule from the reliability of the first rule is less than the predetermined value.
[0074] (Appendix 13) The activity support device according to any one of Supplementary Note 8 to Supplementary Note 12, wherein the generation unit generates the explanatory variables by discretizing values of the items of the history data, and generates comprehensive combinations of the explanatory variables as the plurality of rules.
[0075] (Appendix 14) The activity support device described in Appendix 13, wherein the identification unit discretizes the history data based on whether a value of the item of the history data matches the condition expressed as the explanatory variable, and determines whether each of the history data whose label indicates a positive example and the history data whose label indicates a negative example after discretization satisfies each of the plurality of rules, thereby identifying whether the plurality of rules are rules that lead to positive examples or rules that lead to negative examples.
[0076] (Appendix 15) Generate a plurality of rules including one or more explanatory variables expressed by conditions related to the values of one or more items for history data related to activities, the data including values of the one or more items and labels indicating positive examples or negative examples; for each of the rules, identifying whether the rule is a rule that leads to a positive example or a rule that leads to a negative example based on a number of positive examples, which is the number of the history data that satisfies the rule and whose label indicates a positive example, and a number of negative examples, which is the number of the history data that satisfies the rule and whose label indicates a negative example; In a rule including the explanatory variable whose condition is expressed by an inequality for a specific item whose value is a numeric value, when the inequality sign is in the opposite direction between the rule leading to the positive example and the rule leading to the negative example, an improvement proposal based on the explanatory variable for the specific item included in the rule leading to the positive example is output. The activity support method includes a computer-implemented process including:
[0077] (Appendix 16) The activity support method according to claim 15, further comprising identifying the rule in which the number of positive examples is greater than the number of negative examples as a rule that leads to positive examples, and identifying the rule in which the number of negative examples is greater than the number of positive examples as a rule that leads to negative examples.
[0078] (Appendix 17) Calculating a reliability that the rule is a rule that leads to a positive example based on the number of positive examples and the number of negative examples; When there are a plurality of rules for deriving positive examples having an inequality sign in the opposite direction to that of the rule for deriving negative examples, an improvement proposal based on the explanatory variables for the specific item included in a rule selected based on the reliability of the rule for deriving positive examples is output. 17. The activity support method according to claim 15 or 16.
[0079] (Appendix 18) The activity support method of claim 17, further comprising: outputting an improvement suggestion based on the explanatory variables for the specific item included in the first rule when a larger value of the reliability indicates a higher reliability, and when the rule that derives the negative example and the rule that derives the positive example and has an inequality sign in an opposite direction include a first rule and a second rule in which a range of values indicated by an inequality for the specific item is larger than that of the first rule, and when the reliability of the first rule is greater than the reliability of the second rule by a predetermined value or more.
[0080] (Appendix 19) 19. The activity support method according to claim 18, wherein, when a value obtained by subtracting the reliability of the second rule from the reliability of the first rule is less than the predetermined value, an improvement proposal based on the explanatory variables for the specific item included in the second rule is output.
[0081] (Appendix 20) Generate a plurality of rules including one or more explanatory variables expressed by conditions related to the values of one or more items for history data related to activities, the data including values of the one or more items and labels indicating positive examples or negative examples; for each of the rules, identifying whether the rule is a rule that leads to a positive example or a rule that leads to a negative example based on a number of positive examples, which is the number of the history data that satisfies the rule and whose label indicates a positive example, and a number of negative examples, which is the number of the history data that satisfies the rule and whose label indicates a negative example; In a rule including the explanatory variable whose condition is expressed by an inequality for a specific item whose value is a numeric value, when the inequality sign is in the opposite direction between the rule leading to the positive example and the rule leading to the negative example, an improvement proposal based on the explanatory variable for the specific item included in the rule leading to the positive example is output. A storage medium storing an activity support program for causing a computer to execute processing including the above. [Explanation of symbols]
[0082] 10 Activity support equipment 12 Generation part 14 Specific part 16 Output section 20 Rule DB 40 Computer 41 CPU 42 Memory 43 Storage section 49 Storage medium 50 Activity Support Program
Claims
1. generating a plurality of rules including one or more explanatory variables expressed in terms of conditions related to the values of one or more items for history data related to activities, the history data including values of the one or more items and labels indicating positive examples or negative examples; for each of the rules, identifying whether the rule is a rule that leads to a positive example or a rule that leads to a negative example based on a number of positive examples, which is the number of the history data that satisfies the rule and whose label indicates a positive example, and a number of negative examples, which is the number of the history data that satisfies the rule and whose label indicates a negative example; In a rule including the explanatory variable whose condition is expressed by an inequality for a specific item whose value is a numeric value, when the inequality sign is in the opposite direction between the rule leading to the positive example and the rule leading to the negative example, an improvement proposal based on the explanatory variable for the specific item included in the rule leading to the positive example is output. An activity support program for causing a computer to execute a process including the above.
2. The activity support program according to claim 1 , wherein the rule in which the number of positive examples is greater than the number of negative examples is identified as the rule that leads to the positive examples, and the rule in which the number of negative examples is greater than the number of positive examples is identified as the rule that leads to the negative examples.
3. Calculating a reliability that the rule is a rule that leads to a positive example based on the number of positive examples and the number of negative examples; When there are a plurality of rules for deriving positive examples having an inequality sign in the opposite direction to that of the rule for deriving negative examples, an improvement proposal based on the explanatory variables for the specific item included in a rule selected based on the reliability of the rule for deriving positive examples is output. The activity support program according to claim 1 or 2.
4. 4. The activity support program according to claim 3, wherein, when a larger value of the reliability indicates a higher reliability, and when the rule that derives the negative example and the rule that derives the positive example and has an inequality sign in an opposite direction include a first rule and a second rule in which a range of values indicated by an inequality for the specific item is larger than that of the first rule, when the reliability of the first rule is greater than the reliability of the second rule by a predetermined value or more, an improvement suggestion based on the explanatory variables for the specific item included in the first rule is output.
5. The activity support program according to claim 4, wherein when a value obtained by subtracting the reliability of the second rule from the reliability of the first rule is less than the predetermined value, an improvement proposal based on the explanatory variables for the specific item included in the second rule is output.
6. The activity support program according to any one of claims 1 to 5, wherein the explanatory variables are generated by discretizing values of the items of the history data, and comprehensive combinations of the explanatory variables are generated as the plurality of rules.
7. 7. The activity support program according to claim 6, further comprising: discretizing the history data based on whether a value of the item of the history data matches the condition expressed as the explanatory variable; and determining whether each of the history data whose label indicates a positive example and the history data whose label indicates a negative example after discretization satisfies each of the plurality of rules, thereby identifying whether the plurality of rules are rules that lead to positive examples or rules that lead to negative examples.
8. A generation unit that generates a plurality of rules, each of which includes one or more explanatory variables expressed by a condition related to the value of one or more items, for history data related to an activity, the history data including the value of the one or more items and a label indicating a positive example or a negative example; an identification unit that identifies, for each of the rules, whether the rule is a rule that leads to a positive example or a rule that leads to a negative example, based on a number of positive examples that is the number of the history data that satisfies the rule and whose label indicates a positive example, and a number of negative examples that is the number of the history data that satisfies the rule and whose label indicates a negative example; an output unit that outputs an improvement proposal based on the explanatory variables for the specific item included in the rule that derives a positive example when the inequality sign in the rule that derives a positive example and the rule that derives a negative example is in an opposite direction in the rule that derives the positive example and the rule that derives the negative example, in the rule including the explanatory variables whose condition is expressed by an inequality expression for the specific item whose value is a numeric value; An activity support device comprising:
9. generating a plurality of rules including one or more explanatory variables expressed in terms of conditions related to the values of one or more items for history data related to activities, the history data including values of the one or more items and labels indicating positive examples or negative examples; for each of the rules, identifying whether the rule is a rule that leads to a positive example or a rule that leads to a negative example based on a number of positive examples, which is the number of the history data that satisfies the rule and whose label indicates a positive example, and a number of negative examples, which is the number of the history data that satisfies the rule and whose label indicates a negative example; In a rule including the explanatory variable whose condition is expressed by an inequality for a specific item whose value is a numeric value, when the inequality sign is in the opposite direction between the rule leading to the positive example and the rule leading to the negative example, an improvement proposal based on the explanatory variable for the specific item included in the rule leading to the positive example is output. The activity support method includes a computer-implemented process including:
Citation Information
Patent Citations
Daily life / sports support system for aged person
JP2006031433A
Support system for health maintenance and enhancement
JP2007286854A
Information processing apparatus, information processing method, and program
JP2020004027A
Sales support device, program, and sales support method
JP2020155097A
