Learning apparatus, learning method, and storage medium

Generating machine learning models by classifying and allocating product data solves the problem of performance prediction and verification of multiple product categories, achieving accuracy verification across multiple product categories and individual product categories, ensuring the accuracy and coverage of the model.

CN118674061APending Publication Date: 2024-09-20HONDA MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410186370.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-03-20
Filing Date
2024-02-19
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

When a machine learning model is used in the design of multiple different product categories, it is critical whether the training data contains data of the target product category, and the prediction accuracy of the model needs to be verified. Existing technology is difficult to effectively handle across multiple product categories and individual product categories. Verification of prediction accuracy.

Method used

Generate learning original data by classifying product data, distribute it to training data and verification data, and generate a machine learning model based on the training data. Use the verification data to verify the prediction accuracy of the model. Allocate data in a proportional manner to ensure that the verification of the model covers a variety of Forecast accuracy for product categories and individual product categories.

Benefits of technology

It realizes the generation and verification of multiple product performance prediction models, can simultaneously evaluate the prediction accuracy across multiple product categories and individual product categories, ensures the macro and micro accuracy of the model, and provides overall and individual evaluation indicators to ensure accurate verification of the model. sex.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118674061A
    Figure CN118674061A
Patent Text Reader

Abstract

Provided are a learning device, a learning method, and a storage medium capable of appropriately performing generation and verification of a machine learning model that predicts the performance of a plurality of types of products. The learning device includes: a classification unit that classifies, for each predetermined classification, product data including a plurality of data sets as a group formed by an explanation variable indicating a material or a design event of a product and a target variable indicating a performance of the product, and generates learning raw data; an allocation unit that allocates the learning raw data to the training data and the verification data; a model learning unit that generates a machine learning model on the basis of the training data; and a verification unit that compares the target variable included in the verification data with a target variable predicted by the machine learning model on the basis of the explanation variable of the verification data. The allocation unit allocates the learning raw data such that the proportion of the data set for each classification in the learning raw data corresponds to the proportion of the data set for each classification in the training data and the proportion of the data set for each classification in the verification data.
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 storage medium. Background Art

[0002] Machine learning refers to the use of training data related to known cases to discover the relationship between the factors and results of the case. Machine learning can be understood as data processing used to use a computer to find a mathematical model that represents the following relationship, the relationship is the relationship between the explanatory variables representing the factors and the target variables representing the results. The learned mathematical model (sometimes called "machine learning model", "learning model", "model", etc.) is used to predict its results based on unknown factors.

[0003] Machine learning is applied to a variety of fields, such as product design. In product design, a model is learned that is used to predict using specifications of components, materials, etc. as explanatory variables and expected performance based on the specifications as target variables. Japanese Patent Publication No. 2020-57261 describes a multivariate regression analysis device that performs multivariate regression analysis on multiple data sets consisting of multiple explanatory variables and target variables. Summary of the invention

[0004] Problems 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 whether the training data contains comprehensive data on the target product types. Furthermore, verification data is used to verify the prediction accuracy of the machine learning model after learning, but the verification data must also contain comprehensive data on the target product types in order to accurately verify it. In addition, in addition to the prediction accuracy from the perspective of multiple different product types, it is also necessary to verify the individual prediction accuracy of each product type.

[0006] The implementation mode of the present application is completed in view of the above-mentioned points, and its subject is to provide a learning device, a learning method and a storage medium that can appropriately execute the generation and verification of machine learning models for performance prediction of various products.

[0007] Solutions to Solve Problems

[0008] The learning device, learning method, and storage medium according to the present invention employ the following structures.

[0009] (1) A learning device according to one embodiment of the present invention comprises: a classification unit, which classifies product data into each specified classification to generate learning raw data, wherein the product data includes a plurality of data sets formed by a group of explanatory variables representing materials or design matters of the product and target variables representing performance of the product; an allocation unit, which allocates the learning raw data to training data and verification data; a model learning unit, which generates a machine learning model based on the training data; and a verification unit, which compares the target variable included in the verification data with the target variable predicted by the machine learning model based on the explanatory variables of the verification data, the allocation unit allocating the learning raw data in such a manner that the ratio of each of the classified data sets in the learning raw data corresponds to the ratio of each of the classified data sets in the training data and the ratio of each of the classified data sets in the verification data.

