Learning device, learning method, and program

The learning device and method ensure accurate prediction and verification of machine learning models by categorizing and proportionally distributing product data for training and verification, addressing the issue of biased data in multiple product types and enhancing prediction accuracy.

JP2024134117APending Publication Date: 2024-10-03HONDA MOTOR CO LTD

Patent Information

Application Number
JP2023044233
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-03-20
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

Machine learning models used for product design are inaccurate due to insufficient and biased training and verification data, particularly when predicting the performance of multiple different product types, leading to difficulties in verifying prediction accuracy.

Method used

A learning device and method that classifies product data into predetermined categories, distributes it into training and verification data sets to maintain proportional representation, and uses multiple evaluation indices to generate and verify machine learning models, ensuring accurate prediction across various product types.

Benefits of technology

This approach allows for the generation and verification of machine learning models that provide both macro and micro accuracy assessments, enhancing the overall and individual product type prediction accuracy, thereby improving the reliability of machine learning models in product design.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024134117000001_ABST
    Figure 2024134117000001_ABST
Patent Text Reader

Abstract

To appropriately generate and verify a machine learning model that performs performance prediction of a plurality of types of products.SOLUTION: A learning device includes: a classification unit configured to generate learning source data by classifying product data, which includes a plurality of data sets that are pairs of explanatory variables indicating product materials or design matters and objective variables indicating performance of the product, into each of predetermined categories; a distribution unit which distributes the learning source data into training data and verification data; a model learning unit which generates a machine learning model on the basis of the training data; and a verification unit which compares an objective variable included in the verification data with an objective variable predicted by the machine learning model on the basis of explanatory variables of the verification data. The distribution unit is configured to distribute the learning source data so that a proportion of a data set for each category in the learning source data may correspond to a proportion of the data set for each category in the training data and a proportion of the data set for each category in the verification data.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present application relates to a learning device, a learning method, and a program. [Background technology]

[0002] Machine learning refers to finding the relationship between the factors and outcomes of known cases using training data on those cases. Machine learning can be considered as data processing that uses a computer to find a mathematical model that shows the relationship between explanatory variables that indicate the factors and objective variables that indicate the outcome. The trained mathematical model (sometimes called a "machine learning model," "learning model," or "model") is used to predict outcomes from unknown factors.

[0003] Machine learning is applied in various fields, for example, product design. In product design, a model is learned to predict the performance expected from the specifications of parts and materials as explanatory variables and the performance expected from the specifications as a response variable. Patent Document 1 describes a multiple regression analysis device that performs multiple regression analysis on multiple data sets consisting of multiple explanatory variables and response variables. [Prior art documents] [Patent documents]

[0004] [Patent Document 1] JP 2020-57261 A Summary of the Invention [Problem to be solved by the invention]

[0005] The accuracy of a machine learning model depends on the type and amount of training data used during learning. In particular, when a machine learning model is used to design multiple different product types, it is important that the training data comprehensively includes data on the target product types. Furthermore, validation data is used to verify the predictive accuracy of the machine learning model after learning, but accurate validation cannot be performed unless this validation data also comprehensively includes data on the target product types. Furthermore, in addition to the predictive accuracy across multiple different product types, it is also necessary to verify the predictive accuracy of each individual product type.

[0006] The embodiments of the present application have been made in consideration of the above points, and an objective of the present application is to provide a learning device, a learning method, and a program that can appropriately generate and verify a machine learning model that predicts the performance of multiple types of products. [Means for solving the problem]

[0007] The learning device, learning method, and program according to the present invention employ the following configuration. (1) A learning device according to one embodiment of the present invention includes a classification unit that classifies product data, including a plurality of data sets each of which is a pair of explanatory variables indicating materials or design aspects of a product and a target variable indicating performance of the product, into predetermined categories to generate original learning data; a distribution unit that distributes the original learning data into training data and validation data; a model learning unit that generates a machine learning model based on the training data; and a verification unit that compares a target variable included in the validation data with a target variable predicted by the machine learning model based on the explanatory variables of the validation data, wherein the distribution unit distributes the original learning data such that a proportion of the data sets for each category in the original learning data corresponds to a proportion of the data sets for each category in the training data and a proportion of the data sets for each category in the validation data.

[0008] In an aspect (2), in the learning device according to the aspect (1) above, the verification unit performs both a first verification on all data sets included in the verification data and a second verification on the data sets for each classification in the verification data.

