Hyperparameter tuning method, program, user program, device, method

The hyperparameter tuning method integrates hyperparameter requests within the user program, addressing maintainability and branching issues, enhancing user convenience and effectiveness in setting hyperparameters.

JP7552996B2Active Publication Date: 2024-09-18PREFERRED NETWORKS INC
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2023101841
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Filing Date
2023-06-21
Publication Date
2024-09-18
Estimated Expiration
2038-10-09

AI Technical Summary

Technical Problem

Existing hyperparameter tuning software separates the definition of hyperparameters from the user program, making it difficult for users to maintain the program and lacks the ability to handle conditional branching and modularize source code related to hyperparameter tuning.

Method used

A hyperparameter tuning method that integrates hyperparameter acquisition requests within the user program, allowing for conditional branching and modularization, using a define-by-run approach to set hyperparameters based on application history and evaluation results.

Benefits of technology

Improves user convenience and maintainability by allowing hyperparameter tuning to be integrated within the user program, enabling conditional branching and modularization, thus facilitating more effective hyperparameter setting.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007552996000001
    Figure 0007552996000001
  • Figure 0007552996000004
    Figure 0007552996000004
  • Figure 0007552996000006
    Figure 0007552996000006
Patent Text Reader

Abstract

To provide a hyper parameter tuning method for improving the convenience of programming by a user.SOLUTION: One embodiment of the present disclosure is a hyper parameter tuning method that comprises steps performed by a processor. The hyper parameter tuning method comprises steps of: receiving a hyper parameter acquisition request generated according to a hyper parameter acquisition code that is described in a user program; providing hyper parameters to the user program based on application histories of the hyper parameters to the user program; and acquiring an evaluation result of the user program to which the hyper parameters are applied.SELECTED DRAWING: Figure 3
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to information processing technology. [Background technology]

[0002] When a program is executed, parameters that define the program's operating conditions are often set from the outside. The execution results and performance of the program are affected by the values ​​set for the parameters, so it is necessary to set the parameters appropriately. Such parameters that are set from the outside are sometimes called hyperparameters to distinguish them from parameters that are set or updated within the program.

[0003] For example, in machine learning such as deep learning, parameters of a machine learning model that characterize a problem to be learned are learned based on a learning algorithm. Meanwhile, in addition to such parameters of the learning target, hyperparameters are set when selecting a machine learning model or executing a learning algorithm. Specific examples of hyperparameters for machine learning include parameters used for a specific machine learning model (e.g., learning rate, learning period, noise rate, weight decay coefficient, etc. in a neural network), and also, when several machine learning models are used, the type of machine learning model and parameters for constructing each type of machine learning model (e.g., the number of layers in a neural network, the tree depth in a decision tree, etc.). By setting appropriate hyperparameters, it is possible to improve prediction performance, generalization performance, learning efficiency, etc.

[0004] In general, hyperparameters are manually set by a user or automatically set by hyperparameter tuning software, etc. For example, known examples of hyperparameter tuning software include HyperOpt, SigOpt, Vizier, MOE, MetaOpt, SMAC, and Spearmint. [Prior art documents] [Patent documents]

[0005] [Patent Document 1] JP 2017-49677 A [Patent Document 2] JP 2017-228068 A Summary of the Invention [Problem to be solved by the invention]

[0006] According to the existing hyperparameter tuning software as described above, a user defines in advance in the hyperparameter tuning software the hyperparameters to be tuned and the value ranges of each hyperparameter. Based on the hyperparameters and the value ranges of each hyperparameter defined by the user, the hyperparameter tuning software sets the values ​​of the hyperparameters defined in the hyperparameter tuning software in a user program for training a machine learning model written using a machine learning library such as Chainer or TensorFlow, and the machine learning model is trained according to the set hyperparameters.