[0010] According to the aspect (2), based on 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 each of the classified data sets in the verification data.

[0011] According to a third aspect, in the learning device according to the second aspect, the verification unit performs the first verification and the second verification using different index values.

[0012] The scheme (4) is based on the learning device involved in the scheme (1) above, wherein the allocation unit allocates the learning original data in such a manner that the proportion of each of the classified data sets in the learning original data is equal to the proportion of each of the classified data sets in the training data and the proportion of each of the classified data sets in the verification data.

[0013] According to a fifth aspect, in the learning device according to the first aspect, the allocating unit allocates the data sets of each of the categories in the original learning data to the training data and the verification data at a predetermined ratio.

[0014] According to a sixth aspect, in the learning device according to any one of the above-mentioned aspects (1) to (5), the classification unit classifies the product data for each classification set according to the purpose of the product.

[0015] According to a seventh aspect, in the learning device according to any one of the above-mentioned aspects (1) to (5), the classification unit classifies the product data for each classification set according to the shape of the product.

[0016] According to an aspect (8), in the learning device according to any one of aspects (1) to (5), the classification unit classifies the product data for each classification set according to a manufacturing method of the product.

[0017] According to scheme (9), based on the learning device involved in any one of schemes (1) to (5) above, the verification unit uses the target variable contained in the verification data and the target variable predicted by the machine learning model to calculate multiple indicator values.

[0018] According to a tenth aspect, in the learning device according to the above-mentioned (2) or (3), the learning device further includes a display control unit configured to display a verification result of the first verification and a verification result of the second verification on a display unit.

[0019] According to an 11th aspect, in the learning device according to any one of the above-mentioned 1st to 5th aspects, the product is a battery.

[0020] (12) A learning method according to another embodiment of the present invention enables a computer to perform the following processing: classify product data into each specified classification to generate learning raw data, wherein the product data includes a plurality of data sets formed by a group of explanatory variables representing the material or design matters of the product and a target variable representing the performance of the product; allocate the learning raw data to training data and verification data; generate a machine learning model based on the training data; compare the target variable included in the verification data with the target variable predicted by the machine learning model based on the explanatory variables of the verification data; and allocate the learning raw data in a manner that the ratio of each of the classified data sets in the learning raw data corresponds to the ratio of each of the classified data sets in the training data and the ratio of each of the classified data sets in the verification data.

[0021] (13) A storage medium of another embodiment of the present invention stores a program, wherein the program causes a computer to perform the following processing: classify product data according to each specified classification to generate learning raw data, the product data including a plurality of data sets formed by a group of explanatory variables representing materials or design matters of the product and target variables representing performance of the product; allocate the learning raw data to training data and verification data; generate a machine learning model based on the training data; compare the target variable included in the verification data with the target variable predicted by the machine learning model based on the explanatory variables of the verification data; and allocate the learning raw data in a manner that the ratio of each of the classified data sets in the learning raw data corresponds to the ratio of each of the classified data sets in the training data and the ratio of each of the classified data sets in the verification data.

[0022] Effects of the Invention

[0023] According to the above-mentioned structures (1) to (13), it is possible to appropriately implement the generation and verification of machine learning models for predicting the performance of various products.

[0024] In addition, according to the structures of (2), (3), (9) and (10) above, in addition to the prediction accuracy (overall evaluation) from the perspective of multiple different product categories, the prediction accuracy (individual evaluation) of each product category can also be verified. By simultaneously grasping the accuracy of the correlation across multiple product categories and the correlation accuracy of each individual product category, the macro accuracy and each micro accuracy of the machine learning model can be determined. Moreover, by using appropriate evaluation indicators based on multiple evaluation index values ​​according to the respective situations of the overall evaluation and the individual evaluation, the verification of the machine learning model can be appropriately implemented. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] Figure 1 This is a schematic block diagram showing a configuration example of a learning device according to the present embodiment.