[0009] In an aspect (3), in the learning device according to the aspect (2) above, the verification unit performs the first verification and the second verification using index values ​​different from each other.

[0010] In an aspect (4), in the learning device according to the aspect (1) above, the distribution unit distributes the original learning data such that a proportion of the data set for each classification in the original learning data is equal to a proportion of the data set for each classification in the training data and a proportion of the data set for each classification in the validation data.

[0011] In an aspect (5), in the learning device according to the aspect (1) above, the distribution unit distributes the data set for each classification in the source data to the training data and the validation data in a predetermined ratio.

[0012] In an embodiment (6), in the learning device according to any one of the embodiments (1) to (5) above, the classification unit classifies the product data into categories determined according to the intended use of the product.

[0013] In an embodiment (7), in the learning device according to any one of the embodiments (1) to (5) above, the classification unit classifies the product data into categories determined according to the shape of the product.

[0014] In an embodiment (8), in a learning device according to any one of the embodiments (1) to (5) above, the classification unit classifies the product data into categories determined according to a manufacturing method of the product.

[0015] In an aspect (9), in the learning device according to any one of the aspects (1) to (5) above, the verification unit calculates multiple types of index values ​​using a response variable included in the verification data and a response variable predicted by the machine learning model.

[0016] In an aspect (10), the learning device relating to the aspect (2) or (3) above further includes a display control unit that displays the verification results of the first verification and the verification results of the second verification on a display unit.

[0017] In an embodiment (11), in the learning device according to any one of the embodiments (1) to (5) above, the product is a battery.

[0018] (12) A learning method according to another aspect of the present invention includes a computer classifying product data, which includes a plurality of data sets each of which is a pair of explanatory variables indicating materials or design aspects of a product and a target variable indicating performance of the product, into a predetermined category to generate source data for learning, distributing the source data for learning into training data and validation data, generating a machine learning model based on the training data, and comparing a target variable included in the validation data with a target variable predicted by the machine learning model based on the explanatory variables of the validation data, wherein the source data for learning is distributed so that the proportion of the data sets for each category in the source data for learning corresponds to the proportion of the data sets for each category in the training data and the proportion of the data sets for each category in the validation data.

[0019] (13) A program according to another aspect of the present invention causes a computer to classify product data, including a plurality of data sets each of which is a pair of explanatory variables indicating materials or design aspects of a product and a target variable indicating performance of the product, into a predetermined classification to generate original learning data, distribute the original learning data into training data and validation data, generate a machine learning model based on the training data, and compare a target variable included in the validation data with a target variable predicted by the machine learning model based on the explanatory variables of the validation data, wherein the program distributes the original learning data so that a proportion of the data sets for each classification in the original learning data corresponds to a proportion of the data sets for each classification in the training data and a proportion of the data sets for each classification in the validation data. Effect of the Invention

[0020] According to the above-mentioned configurations (1) to (13), it is possible to appropriately generate and verify a machine learning model that predicts the performance of multiple types of products. Furthermore, according to the above-mentioned configurations (2), (3), (9), and (10), in addition to the prediction accuracy (overall evaluation) from the perspective of spanning multiple different product types, the prediction accuracy (individual evaluation) for each product type can also be verified. By simultaneously grasping the correlation across multiple product types and the accuracy of the correlation for each individual product type, the macro-accuracy and each micro-accuracy of the machine learning model can be determined. Furthermore, by using appropriate evaluation indexes for each of the overall evaluation and individual evaluation based on multiple evaluation index values, the machine learning model can be properly verified. [Brief description of the drawings]

[0021] [Figure 1] 1 is a schematic block diagram showing an example of the configuration of a learning device according to an embodiment of the present invention; [Diagram 2] 1 is a diagram for explaining how learning source data OD according to this embodiment is distributed into training data TD and validation data ID. FIG. [Diagram 3]FIG. 2 is a diagram for explaining the data configuration (number of data) of learning source data OD, training data TD, and verification data ID according to the present embodiment. [Figure 4] FIG. 2 is a schematic block diagram illustrating an example of a hardware configuration of the learning device according to the present embodiment. [Diagram 5] 10 is a flowchart showing an example of a processing flow of the learning device according to the present embodiment. [Figure 6] FIG. 13 is a diagram showing an example of a verification result (prediction accuracy information) according to the present embodiment. [Figure 7] FIG. 13 is a diagram showing another example of the verification result (prediction accuracy information) according to the present embodiment. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0022] A learning device, a learning method, and a program according to an embodiment of the present application will be described with reference to the drawings.