[0007] However, in existing hyperparameter tuning software, the hyperparameters to be tuned are defined in a location different from the user program that performs training of the machine learning model, etc., and the set hyperparameters are used by the user program that performs training of the machine learning model, etc. In other words, the program in which the hyperparameters are defined and the program that uses the hyperparameters are separated, which can make it difficult for users to maintain the program.

[0008] In addition, when a type of machine learning model such as a neural network or a decision tree is set as a hyperparameter by the hyperparameter tuning software, other hyperparameters need to be set according to the set machine learning model. For example, a weight decay coefficient and a dropout rate are used as hyperparameters when a neural network is set, but are not used as hyperparameters when a decision tree is set. In this way, other hyperparameters to be set change depending on the set value of a specific hyperparameter, but existing hyperparameter tuning software cannot handle the setting of hyperparameters using a control structure that enables such conditional branching. In addition, existing hyperparameter tuning software cannot modularize source code related to tuning of hyperparameters.

[0009] In view of the above-mentioned problems, an object of the present disclosure is to provide a hyperparameter tuning method that improves the convenience of programming for users. [Means for solving the problem]

[0010] In order to solve the above problems, one aspect of the present disclosure is to A method for tuning a hyperparameter applied to a user program, executed by a processor, comprising the steps of receiving an acquisition request for a first hyperparameter applied to the user program, and providing a value of the first hyperparameter related to the acquisition request in response to receiving the acquisition request, wherein the user program defines a function that is repeated a number of trials, the function acquires a predetermined object that provides a method for generating an acquisition request for a hyperparameter, generates an acquisition request for the first hyperparameter using the acquired method of the predetermined object, and sets as a return value an evaluation result related to application of the first hyperparameter to a value provided based on the acquisition request, and the providing step determines the value of the first hyperparameter to be provided in a current trial based on the return value of the function acquired in a past trial. . Effect of the Invention

[0011] According to the present disclosure, it is possible to provide a hyperparameter tuning method that improves the convenience of programming for users. [Brief description of the drawings]

[0012] [Figure 1] FIG. 1 is a schematic diagram illustrating hyperparameter setting by a define-by-run method according to the present disclosure. [Diagram 2] FIG. 2 is a block diagram showing a hardware configuration of a hyperparameter tuning device according to an embodiment of the present disclosure. [Diagram 3]1 is a flowchart illustrating a hyperparameter tuning process according to an embodiment of the present disclosure. [Figure 4] FIG. 11 is a sequence diagram illustrating a hyperparameter tuning process according to an embodiment of the present disclosure. [Diagram 5] FIG. 1 illustrates a hyperparameter acquisition code according to an embodiment of the present disclosure. [Figure 6] FIG. 13 illustrates a hyperparameter acquisition code according to another embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0013] In the following embodiments, a hyperparameter tuning device and method for setting hyperparameters used during program execution are disclosed.

[0014] To summarize the present disclosure, a hyperparameter tuning device is realized by a hyperparameter tuning program or software, and upon receiving a hyperparameter acquisition request from a user program, provides hyperparameters to the user program based on the application history of hyperparameters to the user program. Here, the user program generates a hyperparameter acquisition request for acquiring hyperparameters to be acquired in accordance with hyperparameter acquisition code written in the user program, and sequentially requests the hyperparameters to be acquired from the hyperparameter tuning program by the generated hyperparameter acquisition request.

[0015] The following examples focus on hyperparameters used in the learning process of a machine learning model, but the hyperparameters according to the present disclosure are not limited to this and may be any hyperparameter that may affect the execution results and performance of a user program.

[0016] The hyperparameter acquisition code according to the present disclosure can be written using a control structure capable of executing conditional branching such as an if statement or repetitive processing such as a for statement. Specifically, as shown in FIG. 1, the user program 10 first requests the hyperparameter tuning program 20 to provide a "machine learning model type" as a hyperparameter, and in response to the hyperparameter acquisition request from the user program 10, the hyperparameter tuning program 20 returns, for example, "neural network" as the "machine learning model type". When "neural network" is selected as the "machine learning model type", the user program 10 requests various hyperparameters (e.g., the number of layers, learning rate, etc.) required for the "neural network" according to the control structure of the hyperparameter acquisition code. In this way, according to the present disclosure, the hyperparameters are set by a define-by-run method.