[0026] Figure 2 This is a diagram for explaining how the original learning data OD is allocated to the training data TD and the verification data ID according to the present embodiment.

[0027] Figure 3 It is a diagram for explaining the data structure (number of data) of the original learning data OD, the training data TD, and the verification data ID according to the present embodiment.

[0028] Figure 4 This is a schematic block diagram showing a hardware configuration example of a learning device according to the present embodiment.

[0029] Figure 5This is a flowchart showing an example of the flow of processing by the learning device according to the present embodiment.

[0030] Figure 6 This is a diagram showing an example of the verification result (prediction accuracy information) involved in this embodiment.

[0031] Figure 7 It is a diagram showing another example of the verification result (prediction accuracy information) involved in this embodiment. DETAILED DESCRIPTION

[0032] A learning device, a learning method, and a storage medium according to embodiments of the present application will be described with reference to the accompanying drawings.

[0033] <Structure of the learning device 10>

[0034] Figure 1 1 is a schematic block diagram showing a structural example of the learning device 10 involved in the present embodiment. The learning device 10 generates a machine learning model, which can infer a target variable representing the performance of a product based on an explanatory variable group including multiple types of explanatory variables representing the material or design matters of the product, and can derive the correlation between the explanatory variables and the target variable. The learning device 10 uses training data including a data set consisting of an explanatory variable group and measured values ​​of the target variable to perform learning processing. In addition, the learning device 10 uses the verification data and the learned machine learning model to calculate the predicted value of the target variable based on the explanatory variable group, and calculates the prediction accuracy of the calculated predicted value based on the measured value of the target variable.

[0035] The present embodiment can be applied to products that have dependencies on production requirements such as materials or design matters. As such a product, the present embodiment can be applied to batteries (mainly storage batteries that can be repeatedly charged and discharged, also called secondary batteries). In the case where the product to be processed is a battery, part or all of the items such as the material of the electrode (material design) or the blending ratio of multiple types of materials (production technology design), electrode length, electrode thickness (shape) are included in the explanatory variable group. As indicators of performance assigned to the explanatory variable group, for example, capacity, output, cost, etc. are respectively applied as target variables. Capacity is equivalent to the charge discharged from the start of discharge to the end voltage when the output voltage between the two poles is the rated voltage. Output is equivalent to the current or power obtained by discharge when the output voltage is equal to the rated voltage. Cost is the manufacturing cost of the product. In addition to the unit price of each component, the cost may also include various expenses required for processing, circulation, etc.

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

[0037] The acquisition unit 122 acquires product data representing the characteristics of each product. The product data includes data corresponding to a plurality of products. The product data includes a plurality of data sets for each product. Each data set includes production information and performance information. The production information includes one or more variables representing information on one or both of the material and design matters of the product. The performance information includes one or more measured values ​​of the performance of the product produced according to the production information included in the data set shared with the performance information. That is, the product data includes a plurality of data sets formed by a group of explanatory variables representing the material or design matters of the product and target variables representing the performance of the product.

[0038] The acquisition unit 122 acquires the product data from, for example, a predetermined external device. The external device is, for example, a database storing the product data, a server device, a personal computer, a dedicated measuring instrument, etc. The acquisition unit 122 may also acquire the product data input by the user via the operation input unit 158 ​​described later. Alternatively, the product data is 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 attaching the storage medium to a drive device provided in the learning device 10.

[0039] The classification unit 124 classifies the acquired product data according to each specified classification (product type) to generate the learning raw data OD. The classification unit 124 saves the generated learning raw data OD in the storage unit 140. The product type is, for example, a classification set according to the purpose of products for smartphones, products for vehicles, products for small devices, etc. Alternatively, the product type is, for example, a classification set according to the manufacturing method of mass-produced products, trial products, recycled products obtained by disassembling other devices, etc. In addition, the product type can also be a classification set according to shapes such as square, cylindrical, and stacked. The product type is not limited to the above content, and any classification can be set according to the purpose. The product data acquired by the acquisition unit 122 contains information indicating the product type. The classification unit 124, for example, assigns a classification (such as a sample name) based on the product type to each data set contained in the acquired product data, thereby performing classification processing.