[0023] <Configuration of learning device 10> FIG. 1 is a schematic block diagram showing an example of the configuration of a learning device 10 according to this embodiment. The learning device 10 generates a machine learning model that can estimate a dependent variable indicating the performance of a product from a group of explanatory variables including multiple types of explanatory variables indicating the material or design details of the product, and can derive a correlation between the explanatory variables and the dependent variable. The learning device 10 performs a learning process using training data including a data set consisting of a group of explanatory variables and actual measured values ​​of the dependent variable. Furthermore, the learning device 10 uses the validation data to calculate a predicted value of the dependent variable from the group of explanatory variables using a trained machine learning model, and calculates the prediction accuracy of the predicted value calculated based on the actual measured values ​​of the dependent variable.

[0024] This embodiment can be applied to products that have dependencies due to production requirements such as materials or design items. This embodiment can be applied to such products, for example, batteries (mainly storage batteries that allow repeated charging and discharging, also called secondary batteries). When the product to be processed is a battery, for example, some or all of the items such as the electrode material (material design) or the compounding ratio of multiple types of materials (production engineering design), the electrode length, the electrode thickness (shape), etc. are included in the explanatory variable group. As performance indicators given to the explanatory variable group, for example, capacity, output, cost, etc. are applied as objective variables. The capacity corresponds to the charge discharged from the start of discharge until the end voltage is reached when the output voltage between the two electrodes is the rated voltage. The output corresponds to the current or power obtained by discharge when the output voltage is equal to the rated voltage. The cost is the manufacturing cost of the product. The cost may include the unit price of each component as well as various expenses required for processing, distribution, etc.

[0025] The learning device 10 includes, for example, a calculation processing unit 120, a storage unit 140, and an input / output unit 150. The calculation processing unit 120 includes, for example, an acquisition unit 122, a classification unit 124, a distribution unit 126, a model learning unit 128, a verification unit 130, and a display control unit 132.

[0026] The acquiring unit 122 acquires product data indicating the characteristics of each product. The product data includes data corresponding to multiple types of products. The product data includes multiple sets of data sets for each product. Each data set includes production information and performance information. The production information includes one or multiple variables indicating information on one or both of the product's materials and design items. The performance information includes one or multiple actual measured values ​​of the performance of a product produced according to the production information included in the data set common to the performance information. In other words, the product data includes multiple data sets that are pairs of explanatory variables indicating the product's materials or design items and objective variables indicating the product's performance.

[0027] The acquisition unit 122 acquires product data from, for example, a predetermined external device. The external device is, for example, a database that stores product data, a server device, a personal computer, a dedicated measuring instrument, etc. The acquisition unit 122 may acquire product data input by a user via the operation input unit 158 ​​described later. Alternatively, the product data may be stored in a removable storage medium such as a USB, DVD, or CD-ROM, and the acquisition unit 122 may acquire the product data by mounting the storage medium in a drive device provided in the learning device 10.

[0028] The classification unit 124 classifies the acquired product data by a predetermined classification (product type) to generate learning source data OD. The classification unit 124 stores the generated learning source data OD in the storage unit 140. The product type is a classification set according to the application, such as a product for a smartphone, a product for a vehicle, or a product for a small device. Alternatively, the product type is a classification set according to the manufacturing method, such as a mass-produced product, a prototype product, or a recycled product obtained by dismantling another device. In addition, the product type may be a classification set according to the shape, such as a square type, a cylindrical type, or a laminate type. The product type is not limited to these, and any classification can be set according to the purpose. The product data acquired by the acquisition unit 122 includes information indicating this product type. For example, the classification unit 124 performs a classification process by assigning a classification based on the product type (for example, a sample name) to each data set included in the acquired product data.

[0029] The distribution unit 126 distributes the learning source data OD into training data and verification data based on the classification given by the learning source data OD. The distribution unit 126 stores the distributed training data and verification data in the storage unit 140. FIG. 2 is a diagram for explaining how the learning source data OD according to this embodiment is distributed into training data TD and verification data ID. As shown in FIG. 2, the learning source data OD is associated with an item that is an explanatory variable and an item that is a target variable for a sample name (classification). The sample name has, for example, a format of "type number_serial number". That is, in the example of FIG. 3, a data set with a sample name in the format of "1_" corresponds to product type 1, a data set in the format of "2_" corresponds to product type 2, and a data set in the format of "n_" corresponds to product type n.