[0017] Once the combination of hyperparameters required for the learning process is set, the user program 10 applies the acquired combination of hyperparameters to learn a machine learning model, and provides the accuracy of the learned machine learning model, such as predictive performance, to the hyperparameter tuning program 20. The above-mentioned process is repeated until a predetermined termination condition is satisfied.

[0018] First, a hyperparameter tuning process according to an embodiment of the present disclosure will be described with reference to Figures 2 to 4. In this embodiment, the hyperparameter tuning device 100 executes the process, and more specifically, the processor of the hyperparameter tuning device 100 executes the hyperparameter tuning program 20 to execute the process.

[0019] Here, the hyperparameter tuning device 100 may have a hardware configuration including a processor 101 such as a CPU (Central Processing unit) or a GPU (Graphics Processing Unit), a memory 102 such as a RAM (Random Access Memory) or a flash memory, a hard disk 103, and an input / output (I / O) interface 104, for example, as shown in FIG. 2.

[0020] The processor 101 executes various processes of the hyperparameter tuning device 100 and also executes the user program 10 and / or the hyperparameter tuning program 20.

[0021] Memory 102 stores various data and programs for hyperparameter tuning device 100, together with user program 10 and / or hyperparameter tuning program 20, and functions in particular as a working memory for working data, programs being executed, etc. Specifically, memory 102 stores user program 10 and / or hyperparameter tuning program 20 loaded from hard disk 103, and functions as a working memory while the processor 101 is executing the programs.

[0022] The hard disk 103 stores the user program 10 and / or the hyperparameter tuning program 20 .

[0023] The I / O interface 104 is an interface for inputting and outputting data to and from an external device, and is, for example, a device for inputting and outputting data, such as a USB (Universal Serial Bus), a communication line, a keyboard, a mouse, or a display.

[0024] However, the hyperparameter tuning device 100 according to the present disclosure is not limited to the above-mentioned hardware configuration and may have any other appropriate hardware configuration. For example, a part or all of the hyperparameter tuning process by the above-mentioned hyperparameter tuning device 100 may be realized by a processing circuit or electronic circuit that is wired to realize the process.

[0025] 3 is a flowchart showing a hyperparameter tuning process according to an embodiment of the present disclosure. The hyperparameter tuning process is realized by a hyperparameter tuning device 100 that executes a hyperparameter tuning program 20 when a user program 10 written using a machine learning library such as Chainer or TensorFlow is started.

[0026] As shown in FIG. 3, in step S101, the hyperparameter tuning program 20 receives a hyperparameter acquisition request.

[0027] Specifically, the user program 10 determines the hyperparameters to be acquired in accordance with the hyperparameter acquisition code written in the user program, generates a hyperparameter acquisition request for the hyperparameters, and sends the generated hyperparameter acquisition request to the hyperparameter tuning program 20, and the hyperparameter tuning program 20 receives the hyperparameter acquisition request from the user program 10.

[0028] In one embodiment, the hyperparameter acquisition code may be written using a control structure that is composed of, for example, a sequential structure, a selection structure, and / or an iterative structure. Specifically, the hyperparameter acquisition code may be written using an if statement, a for statement, or the like. For example, when the hyperparameter tuning program 20 sets the "machine learning model type" as a hyperparameter to "neural network", the user program 10 determines the hyperparameters specific to the "neural network" (e.g., the number of layers, the number of nodes in the layer, the weight decay coefficient, etc.) as the hyperparameters to be acquired next according to the control structure of the hyperparameter acquisition code. Alternatively, when the hyperparameter tuning program 20 sets the "machine learning model type" as a hyperparameter to "decision tree", the user program 10 determines the hyperparameters specific to the "decision tree" (e.g., the depth of the tree, the number of edges branching from a node, etc.) as the hyperparameters to be acquired next according to the control structure of the hyperparameter acquisition code. In this way, the user program 10 can determine the hyperparameters to be acquired next according to the control structure described in the user program 10, and generate a hyperparameter acquisition request for the determined hyperparameters.