[0040] The allocating unit 126 allocates the original learning data OD to the training data and the verification data based on the classification given to the original learning data OD. The allocating unit 126 stores the allocated training data and verification data in the storage unit 140 . Figure 21 is a diagram for explaining the allocation of the original learning data OD to the training data TD and the verification data ID according to the present embodiment. Figure 2 As shown in FIG. 1 , in the learning raw data OD, for each sample name (classification), an item that becomes an explanatory variable and an item that becomes a target variable are associated. For example, the sample name has the form of “type number_continuous number”. That is, Figure 3 In the example, a data set with a sample name in the form of "1_" corresponds to product type 1, a data set in the form of "2_" corresponds to product type 2, and a data set in the form of "n_" corresponds to product type n.

[0041] Figure 3 1 is a diagram illustrating the data structure (number of data) of the original learning data OD, the training data TD, and the verification data ID involved in this embodiment. Figure 3 As shown, the allocation unit 126 allocates (equally allocates) the learning original data OD to the training data TD and the verification data ID based on the sample name (classification) in a manner that maintains the ratio of the data set for each product type in the learning original data OD. That is, the ratio of the seven data numbers of product type 1 (4), product type 2 (52), product type 3 (22), product type 4 (185), product type 5 (60), product type 6 (75), and product type 7 (112) in the learning original data OD is the same as the ratio of these seven data numbers in the training data TD and the ratio of these seven data numbers in the verification data ID. It should be noted that the data set for each product type in the learning original data OD is allocated to the training data TD and the verification data ID in a specified ratio. Figure 3 In the example shown, the number of training data TD and the number of verification data ID are distributed in a ratio of approximately "4:1" for each product type. This prescribed ratio is arbitrary. It should be noted that, in the case where the number of data sets is small and the prescribed ratio cannot be fully distributed, the number of distributions is appropriately determined in a manner close to the ratio. That is, the distribution unit 126 distributes the learning original data OD in such a manner that the ratio of the data set of each category in the learning original data OD corresponds to the ratio of the data set of each category in the training data TD and the ratio of the data set of each category in the verification data ID. In this embodiment, the term "corresponding" includes not only a structure in which the ratio of the data set of each category in the learning original data OD is equal to the ratio of the data set of each category in the training data TD and the ratio of the data set of each category in the verification data ID, but also a structure in which the two are approximately equal.

[0042] return Figure 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 performs a learning process in a manner that reduces the evaluation value of a prescribed loss function as the entire training data, and the evaluation value of the prescribed loss function represents the size of the difference between the predicted value (model output) of the target variable calculated using the learning model using the explanatory variables of the data set included in the training data TD as input and the actual value of the target variable included in the training data TD. The model learning unit 128 determines whether the learning has converged based on whether the evaluation value of the loss function becomes below a prescribed reference value. When the model learning unit 128 determines that the learning has converged, it stops the learning and stores the learned parameter set (machine learning model) representing the parameter set obtained at that time point in the storage unit 140.

[0043] As the types of machine learning models, for example, they are roughly classified into models involving linear regression and models involving nonlinear regression. Linear regression refers to a statistical method in which a model representing the relationship between a target variable and an explanatory variable is assumed to be a linear prediction function and the relationship is made clear. In the present embodiment, as methods involving linear regression, regression analysis methods such as multivariate regression analysis, ridge regression (Ridge), lasso (LASSO: Least Absolute Shrinkage and Selection Operator) regression, and elastic network (Elastic Net) can be applied. Nonlinear regression refers to a statistical method in which a mathematical model representing the nonlinear relationship between a target variable and an explanatory variable is used to make the relationship clear. As mathematical models involved in nonlinear regression, well-known methods such as support vector machine (SVR: Support Vector Machine), neural network (Neural Network), adaptive enhancement (Adaboost), gradient boosting (Gradient Boosting), and random forest (Random Forest) can be applied.