[0030] FIG. 3 is a diagram for explaining the data configuration (number of data) of the learning source data OD, the training data TD, and the validation data ID according to the present embodiment. As shown in FIG. 3, the distribution unit 126 distributes (equally distributes) the learning source data OD to the training data TD and the validation data ID based on the sample name (classification) so as to maintain the ratio of the data sets for each product type in the learning source data OD. That is, the ratio of the number of data items of the seven items of data items in the learning source data OD, namely, the number of data items of product type 1 (4), the number of data items of product type 2 (52), the number of data items of product type 3 (22), the number of data items of product type 4 (185), the number of data items of product type 5 (60), the number of data items of product type 6 (75), and the number of data items of product type 7 (112), is the same as the ratio of the number of data items in the training data TD and the ratio of the number of data items in the validation data ID. The data sets for each product type in the learning source data OD are distributed to the training data TD and the validation data ID at a predetermined ratio. In the example shown in FIG. 3, the number of training data TD and the number of validation data ID are distributed for each product type so that the ratio is approximately "4:1". This predetermined ratio is arbitrary. When the number of data sets is small or cannot be divided into the predetermined ratio, the distribution number is appropriately determined so as to be close to this ratio. That is, the distribution unit 126 distributes the learning source data OD so that the ratio of the data sets for each classification in the learning source data OD corresponds to the ratio of the data sets for each classification in the training data TD and the ratio of the data sets for each classification in the validation data ID. In this embodiment, the term "corresponding" includes a configuration in which the ratio of the data sets for each classification in the learning source data OD is equal to the ratio of the data sets for each classification in the training data TD and the ratio of the data sets for each classification in the validation data ID, as well as a configuration in which the two are approximately equal.

[0031] Returning to FIG. 1, the model learning unit 128 performs a learning process using the training data TD to generate a machine learning model. The model learning unit 128 receives explanatory variables of a data set included in the training data TD as input, and performs a learning process so that an evaluation value of a predetermined loss function indicating the magnitude of the difference between a predicted value (model output) of a response variable calculated using a learning model and an actual measured value of the response variable included in the training data TD decreases for the entire training data. The model learning unit 128 determines whether the learning has converged based on whether the evaluation value of the loss function is equal to or less than a predetermined reference value. When the model learning unit 128 determines that the learning has converged, it stops the learning, and stores in the storage unit 140 a learned parameter set (machine learning model) indicating a parameter set obtained at that time point.

[0032] Machine learning models are largely classified into models related to linear regression and models related to nonlinear regression. Linear regression refers to a statistical method that clarifies the relationship by assuming that a model showing the relationship between explanatory variables and objective variables is a linear prediction function. In this embodiment, regression analysis methods such as multiple regression analysis, ridge regression, LASSO (Least Absolute Shrinkage and Selection Operator) regression, and elastic net can be applied as the method related to linear regression. Nonlinear regression refers to a statistical method that clarifies the relationship by using a mathematical model showing a nonlinear relationship between explanatory variables and objective variables. Known methods such as support vector machine (SVR), neural network, Adaboost, gradient boosting, and random forest can be applied as the mathematical model related to nonlinear regression.

[0033] The verification unit 130 verifies the machine learning model using the verification data ID stored in the storage unit 140. The verification unit 130 verifies the prediction accuracy by comparing a predicted value (model output) of the objective variable calculated using the machine learning model with an actual measured value of the objective variable included in the verification data. For each data set included in the verification data, the verification unit 130 calculates a predicted value of the objective variable using the machine learning model from a group of explanatory variables included in the data set. The verification unit 130 calculates the magnitude of the difference between the calculated predicted value and the actual measured value, that is, an index value (score) indicating the prediction accuracy. The verification unit 130 aggregates the calculated index values ​​of the prediction accuracy and generates prediction accuracy information indicating the aggregated prediction accuracy.