[0029] In step S102, the hyperparameter tuning program 20 provides hyperparameters based on the application history of the hyperparameters.

[0030] Specifically, when a hyperparameter acquisition request for a certain hyperparameter is received from the user program 10, the hyperparameter tuning program 20 determines the value of the requested hyperparameter based on the application history of hyperparameters previously applied to the user program 10, and returns the determined hyperparameter value to the user program 10. For example, if the hyperparameter acquisition request is for a learning rate, the hyperparameter tuning program 20 determines the value of the learning rate to be applied next by referring to the learning rate value and / or the value of other hyperparameters previously set for the user program 10, and returns the determined learning rate value to the user program 10. Upon acquiring the learning rate value, the user program 10 determines whether further hyperparameters are necessary to execute a learning process for the machine learning model according to the hyperparameter acquisition code, and if further hyperparameters (e.g., a learning period, a noise rate, etc.) are necessary, generates a hyperparameter acquisition request for the hyperparameter, and transmits the generated hyperparameter acquisition request to the hyperparameter tuning program 20. The user program 10 continues to send hyperparameter acquisition requests until the required combination of hyperparameters is acquired, and in response to the received hyperparameter acquisition request, the hyperparameter tuning program 20 repeats the above-mentioned steps S101 and S102.

[0031] In one embodiment, the hyperparameter tuning program 20 may provide hyperparameters selected according to a predetermined hyperparameter selection algorithm.

[0032] Specifically, the hyperparameter selection algorithm may be based on Bayesian optimization using the accuracy of the machine learning model obtained under the application history of the hyperparameters. As described later, when the combination of hyperparameters required for the learning process is obtained, the user program 10 applies the combination of hyperparameters set by the hyperparameter tuning program 20 to learn the machine learning model. Then, the user program 10 determines the accuracy of the predictive performance of the machine learning model learned under the combination of the set hyperparameters, and provides the determined accuracy to the hyperparameter tuning program 20. The hyperparameter tuning program 20 may store each combination of hyperparameters set in the past and the accuracy obtained for the combination as an application history, and use the stored application history as prior information to determine the hyperparameters to be set next based on Bayesian optimization or Bayesian estimation. By using Bayesian optimization, it becomes possible to set a more appropriate combination of hyperparameters using the application history as prior information.

[0033] Alternatively, the predetermined hyperparameter selection algorithm may be based on a random search. In this case, the hyperparameter tuning program 20 randomly sets a combination of hyperparameters that have not been applied in the past by referring to the application history. By using a random search, the hyperparameters can be set by a simple hyperparameter selection algorithm.

[0034] The hyperparameter tuning program 20 may also determine a combination of hyperparameters by combining the above-mentioned Bayesian optimization and random search. For example, when only Bayesian optimization is used, there is a possibility that the combination will converge to a locally optimal combination, and when only random search is used, there is a possibility that a combination that is significantly different from the optimal combination will be selected. The above-mentioned problems are alleviated by applying a combination of two hyperparameter selection algorithms, Bayesian optimization and random search.

[0035] However, the hyper-parameter selection algorithm according to the present disclosure is not limited to Bayesian optimization and random search, but may be any other suitable hyper-parameter selection algorithm, including evolutionary computing, grid search, and the like.

[0036] In step S103, the hyperparameter tuning program 20 acquires an evaluation result of the user program based on the applied hyperparameters. Specifically, when the user program 10 acquires a combination of hyperparameters required to execute the learning process, the user program 10 applies the combination of hyperparameters to execute the learning process on the machine learning model. When the learning process ends, the user program 10 calculates the accuracy of the resulting machine learning model, such as the predictive performance, and provides the calculated accuracy to the hyperparameter tuning program 20 as an evaluation result.