[0044] 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 the predicted value (model output) of the target variable calculated using the machine learning model with the measured value of the target variable included in the verification data. The verification unit 130 calculates the predicted value of the target variable using the machine learning model according to the explanatory variable group included in the data set for each data set included in the verification data. The verification unit 130 calculates the size of the difference between the calculated predicted value and the measured value, that is, the index value (score) of the prediction accuracy. The verification unit 130 summarizes the calculated index values ​​of the prediction accuracy and generates prediction accuracy information indicating the summarized prediction accuracy.

[0045] The verification unit 130 may use any statistics as indicator values, for example, the coefficient of determination (R2), mean square error (MSE: Mean Square Error), root mean square error (RMSE: Root Mean Square Error), mean absolute error (MAE: Mean Absolute Error), mean absolute error rate (MAPE: Mean Absolute Percentage Error), symmetric mean absolute error rate (SMAPE: Symmetric Mean Absolute Percentage Error), maximum error ratio (MER: Maximum Error Ratio), or the like.

[0046] Coefficient of determination R 2 , mean square error MSE, root mean square error RMSE, mean absolute error MAE, mean absolute error rate MAPE, symmetric mean absolute error rate SMAPE, and maximum error ratio MER are calculated using equations (1), (2), (3), (4), (5), (6), and (7), respectively. In equations (1) to (7), y i Represents the measured value of the target variable in data set i. i ^ represents the predicted value of the target variable in the data set i. n is a predetermined integer greater than or equal to 2 representing the number of data sets used for accuracy verification.

[0047]

Number 1

[0048]

[0049]

Number 2

[0050]

[0051]

Number 3

[0052]

[0053]

Number 4

[0054]

[0055]

Number 5

[0056]

[0057]

Number 6

[0058]

[0059]

Number 7

[0060]

[0061] Coefficient of determination R 2 It is a real value between 0 and 1, and the closer it is to 1, the higher the prediction accuracy. Generally, there is a tendency that the coefficient of determination approaches 1 more as the number of elements of the explanatory variables that are elements of the explanatory variable group increases.

[0062] The mean square 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 square error is easier to express the magnitude of the error as the entire target variable than the mean absolute error.

[0063] RMSE is equivalent to the square root of the mean square error. Compared with the mean square error, the increase in its absolute value is suppressed. RMSE is more commonly used in the prediction evaluation of regression problems.

[0064] The mean absolute error MAE is a positive real value greater than or equal to 0, and the closer it is to 0, the higher the prediction accuracy. The mean absolute error is proportional to the width of the error of each target variable, and therefore tends to be easily affected by the deviation value for each target variable.

[0065] The mean absolute error rate MAPE is a real value greater than 0, and the closer it is to 0%, the higher the prediction accuracy. The mean absolute error rate represents the absolute deviation of the explanatory variables as a whole. The mean absolute error rate is proportional to the ratio of the error of each explanatory variable to the measured value, so there is a tendency to be easily affected by the error rate for each explanatory variable. In addition, the predicted value of each explanatory variable is normalized by dividing it by the measured value, so it cannot be used when the measured value contains zero.

[0066] The symmetric mean absolute error rate SMAPE is a real value greater than 0, and the closer it is to 0%, the higher the prediction accuracy. The symmetric mean absolute error rate is given by using the difference between the absolute value of the measured value and the absolute value of the predicted value instead of the measured value in the mean absolute error rate. Even if the measured value includes zero, the symmetric mean absolute error rate can be used as long as the difference between the absolute value of the measured value and the absolute value of the predicted value is not zero.

[0067] The maximum error ratio MER is a real value greater than 0, and the closer it is to 0%, the higher the prediction accuracy. The maximum error ratio is equivalent to the maximum value of the ratio of the absolute value of the difference between the measured value and the predicted value of each explanatory variable to the absolute value of the measured value. Therefore, it is easy to express the error with respect to a specific explanatory variable.