[0034] The verification unit 130 uses, for example, the coefficient of determination (R 2 Any statistic may be used, such as mean square error (MSE), root mean square error (RMSE), mean absolute error (MAE), mean absolute percentage error (MAPE), symmetric mean absolute percentage error (SMAPE), maximum error ratio (MER), etc.

[0035] Coefficient of determination R 2 , the mean square error MSE, the root mean square error RMSE, the mean absolute error MAE, the mean absolute error rate MAPE, the adjusted mean absolute error rate SMAPE, and the maximum error ratio MER are calculated using equations (1), (2), (3), (4), (5), (6), and (7), respectively. In equations (1) to (7), y i denotes the actual measured value of the objective variable in data set i. y i ^ indicates the predicted value of the objective variable in the data set i. n is a predetermined integer of 2 or more indicating the number of data sets used in accuracy verification.

[0036]

number

[0037]

number

[0038]

number

[0039]

number

[0040]

number

[0041]

number

[0042]

number

[0043] Coefficient of determination R 2 is a real value between 0 and 1, and the closer it is to 1, the higher the prediction accuracy. In general, the coefficient of determination tends to approach 1 as the number of explanatory variables that are elements of the explanatory variable group increases.

[0044] The mean squared error (MSE) is a real value greater than or equal to 0, and the closer it is to 0, the higher the prediction accuracy. The mean squared error is more likely to show the magnitude of error in the overall objective variable than the mean absolute error.

[0045] The root mean square error (RMSE) is equivalent to the square root of the mean square error, and its absolute value increases more slowly than the mean square error. The root mean square error is often used in predictive evaluation of regression problems.

[0046] The mean absolute error (MAE) is a positive real value greater than or equal to 0, with the closer it is to 0 the higher the prediction accuracy. Since the mean absolute error is proportional to the error range of each objective variable, it tends to be easily affected by outliers in each objective variable.

[0047] The mean absolute error (MAPE) is a real value greater than or equal to 0, with the closer it is to 0%, the higher the prediction accuracy. The mean absolute error indicates the absolute deviation of the explanatory variables as a whole. Since the mean absolute error is proportional to the ratio of error to the actual value of each explanatory variable, it tends to be easily affected by the error rate of each explanatory variable. In addition, since the predicted value of each explanatory variable is normalized by dividing it by the actual value, it cannot be used when the actual value includes zero.

[0048] The adjusted mean absolute error (SMAPE) is a real value greater than or equal to 0, with the closer to 0%, the higher the prediction accuracy. The adjusted mean absolute error is calculated by replacing the actual measured value in the mean absolute error with the difference between the absolute value of the actual measured value and the absolute value of the predicted value. The adjusted mean absolute error can be used even if the actual measured value contains zero, as long as the difference between the absolute value of the actual measured value and the absolute value of the predicted value is not zero.

[0049] The maximum error ratio MER is a real value greater than or equal to 0, and the closer it is to 0%, the higher the prediction accuracy. The maximum error ratio corresponds to the maximum ratio of the absolute value of the difference between the actual and predicted values ​​to the absolute value of the actual values ​​of each explanatory variable. Therefore, errors for specific explanatory variables are likely to appear.

[0050] In this way, the index value has its own characteristics. The type of index value to be calculated may be determined in advance for each objective variable to be calculated. Also, the type of index value to be calculated may be determined in advance for each product type (classification) to be calculated.

[0051] The verification unit 130 may calculate multiple types of index values ​​using the objective variables included in the verification data ID and the objective variables predicted by the machine learning model. The verification unit 130 may perform both a first verification for all data sets included in the verification data ID and a second verification for the data sets for each classification in the verification data ID. The verification unit 130 may perform the first verification and the second verification using mutually different index values.

[0052] The display control unit 132 displays the verification result (prediction accuracy information) input from the verification unit 130 on the display unit 160 (FIG. 4) described later. For example, the display control unit 132 generates a display screen by arranging the prediction accuracy information according to a predetermined screen arrangement, and outputs display data showing the generated display screen to the display unit 160. The display unit 160 displays the display screen according to the display data input from the display control unit 132. For example, the display control unit 132 generates a prediction accuracy display screen as a display screen showing prediction accuracy information for each objective variable. The display control unit 132 determines the objective variable to be the display target of the prediction accuracy information in response to an operation on the prediction accuracy display screen. For example, the display control unit 132 changes the display target in a predetermined order each time an operation is detected. The display control unit 132 may display a selection screen showing a list of candidates to be displayed on the display screen, and select a candidate designated in response to an operation as the display target. The user can visually check the prediction accuracy display screen displayed on the display unit 160 to grasp the prediction accuracy of the learning model that differs for each objective variable. The display control unit 132 may cause the display unit 160 to display the verification result of the first verification for all data sets included in the verification data ID and the verification result of the second verification for the data sets for each classification in the verification data ID. In addition, the display control unit 132 causes the display unit 160 to display a GUI (Graphical User Interface) or the like for receiving various input operations from the user.

[0053] The verification unit 130 may select one or more types of index values ​​from multiple types of index values ​​of prediction accuracy preset for each objective variable in response to an operation. When multiple types of index values ​​are applied, the display control unit 132 may change the type of index value of prediction accuracy to be output in response to an operation, or may output those types of index values ​​simultaneously.

[0054] The storage unit 140 temporarily or permanently stores various data. For example, the storage unit 140 stores the learning source data OD, the training data TD, the verification data ID, the machine learning model (parameters), and the like.

[0055] The input / output unit 150 enables various input data to be input to and output from other devices.

[0056] Note that instead of outputting various display data to the display unit 160, the display control unit 132 may output the data via the input / output unit 150 to other devices (other display devices, user terminal devices, etc.).

[0057] Next, an example of the hardware configuration of the learning device 10 according to this embodiment will be described. Fig. 4 is a schematic block diagram showing an example of the hardware configuration of the learning device 10 according to this embodiment. The learning device 10 includes, for example, a processor 152, an operation input unit 158, a display unit 160, a main memory 162, a program storage unit 164, an auxiliary storage unit 166, and an interface unit 168. The processor 152, the operation input unit 158, the display unit 160, the main memory 162, the program storage unit 164, the auxiliary storage unit 166, and the interface unit 168 are connected by a bus, allowing various data to be input and output between them.

[0058] Processor 152 executes arithmetic processing instructed by commands written in various programs. Processor 152 controls the operation of the entire learning device 10. Processor 152 is, for example, a CPU (Central Processing Unit). In this embodiment, executing arithmetic processing instructed by commands written in a program may be referred to as "executing a program" or the like.

[0059] The operation input unit 158 ​​can accept operations by a user, generates an operation signal in response to the accepted operation, and outputs it to the processor 152. Various types of operation information are specified by the operation signal. The operation input unit 158 ​​may have general-purpose members such as a mouse, a touch sensor, or a keyboard, or may have dedicated members such as a button or a dial.

[0060] The display unit 160 displays a display screen according to the input display data. The display unit 160 may be any of a liquid crystal display, an organic electroluminescence display, and the like.

[0061] The main memory 162 is a writable memory that is used as a read area for an execution program of the processor 152 or as a work area for writing processing data for the execution program. The main memory 162 includes, for example, a RAM (Random Access Memory).

[0062] The program storage unit 164 stores system firmware such as a Basic Input Output System (BIOS), firmware for various devices, other programs, and setting information required to execute these programs. The program storage unit 164 includes, for example, a Read Only Memory (ROM).

[0063] The auxiliary storage unit 166 permanently stores various data and programs in a rewritable manner. The auxiliary storage unit 166 may be, for example, a hard disk drive (HDD: Hard-Disk Drive) or a solid-state storage device (SSD: Solid State Drive).

[0064] The interface unit 168 is connected to other devices via a network in a wired or wireless manner so as to input and output various types of data. The interface unit 168 includes one or both of an input / output interface and a communication interface.

[0065] The processor 152 and main memory 162 correspond to the minimum hardware used to realize the computer system of the learning device 10. The processor 152 cooperates with the main memory 162 and other hardware to execute a predetermined program, thereby mainly realizing the functions of the calculation processing unit 120. The main memory 162, the program storage unit 164, and the auxiliary storage unit 166 realize the main functions of the storage unit 140. The interface unit 168 realizes the main functions of the input / output unit 150.

[0066] <Processing flow> The following describes the processing flow of the learning device 10. Fig. 5 is a flowchart showing an example of the processing flow of the learning device according to this embodiment. The processing shown in Fig. 5 is started, for example, when a user inputs an instruction to start the learning process via the operation input unit 158 ​​of the learning device 10.

[0067] First, the acquiring unit 122 acquires product data from an external device such as a product database (step S101). Alternatively, the product data may be stored in a removable storage medium such as a USB, DVD, or CD-ROM, and the acquiring unit 122 may acquire the product data by mounting the storage medium in a drive device provided in the learning device 10. This product data includes multiple data sets, which are pairs of explanatory variables indicating the material or design details of the product and objective variables indicating the performance of the product.

[0068] Next, the classification unit 124 performs classification processing based on the product type on each data set included in the acquired product data, and generates learning source data OD, which is a classified data set (step S103). The classification unit 124 performs classification processing, for example, by assigning a classification (e.g., sample name) based on the product type to each data set. The classification unit 124 stores the generated learning source data in the storage unit 140. The sample name has, for example, a format of "type number_serial number".

[0069] Next, the distribution unit 126 distributes the learning source data OD into the training data TD and the validation data ID based on the classification (e.g., sample name) assigned to the learning source data OD (step S105). The distribution unit 126 distributes (evenly distributes) the learning source data OD into the training data TD and the validation data ID based on the classification so as to maintain the ratio of data sets for each product type in the learning source data OD. The distribution unit 126 stores the distributed training data TD and validation data ID in the storage unit 140.

[0070] Next, the model learning unit 128 performs a learning process using the training data TD to generate a machine learning model (step S107). The model learning unit 128 receives explanatory variables of a data set included in the training data TD as input, and performs a learning process so that an evaluation value of a predetermined loss function indicating the magnitude of the difference between a predicted value of a group of objective variables calculated using a learning model and an actual measured value of the objective variables of the data set included in the training data TD decreases for the entire training data TD.

[0071] Next, the verification unit 130 verifies the prediction accuracy of the machine learning model using the validation data ID (step S109). The verification unit 130 performs accuracy verification by comparing a predicted value of the objective variable calculated using the machine learning model with an actual measured value of the objective variable included in the validation data ID. The verification unit 130 calculates the magnitude of the difference between the calculated predicted value and the actual measured value, that is, an index value (score) indicating the prediction accuracy. The verification unit 130 aggregates the calculated index values ​​of the prediction accuracy, and generates prediction accuracy information indicating the aggregated prediction accuracy. The verification unit 130 uses, for example, the coefficient of determination (R 2 ), mean squared error (MSE), root mean squared error (RMSE), mean absolute error (MAE), mean absolute percentage error (MAPE), adjusted mean absolute percentage error (SMAPE), maximum error ratio (MER), or any other statistic may be used.

[0072] Next, the display control unit 132 displays prediction accuracy information, which is a verification result, on the display unit 160 (step S111). FIG. 6 is a diagram showing an example of the verification result (prediction accuracy information) according to the present embodiment. In FIG. 6, the correspondence between the predicted value of the objective variable calculated using the machine learning model and the actual measured value of the objective variable included in the verification data ID is shown for each product type. The closer the plot is to the "prediction-actual agreement line" where the predicted value and the actual measured value match, the higher the prediction accuracy is. (a) Overall trend (yy-plot) of FIG. 6 shows the entire predicted value and the actual measured value. On the other hand, (b) Partial trend (yy-plot) of FIG. 6 shows a partial range of the predicted value and the actual measured value (for example, the range of values ​​from 0 to 10 of the predicted value and the actual measured value in (a) of FIG. 6). By checking such a verification result (prediction accuracy information) displayed on the display unit 160, the user can check the degree of agreement between the predicted value and the actual measured value for each product type and verify the accuracy of the machine learning model.

[0073] FIG. 7 is a diagram showing another example of the verification result (prediction accuracy information) according to the present embodiment. FIG. 7 shows index values ​​(statistical indexes) calculated using predicted values ​​and actual measured values. In FIG. 7, the adjusted mean absolute error rate (SMAPE) result is shown as the index value (method) for all data of the verification data ID, and the maximum error ratio (MER) result is shown as the index value (method) for individual data for each product type of the verification data ID. By checking such verification results (prediction accuracy information) displayed on the display unit 160, the user can check the degree to which the predicted value and the actual measured value match for each product type and verify the accuracy of the machine learning model. Note that the user can freely change the index value (type of statistical index) to be calculated by inputting an instruction via the operation input unit 158. With the above, the processing of this flowchart is completed.

[0074] As described above, the learning device 10 according to the present embodiment includes a classification unit 124 that classifies product data including a plurality of data sets, each of which is a pair of explanatory variables indicating the material or design of a product and a target variable indicating the performance of the product, into a predetermined classification to generate learning source data OD, a distribution unit 126 that distributes the learning source data OD into training data TD and verification data ID, a model learning unit 128 that generates a machine learning model based on the training data TD, and a verification unit 130 that compares the target variable included in the verification data ID with the target variable predicted by the machine learning model based on the explanatory variables of the verification data, and the distribution unit 126 distributes the learning source data so that the proportion of the data sets for each classification in the learning source data OD corresponds to the proportion of the data sets for each classification in the training data TD and the proportion of the data sets for each classification in the verification data ID, thereby appropriately generating and verifying a machine learning model that predicts the performance of multiple types of products. In particular, it is possible to suppress overlearning for each of the multiple types of products and prevent accuracy verification from being performed with biased data.

[0075] Although one embodiment of the present invention has been described in detail above with reference to the drawings, the specific configuration is not limited to the above, and various design changes, etc. are possible within the scope that does not deviate from the gist of the present invention. [Explanation of symbols]

[0076] 10...Learning device, 120...Calculation processing unit, 122...Acquisition unit, 124...Classification unit, 126...Distribution unit, 128...Model learning unit, 130...Verification unit, 132...Display control unit, 140...Memory unit, 150...Input / output unit, 152...Processor, 158...Operation input unit, 160...Display unit, 162...Main memory, 164...Program memory unit, 166...Auxiliary memory unit, 168...Interface unit

Claims

1. a classification unit that classifies product data including a plurality of data sets each being a pair of explanatory variables indicating materials or design items of a product and a target variable indicating performance of the product, into a predetermined classification, to generate learning source data; A distribution unit that distributes the learning source data into training data and validation data; A model learning unit that generates a machine learning model based on the training data; a verification unit that compares a response variable included in the verification data with a response variable predicted by the machine learning model based on explanatory variables of the verification data; Equipped with the distribution unit distributes the learning source data such that a ratio of the data set for each classification in the learning source data corresponds to a ratio of the data set for each classification in the training data and a ratio of the data set for each classification in the validation data. Learning device.

2. The verification unit performs both a first verification on all data sets included in the verification data and a second verification on the data sets for each of the classifications in the verification data. The learning device according to claim 1 .

3. the verification unit performs the first verification and the second verification using index values ​​different from each other; The learning device according to claim 2 .

4. the distribution unit distributes the learning source data such that a ratio of the data set for each classification in the learning source data is equal to a ratio of the data set for each classification in the training data and a ratio of the data set for each classification in the validation data. The learning device according to claim 1 .

5. The distribution unit distributes the data set for each classification in the learning source data to the training data and the validation data in a predetermined ratio. The learning device according to claim 1 .

6. The classification unit classifies the product data into categories determined according to the intended use of the product. A learning device according to any one of claims 1 to 5.

7. The classification unit classifies the product data into categories determined according to the shape of the product. A learning device according to any one of claims 1 to 5.

8. The classification unit classifies the product data into categories defined according to a manufacturing method of the product. A learning device according to any one of claims 1 to 5.

9. The verification unit calculates a plurality of types of index values ​​using a response variable included in the verification data and a response variable predicted by the machine learning model. A learning device according to any one of claims 1 to 5.

10. a display control unit that displays a verification result of the first verification and a verification result of the second verification on a display unit; The learning device according to claim 2 or 3.

11. The product is a battery. A learning device according to any one of claims 1 to 5.

12. The computer classifying product data including a plurality of data sets each of which is a pair of explanatory variables indicating the material or design details of a product and a target variable indicating the performance of the product, into a predetermined classification to generate learning source data; Distributing the learning source data into training data and validation data; generating a machine learning model based on the training data; comparing a response variable included in the validation data with a response variable predicted by the machine learning model based on explanatory variables of the validation data; A learning method comprising: distributing the learning source data such that a ratio of the data sets for each classification in the learning source data corresponds to a ratio of the data sets for each classification in the training data and a ratio of the data sets for each classification in the validation data; How to learn.

13. On the computer, classifying product data including a plurality of data sets each being a pair of explanatory variables indicating the material or design details of a product and a target variable indicating the performance of the product, into a predetermined classification to generate learning source data; The learning source data is divided into training data and validation data; generating a machine learning model based on the training data; comparing a response variable included in the validation data with a response variable predicted by the machine learning model based on explanatory variables of the validation data; There is a program, distributing the original learning data such that a ratio of the data sets for each classification in the original learning data corresponds to a ratio of the data sets for each classification in the training data and a ratio of the data sets for each classification in the validation data; program.

Citation Information

Patent Citations

  • Method and device for predicting performance of lithium ion secondary battery

    JP2022123349A

  • Test and training data

    US20210241038A1

  • Multiple regression analysis device and multiple regression analysis method

    JP2020057261A

Cited By

  • Electronic device for distributing datasets for lightweight artificial intelligence model based on on-device

    KR102931390B1