[0037] In step S104, it is determined whether the termination condition is satisfied, and if the termination condition is satisfied (S104: YES), the hyperparameter tuning process is terminated. On the other hand, if the termination condition is not satisfied (S104: NO), the hyperparameter tuning process returns to steps S101 and S102, and the user program 10 acquires a new combination of hyperparameters. Here, the termination condition may be, for example, that the number of times the combination of hyperparameters has been applied has reached a predetermined threshold. Furthermore, the process in step S104 may typically be written in a main program that controls the user program 10 and the hyperparameter tuning program 20.

[0038] 4 is a sequence diagram showing the hyperparameter tuning process according to an embodiment of the present disclosure. Here, the hyperparameter tuning process described above with reference to FIG. 3 will be described from the viewpoint of data exchange between the user program 10 and the hyperparameter tuning program 20.

[0039] As shown in FIG. 4, in step S201, the user program 10 is started and parameters to be updated in the machine learning model are initialized.

[0040] In step S202, the user program 10 determines a hyperparameter P1 to be acquired according to the hyperparameter acquisition code written in the user program 10, and transmits a hyperparameter acquisition request for the hyperparameter P1 to the hyperparameter tuning program 20. Upon receiving the hyperparameter acquisition request, the hyperparameter tuning program 20 determines the value of the hyperparameter P1 and returns the determined value of the hyperparameter P1 to the user program 10. Upon acquiring the value of the hyperparameter P1, the user program 10 similarly determines a hyperparameter P2 to be acquired according to the control structure of the hyperparameter acquisition code, and transmits a hyperparameter acquisition request for the hyperparameter P2 to the hyperparameter tuning program 20. Upon receiving the hyperparameter acquisition request, the hyperparameter tuning program 20 determines the value of the hyperparameter P2 and returns the determined value of the hyperparameter P2 to the user program 10. In the same manner, the user program 10 and the hyperparameter tuning program 20 repeat the above-mentioned exchange until a combination of hyperparameters (P1, P2, ..., PN) required for learning the machine learning model is acquired.

[0041] Although the illustrated hyperparameter acquisition request requests hyperparameters one by one, the hyperparameter acquisition request according to the present disclosure is not limited to this, and may request multiple hyperparameters together. For example, since hyperparameters such as a learning rate, a learning period, and a noise rate can be set independently of each other, these hyperparameters may be requested together by one hyperparameter acquisition request. On the other hand, hyperparameters such as the type of machine learning model and the learning algorithm affect the selection of other hyperparameters, and therefore are requested by a single hyperparameter acquisition request.

[0042] In step S203, the user program 10 applies the acquired combination of hyperparameters to train a machine learning model. When the training process is completed, the user program 10 calculates the accuracy of the resulting machine learning model, such as predictive performance.

[0043] In step S204, the user program 10 provides the calculated accuracy as an evaluation result to the hyperparameter tuning program 20. The hyperparameter tuning program 20 stores the previously obtained accuracy in association with the applied combination of hyperparameters as an application history, and uses it for subsequent selection of hyperparameters.

[0044] Steps S202 to S204 are repeated until a termination condition is met, for example, the steps have been executed a predetermined number of times.

[0045] In one embodiment, the get hyperparameters request may request the type of machine learning model according to a control structure and the hyperparameters specific to that particular type of machine learning model.

[0046] For example, the hyperparameter acquisition request may be generated according to the hyperparameter acquisition code as shown in Fig. 5. First, a "machine learning model type" or a "classifier type" is acquired as a hyperparameter. In the illustrated example, the user program 10 queries the hyperparameter tuning program 20 as to whether a "support vector machine classification (SVC)" or a "random forest" should be applied.