[0068] Thus, the index value has inherent characteristics. The category of the index value to be calculated may be pre-set for each target variable to be calculated. In addition, the category of the index value to be calculated may be pre-set for each product type (classification) to be calculated.

[0069] The verification unit 130 can calculate multiple index values ​​using the target variable included in the verification data ID and the target variable predicted by the machine learning model. The verification unit 130 can perform both the first verification for all data sets included in the verification data ID and the second verification for each classified data set in the verification data ID. The verification unit 130 can use different index values ​​to perform the first verification and the second verification.

[0070] The display control unit 132 controls the display unit 160 ( Figure 4 ) displays the verification result (prediction accuracy information) input from the verification unit 130. The display control unit 132 generates a display screen by configuring the prediction accuracy information according to a prescribed screen configuration, for example, and outputs display data representing 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. The display control unit 132 generates a prediction accuracy display screen as a display screen representing the prediction accuracy information for each target variable, for example. The display control unit 132 sets the target variable as the display object of the prediction accuracy information in the prediction accuracy display screen according to the operation. The display control unit 132 changes the display object in a prescribed order, for example, each time an operation is detected. The display control unit 132 may also include a selection screen representing a list of candidates as display objects in the display screen and display it, and select the candidate indicated by the operation as the display object. The user can visually confirm the prediction accuracy display screen displayed on the display unit 160 and grasp the prediction accuracy of the learning model that is different for each target variable. The display control unit 132 can cause the display unit 160 to display the verification results of the first verification for all data sets included in the verification data ID and the verification results of the second verification for each classified data set in the verification data ID. In addition, the display control unit 132 causes the display unit 160 to display a GUI (Graphical User Interface) for receiving various input operations from the user.

[0071] The verification unit 130 may also select any one or more types of index values ​​from a plurality of types of index values ​​of prediction accuracy pre-set for each target variable according to an operation. When a plurality of types of index values ​​are applied, the display control unit 132 may change the type of index value of prediction accuracy to be output according to an operation, or may output these types of index values ​​simultaneously.

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

[0073] The input / output unit 150 can input various input data to other devices or output various input data from other devices.

[0074] It should be noted that the display control unit 132 may output various display data to other devices (other display devices, user's terminal device, etc.) via the input / output unit 150 instead of outputting various display data to the display unit 160 .

[0075] Next, a hardware configuration example of the learning device 10 according to the present embodiment will be described. Figure 4 1 is a schematic block diagram showing an example of a hardware configuration of the learning device 10 according to the present 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, and various data can be input and output to each other.

[0076] The processor 152 executes the calculation processing instructed by the commands recorded in various programs. The processor 152 controls the overall operation of the learning device 10. The processor 152 is, for example, a CPU (Central Processing Unit). In this embodiment, sometimes executing the calculation processing instructed by the commands recorded in the program is referred to as "executing the program" or the like.

[0077] The operation input unit 158 ​​can receive an operation from a user, generate an operation signal according to the received operation, and output the operation signal to the processor 152. The operation signal indicates various operation information. The operation input unit 158 ​​may include general components such as a mouse, a touch sensor, and a keyboard, or may include dedicated components such as a button and a dial.

[0078] The display unit 160 displays a display screen according to the input display data. The display unit 160 may be any display such as a liquid crystal display or an organic electroluminescent display.

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

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

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

[0082] The interface unit 168 is connected to other devices via a network by wire or wirelessly so that various data can be input and output. The interface unit 168 includes one or both of an input / output interface and a communication interface.

[0083] The processor 152 and the main memory 162 correspond to the minimum hardware for realizing the computer system of the learning device 10. The processor 152 mainly realizes the functions of the arithmetic processing unit 120 by executing a predetermined program in cooperation with the main memory 162 and other hardware. 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.

[0084] <Processing Flow>

[0085] Next, the processing flow of the learning device 10 will be described. Figure 5 This is a flowchart showing an example of the flow of processing by the learning device according to the present embodiment. Figure 5 The processing shown is started, for example, when the user inputs an instruction to start the learning processing via the operation input unit 158 ​​of the learning device 10 .

[0086] First, the acquisition 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 acquisition unit 122 may acquire the product data by assembling the storage medium in a drive device provided in the learning device 10. The product data includes a plurality of data sets formed of groups of explanatory variables representing the material or design matters of the product and target variables representing the performance of the product.

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

[0088] Next, the allocating unit 126 allocates the learning original data OD to the training data TD and the verification data ID based on the classification (e.g., sample name) assigned to the learning original data OD (step S105). The allocating unit 126 allocates (equally allocates) the learning original data OD to the training data TD and the verification data ID in a manner that maintains the ratio of the data set for each product type in the learning original data OD based on the classification. The allocating unit 126 stores the allocated training data TD and the verification data ID in the storage unit 140.

[0089] Next, the model learning unit 128 performs learning processing using the training data TD to generate a machine learning model (step S107). The model learning unit 128 performs learning processing in a manner that the evaluation value of a predetermined loss function is reduced as the entire training data TD, and the evaluation value of the predetermined loss function represents the magnitude of the difference between the predicted value of the target variable group calculated using the learning model with the explanatory variables of the data set included in the training data TD as input and the actual measured value of the target variable of the data set included in the training data TD.

[0090] Next, the verification unit 130 uses the verification data ID to verify the prediction accuracy of the machine learning model (step S109). The verification unit 130 performs accuracy verification by comparing the predicted value of the target variable calculated using the machine learning model with the actual value of the target variable included in the verification data ID. The verification unit 130 calculates the size of the difference between the calculated predicted value and the actual value, that is, the index value (score) representing the prediction accuracy. The verification unit 130 summarizes the calculated index values ​​of the prediction accuracy and generates prediction accuracy information representing the summarized prediction accuracy. The verification unit 130 may also use, for example, the coefficient of determination (R 2 ), mean square error (MSE), root mean square error (RMSE), mean absolute error (MAE), mean absolute error rate (MAPE), symmetric mean absolute error rate (SMAPE), maximum error ratio (MER), and other arbitrary statistics.

[0091] Next, the display control unit 132 causes the display unit 160 to display prediction accuracy information as the verification result (step S111 ). Figure 6: is a diagram showing an example of the verification result (prediction accuracy information) involved in this embodiment. Figure 6 In the figure, the correspondence between the predicted value of the target variable calculated using the machine learning model and the measured value of the target variable contained in the verification data ID is shown for each product type. The closer the composition is to the "predicted-actual consistency line" where the predicted value and the measured value are consistent, the higher the prediction accuracy. Figure 6 (a) The overall trend (yy-plot) shows the overall predicted values ​​and measured values. On the other hand, Figure 6 (b) Partial trend (yy-plot) shows the range of a part of the predicted value and the measured value (for example Figure 6 (a) The predicted value and the actual value are in the range of 0 to 10). By confirming such verification results (prediction accuracy information) displayed on the display unit 160, the user can confirm the degree of consistency between the predicted value and the actual value for each product type and verify the accuracy of the machine learning model.

[0092] in addition, Figure 7 FIG. 4 is a diagram showing another example of the verification result (prediction accuracy information) involved in this embodiment. Figure 7 In , the index values ​​(statistical indexes) calculated using the predicted values ​​and the measured values ​​are shown. Figure 7 For all the data of the verification data ID, the result of the symmetric mean absolute error rate (SMAPE) is shown as an indicator value (method), and for the individual data of each product type of the verification data ID, the result of the maximum error ratio (MER) is shown as an indicator value (method). By confirming such verification results (forecast accuracy information) displayed on the display unit 160, the user can confirm the degree of consistency between the predicted value and the measured value for each product type and verify the accuracy of the machine learning model. It should be noted that the user can freely change the indicator value (type of statistical indicator) of the calculated object by inputting instructions via the operation input unit 158. Based on the above, the processing of this flowchart is completed.

[0093] As described above, the learning device 10 according to the present embodiment includes: a classification unit 124 that classifies product data into each predetermined classification to generate learning raw data OD, the product data including a plurality of data sets formed of a group consisting of an explanatory variable representing a material or design matter of a product and a target variable representing the performance of the product; an allocation unit 126 that allocates the learning raw data OD to 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 variable of the verification data, the allocation unit 126 allocates the learning raw data in such a manner that the ratio of the data set of each classification in the learning raw data OD corresponds to the ratio of the data set of each classification in the training data TD and the ratio of the data set of each classification in the verification data ID, thereby appropriately performing generation and verification of a machine learning model for predicting the performance of a plurality of products. In particular, it is possible to suppress over-learning of each of the plurality of products and prevent accuracy verification with biased distribution data.

[0094] As mentioned above, one embodiment of the present invention has been described in detail with reference to the drawings, but the specific configuration is not limited to the above configuration, and various design changes and the like can be made within the scope not departing from the gist of the present invention.

Claims

1. A learning device, wherein: The learning device comprises: a classifier that classifies product data into predetermined categories to generate raw learning data, the product data including a plurality of data sets that are sets of explanatory variables representing materials or design matters of the product and target variables representing performance of the product; A distribution unit that distributes the original learning data to training data and verification data; A model learning unit, which generates a machine learning model based on the training data; as well as a verification unit that compares the target variable included in the verification data with the target variable predicted by the machine learning model based on the explanatory variable of the verification data, The allocating unit allocates the learning raw data in such a manner that the ratio of the data set of each classification in the learning raw data corresponds to the ratio of the data set of each classification in the training data and the ratio of the data set of each classification in the verification data.

2. The learning device according to claim 1, wherein: 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 of each classification in the verification data.

3. The learning device according to claim 2, wherein: The verification unit performs the first verification and the second verification using different index values.

4. The learning device according to claim 1, wherein: The allocating unit allocates the learning raw data in such a manner that the ratio of the data set of each classification in the learning raw data is equal to the ratio of the data set of each classification in the training data and the ratio of the data set of each classification in the verification data.

5. The learning device according to claim 1, wherein: The allocating unit allocates the data sets of each of the categories in the raw learning data to the training data and the verification data at a predetermined ratio.

6. The learning device according to any one of claims 1 to 5, wherein: The classification unit classifies the product data for each classification set according to the purpose of the product.

7. The learning device according to any one of claims 1 to 5, wherein: The classification unit classifies the product data for each classification set according to the shape of the product.

8. The learning device according to any one of claims 1 to 5, wherein: The classification unit classifies the product data for each classification set according to a manufacturing method of the product.

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

10. The learning device according to claim 2 or 3, wherein: The learning device further includes a display control unit configured to display a verification result of the first verification and a verification result of the second verification on a display unit.

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

12. A learning method, wherein: The learning method enables the computer to perform the following processing: generating raw learning data by classifying product data into each predetermined classification, the product data including a plurality of data sets which are sets of explanatory variables representing materials or design matters of the product and target variables representing performance of the product; Allocating the learning raw data to training data and verification data; generating a machine learning model based on the training data; Comparing the target variable included in the validation data with the target variable predicted by the machine learning model based on the explanatory variables of the validation data; as well as The learning raw data is distributed in such a manner that the proportion of each of the classified data sets in the learning raw data corresponds to the proportion of each of the classified data sets in the training data and the proportion of each of the classified data sets in the verification data.

13. A storage medium storing a program, wherein: The program causes the computer to perform the following processing: generating raw learning data by classifying product data into each predetermined classification, the product data including a plurality of data sets which are sets of explanatory variables representing materials or design matters of the product and target variables representing performance of the product; Allocating the learning raw data to training data and verification data; generating a machine learning model based on the training data; Comparing the target variable included in the validation data with the target variable predicted by the machine learning model based on the explanatory variables of the validation data; as well as The learning raw data is distributed in such a manner that the proportion of each of the classified data sets in the learning raw data corresponds to the proportion of each of the classified data sets in the training data and the proportion of each of the classified data sets in the verification data.