[0047] If the hyperparameter tuning program 20 selects "SVC", the user program 10 sends a hyperparameter acquisition request for "svc_c" as an additional hyperparameter to the hyperparameter tuning program 20. On the other hand, if the hyperparameter tuning program 20 selects "RandomForest", the user program 10 sends a hyperparameter acquisition request for "rf_max_depth" as an additional hyperparameter to the hyperparameter tuning program 20.

[0048] Thereafter, the user program 10 applies the acquired hyperparameters to execute a learning process on the machine learning model, calculates the accuracy or error of the resulting machine learning model, and transmits it to the hyperparameter tuning program 20. The number of trials (n_trial) is defined in the main program, and in the illustrated example, the above-mentioned process is repeated 100 times.

[0049] In this way, according to the present disclosure, compared to existing hyperparameter tuning software, the hyperparameter acquisition code that defines the hyperparameters to be acquired can be written in the user program 10 that uses the hyperparameters instead of in the hyperparameter tuning software, making it possible to improve the maintainability of the program by the user. Also, by utilizing a complex control structure such as a conditional branch, it becomes possible to request and acquire appropriate hyperparameters corresponding to the hyperparameters that are sequentially selected.

[0050] In one embodiment, the hyperparameter acquisition code may include a module for setting hyperparameters that define the structure of the machine learning model, and a module for setting hyperparameters that define the learning process of the machine learning model. For example, in the hyperparameter acquisition code, as shown in FIG. 6, a module (def create_model) related to the construction of the machine learning model and a module (def create_optimizer) for setting hyperparameters of the machine learning model can be written separately.

[0051] In this way, according to the present disclosure, the hyperparameter acquisition code can be modularized with different modules, making it easier for multiple programmers to work together to create the hyperparameter acquisition code.

[0052] The above-mentioned embodiment has described a hyperparameter tuning method for setting hyperparameters for a user program for learning a machine learning model. However, the user program according to the present disclosure is not limited to this, and may be any program. That is, the hyperparameter tuning method according to the present disclosure is applicable to setting any hyperparameter that may affect the execution result and performance of a user program. For example, as an application example other than machine learning, it is possible to speed up a program and improve a user interface. For example, regarding the speed of a program, values ​​such as an algorithm to be used and a buffer size are set as hyperparameters, and the program can be speeded up by optimizing the hyperparameters to improve the speed. In designing a user interface, the layout and size of a button are set as hyperparameters, and the user interface can be improved by optimizing the hyperparameters to improve user behavior.

[0053] Although the embodiments of the present invention have been described in detail above, the present invention is not limited to the specific embodiments described above, and various modifications and variations are possible within the scope of the gist of the present invention as defined in the claims. [Explanation of symbols]

[0054] 10 User Programs 20 Hyperparameter Tuning Program 100 Hyperparameter Tuning Device 101 Processor 102 Memory 103 Hard Disk 104 I / O Interface

Claims

1. A method for tuning hyperparameters applied to a user program, executed by a processor, comprising: receiving a request for a first hyperparameter to be applied to the user program; In response to receiving the retrieval request, providing a value of the first hyperparameter associated with the retrieval request; having The user program defines a function that is repeated a number of times; The function acquires a predetermined object that provides a method for generating an acquisition request for a hyperparameter, generates an acquisition request for the first hyperparameter using the method of the acquired predetermined object, and sets as a return value an evaluation result relating to application of the first hyperparameter to a value provided based on the acquisition request; The step of providing includes determining a value of the first hyperparameter to be provided in a current trial based on the return value of the function obtained in a past trial. Hyperparameter tuning methods.

2. A hyperparameter tuning method as described in claim 1, wherein the function generates a request to obtain the first hyperparameter by calling the method within the function.

3. A hyperparameter tuning method as described in claim 1 or 2, wherein the specified object is obtained as an argument of the function.

4. A hyperparameter tuning method as described in any one of claims 1 to 3, wherein the method for generating a hyperparameter acquisition request defines the hyperparameter related to the acquisition request.

5. The hyperparameter tuning method described in claim 4, wherein the method for generating a hyperparameter acquisition request defines a name of the hyperparameter related to the acquisition request.

6. A hyperparameter tuning method as described in claim 4 or 5, wherein the method for generating a hyperparameter acquisition request defines a value range of the hyperparameter related to the acquisition request.

7. A hyperparameter tuning method as described in any one of claims 1 to 6, wherein the function performs an evaluation regarding the application of the first hyperparameter to the provided value, and the evaluation result obtained by performing the evaluation is the return value.

8. A hyperparameter tuning method as described in any one of claims 1 to 6, wherein the function performs processing by applying the first hyperparameter to the provided value, and returns the evaluation result obtained by evaluating the result obtained by the processing.

9. A hyperparameter tuning method described in any one of claims 1 to 8, wherein the evaluation result is an evaluation result for a machine learning model trained by applying the first hyperparameter of the provided value.

10. A hyperparameter tuning method described in any one of claims 1 to 9, wherein the function is written using a machine learning library.

11. A program for causing the processor to execute the hyperparameter tuning method described in any one of claims 1 to 10.

12. A user program for causing a processor to execute a process of requesting a hyperparameter and obtaining a value of the hyperparameter, comprising: The user program includes a definition of a function to be repeated a number of times; the function acquires a predetermined object providing a method for acquiring a hyperparameter from a hyperparameter tuning program, requests a first hyperparameter from the hyperparameter tuning program using the method of the predetermined object, acquires a value of the first hyperparameter provided from the hyperparameter tuning program in response to the request, and sets as a return value an evaluation result relating to application of the acquired value of the first hyperparameter; The return value of the function is passed to the hyperparameter tuning program and is referenced by the hyperparameter tuning program to determine the value of the first hyperparameter to be provided in a next trial. User program.

13. The user program of claim 12, wherein the function requests the first hyperparameter from the hyperparameter tuning program by invoking the method of the specified object.

14. A user program as described in claim 12 or 13, wherein the function obtains the specified object as an argument of the function.

15. A user program described in any one of claims 12 to 14, wherein the method for generating a request to obtain a hyperparameter defines the hyperparameter related to the request.

16. A user program as described in claim 15, wherein the method for generating a request to obtain a hyperparameter defines a name of the hyperparameter related to the request.

17. A user program as described in claim 15 or 16, wherein the method for generating a request to obtain a hyperparameter defines a range of values ​​for the hyperparameter related to the request.

18. A user program as described in any one of claims 12 to 17, wherein the function evaluates the application of the first hyperparameter to the acquired value, and the evaluation result obtained by performing the evaluation is the return value.

19. A user program described in any one of claims 12 to 17, wherein the function performs processing by applying the first hyperparameter to the acquired value, and returns the evaluation result obtained by evaluating the result obtained by the processing.

20. A user program described in any one of claims 12 to 19, wherein the evaluation result is an evaluation result for a machine learning model trained by applying the first hyperparameter of the acquired value.

21. A user program described in any one of claims 12 to 20, wherein the function is written using a machine learning library.

22. A memory for storing the user program according to any one of claims 12 to 21; a processor for executing the user program stored in the memory; An apparatus having the above configuration.

23. A method in which a processor obtains the first hyperparameter in accordance with the user program described in any one of claims 12 to 21.

24. A method for generating the user program according to any one of claims 12 to 21.

Citation Information

Patent Citations

  • Setting method, setting program, and setting device

    JP2016218869A

  • Machine learning management program, machine learning management apparatus, and machine learning management method

    JP2017049677A

  • Machine learning management program, machine learning management method and machine learning management device

    JP2017228068A

  • Information processing device, information processing method, and information providing method

    WO2017175434A1

  • Learning device, learning method, and learning program

    WO2017183587A1