Parameter determination method and device of regression calculation model, equipment and medium

By generating parallel computing model training tasks on the parameter management platform and using multiple computing terminals for parallel computing, the problem of low search efficiency of regression computing model parameters is solved, and efficient parameter value positioning in big data scenarios is achieved.

CN118607656APending Publication Date: 2024-09-06PETROCHINA CO LTD

Patent Information

Application Number
CN202410319614.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-20
Publication Date
2024-09-06

AI Technical Summary

Technical Problem

Regression calculation models have the problem of low parameter setting efficiency in processing prediction tasks. Especially in big data scenarios, existing methods cannot effectively utilize the parallel computing capabilities of multiple machines, resulting in low efficiency in searching for target parameter values.

Method used

Through the method executed by the parameter management platform, the value reference information of the parameters to be determined is obtained, candidate parameter combinations are generated, clustered, and the model training task is assigned to multiple computing terminals for parallel calculation, and the model test results of the candidate parameter combinations are determined. Finally, the parameter values ​​of the regression calculation model are determined based on the test results.

Benefits of technology

The parallel computing method can quickly locate the target parameter value, which significantly improves the search efficiency of the target parameter value and solves the problem of low parameter search efficiency of the regression calculation model in different application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118607656A
    Figure CN118607656A
Patent Text Reader

Abstract

The invention discloses a parameter determination method and device of a regression calculation model, equipment and a storage medium. The method comprises the following steps: acquiring value reference information of a to-be-determined parameter of a regression calculation model; generating a first preset number of to-be-determined parameter combinations according to the value reference information of the to-be-determined parameters, and performing at least one clustering according to each to-be-determined parameter combination to determine a second preset number of candidate parameter combinations; generating a model training task matched with each candidate parameter combination, distributing each model training task to at least two computing terminals for parallel computing, and determining a model test result matched with each candidate parameter combination; and determining a target parameter of the regression calculation model according to a model test result matched with each candidate parameter combination. According to the technical scheme, the problem that the target parameter value searching efficiency of a regression calculation model in different application scenes is low is solved, the target parameter value can be quickly positioned in a parallel calculation mode, and the target parameter value searching efficiency is greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of big data technology, and in particular to a method, device, electronic device and storage medium for determining parameters of a regression calculation model. Background Art

[0002] Regression calculation is a statistical method for studying the linear relationship between two or more variables. It can predict the values ​​of variables by determining the regression equation between multiple variables. Common regression calculation models include linear regression, polynomial regression, ridge regression, Lasso regression, and elastic network regression. Through statistical analysis of prediction tasks based on regression calculation models, it is found that no single regression calculation model can perform well in all prediction tasks, and the prediction ability of most regression calculation models depends on the values ​​of hyperparameters.

[0003] In view of the problems existing in the regression calculation model in processing prediction tasks, the current parameter setting methods of the regression calculation model mainly include: (1) simple parameter adjustment methods represented by manual parameter adjustment, grid search and random search; (2) heuristic methods based on Bayesian optimization. Among them, simple parameter adjustment methods such as grid search and random search are spatial searches within a given parameter value range, and the search efficiency of the target parameter value is low. Although the Bayesian optimization method can improve the search efficiency to a certain extent, the process of determining the target parameter value is a serial process, which cannot effectively utilize the computing power of multiple machines in parallel. In the big data scenario, there is still a problem of low efficiency. Therefore, there is an urgent need for a parameter determination method for a regression calculation model to improve the positioning efficiency of the target parameter value. Summary of the invention

[0004] The present invention provides a method, device, equipment and storage medium for determining parameters of a regression calculation model to solve the problem of low search efficiency of target parameter values ​​of the regression calculation model in different application scenarios. The target parameter values ​​can be quickly located through parallel computing, greatly improving the search efficiency of the target parameter values.

[0005] According to one aspect of the present invention, a method for determining parameters of a regression calculation model is provided, the method being executed by a parameter management platform, the method comprising:

[0006] Obtaining reference information of values ​​of parameters to be determined in the regression calculation model;

[0007] Generate a first preset number of parameter combinations to be determined according to the reference information of the values ​​of the parameters to be determined, and perform at least one clustering according to each parameter combination to be determined to determine a second preset number of candidate parameter combinations;

[0008] Generate a model training task for each candidate parameter combination match, and assign each model training task to at least two computing terminals for parallel computing, and determine a model test result for each candidate parameter combination match;

[0009] The parameter values ​​of the regression calculation model are determined based on the model test results of each candidate parameter combination matching.

[0010] According to another aspect of the present invention, a device for determining parameters of a regression calculation model is provided, wherein the device is configured on a parameter management platform and comprises:

[0011] A value reference information acquisition module is used to obtain value reference information of the parameters to be determined of the regression calculation model;

[0012] A candidate reference combination determination module, used to generate a first preset number of parameter combinations to be determined according to the reference information of the value of the parameter to be determined, and to perform at least one clustering according to each parameter combination to be determined to determine a second preset number of candidate parameter combinations;

[0013] A model test result determination module is used to generate model training tasks for matching each candidate parameter combination, and distribute each model training task to at least two computing terminals for parallel computing to determine the model test results for matching each candidate parameter combination;

[0014] The parameter value determination module is used to determine the parameter values ​​of the regression calculation model according to the model test results matched by each candidate parameter combination.

[0015] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising:

[0016] at least one processor; and

[0017] a memory communicatively connected to the at least one processor; wherein,

[0018] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the parameter determination method of the regression calculation model described in any embodiment of the present invention.

[0019] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the parameter determination method of the regression calculation model described in any embodiment of the present invention when executed.

[0020] The technical solution of the embodiment of the present invention obtains the reference information of the values ​​of the parameters to be determined of the regression calculation model, generates a first preset number of parameter combinations to be determined according to the reference information of the values ​​of the parameters to be determined, and performs at least one clustering according to each parameter combination to be determined to determine a second preset number of candidate parameter combinations; then generates model training tasks matching each candidate parameter combination, distributes each model training task to at least two computing terminals for parallel computing, determines the model test results matching each candidate parameter combination; finally, determines the parameter values ​​of the regression calculation model according to the model test results matching each candidate parameter combination. This technical solution solves the problem of low search efficiency of target parameter values ​​of the regression calculation model in different application scenarios, and can quickly locate the target parameter values ​​through parallel computing, greatly improving the search efficiency of the target parameter values.

[0021] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0023] Figure 1 is a flow chart of a method for determining parameters of a regression calculation model provided according to Embodiment 1 of the present invention;

[0024] Figure 2 is a flow chart of a method for determining parameters of a regression calculation model provided according to Embodiment 2 of the present invention;

[0025] Figure 3 is a schematic diagram of the structure of a device for determining parameters of a regression calculation model provided in Embodiment 3 of the present invention;

[0026] Figure 4 It is a structural schematic diagram of an electronic device for implementing the parameter determination method of the regression calculation model according to an embodiment of the present invention. DETAILED DESCRIPTION

[0027] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0028] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices. The acquisition, storage, use, processing, etc. of data in the technical solution of this application comply with the relevant provisions of national laws and regulations.

[0029] Embodiment 1

[0030] Figure 1 A flowchart of a method for determining parameters of a regression calculation model is provided for the first embodiment of the present invention. This embodiment is applicable to scenarios for determining the values ​​of hyperparameters of a regression calculation model. The method can be performed by a parameter determination device for a regression calculation model, which can be implemented in the form of hardware and / or software, and can be configured in an electronic device. Figure 1 As shown, the method includes:

[0031] S110: Obtain value reference information of the to-be-determined parameters of the regression calculation model.

[0032] This solution can be executed by a parameter management platform, which can set parameters for various regression calculation models, such as regularization coefficients, learning rates and other hyperparameters. The parameter management platform can determine the reference information of the values ​​of the parameters to be determined in the regression calculation model based on the model structure of the regression calculation model, the prediction task to be performed and other information. Among them, the parameters to be determined in the regression calculation model can be one or more. The value parameter information of the parameters to be determined can include the value range of the parameters, and can also include the historical values ​​of the parameters in the previous use of the regression calculation model. For example, the parameters to be determined include the learning rate, and the value parameter information of the learning rate can include the value range of the learning rate as [0,1], and the historical values ​​of the learning rate in the previous use of the regression calculation model can include 0.1, 0.01 and 0.001.

[0033] S120: Generate a first preset number of parameter combinations to be determined based on reference information of the values ​​of the parameters to be determined, and perform at least one clustering based on each parameter combination to be determined to determine a second preset number of candidate parameter combinations.

[0034] According to the reference information of the value of the parameter to be determined, the parameter management platform can generate a first preset number of parameter values ​​to be determined according to the preset parameter generation principle. Specifically, the parameter management platform can select the first preset number of parameter values ​​to be determined at equal intervals in the value range of the parameter to be determined. The parameter management platform can also generate a parameter selection range according to a preset interval radius based on the historical value of the parameter to be determined, and determine the first preset number of parameter values ​​to be determined according to the parameter selection range.

[0035] The parameter management platform can form a parameter combination to be determined by permuting and combining the values ​​of all the parameters to be determined in the regression calculation model. If there is only one parameter to be determined in the regression calculation model, each parameter combination to be determined has only one value of the parameter to be determined. If there are multiple parameters to be determined in the regression calculation model, each parameter combination to be determined has one value of each parameter to be determined. The parameter management platform can cluster each parameter combination to be determined according to a preset number of categories, and obtain a second preset number of candidate parameter combinations according to the clustering results.

[0036] It should be noted that, in order to ensure a reliable clustering effect, the first preset number may be greater than or equal to the second preset number.

[0037] S130, generating model training tasks for matching each candidate parameter combination, and assigning each model training task to at least two computing terminals for parallel computing, to determine model test results for matching each candidate parameter combination.

[0038] It can be understood that the parameter management platform can generate model training tasks corresponding to each candidate parameter combination according to the prediction tasks to be performed by the regression calculation model. Among them, the model training task may include information such as the training samples, number of iterations, evaluation indicators, single iteration calculation amount, memory usage, and data transmission amount of the regression calculation model. According to the calculation amount, storage space usage, and other information of the model training tasks corresponding to each candidate parameter combination, the parameter management platform can match each model stock task with the registered computing terminal to assign each model training task to the matching computing terminal for parallel computing.

[0039] The regression calculation model corresponding to each candidate parameter combination can be trained on the corresponding computing terminal according to the computing terminal allocation result. During the model training process or after the model training is completed, the parameter management platform can perform model testing on each regression calculation model to obtain the model test results matching each candidate parameter combination. The model test results may include evaluation indicators such as test accuracy, loss rate, and prediction time of a single test sample.

[0040] S140: Determine the parameter values ​​of the regression calculation model according to the model test results of the candidate parameter combination matching.

[0041] After obtaining the model test results matching each candidate parameter combination, the parameter management platform can sort the evaluation indicators in each model test result, determine the target parameter combination according to the evaluation indicator sorting results, and determine the parameter values ​​of the regression calculation model according to the target parameter combination. The parameter management platform can also use the candidate parameter combination whose model test results meet the preset evaluation conditions as the target parameter combination, and determine the parameter values ​​of the regression calculation model according to the target parameter combination.

[0042] The technical solution of the embodiment of the present invention obtains the reference information of the values ​​of the parameters to be determined of the regression calculation model, generates a first preset number of parameter combinations to be determined according to the reference information of the values ​​of the parameters to be determined, and performs at least one clustering according to each parameter combination to be determined to determine a second preset number of candidate parameter combinations; then generates model training tasks matching each candidate parameter combination, distributes each model training task to at least two computing terminals for parallel computing, determines the model test results matching each candidate parameter combination; finally, determines the parameter values ​​of the regression calculation model according to the model test results matching each candidate parameter combination. This technical solution solves the problem of low search efficiency of target parameter values ​​of the regression calculation model in different application scenarios, and can quickly locate the target parameter values ​​through parallel computing, greatly improving the search efficiency of the target parameter values.

[0043] Embodiment 2

[0044] Figure 2This is a flow chart of a method for determining parameters of a regression calculation model provided in the second embodiment of the present invention. This embodiment is refined based on the above embodiment. Figure 2 As shown, the method includes:

[0045] S210: Obtain value reference information of the to-be-determined parameters of the regression calculation model.

[0046] In this solution, the value reference information may include the value range of the parameter to be determined and the historical value of the parameter to be determined.

[0047] This solution refers to the historical values ​​of the parameters to be determined, which is conducive to accurately and quickly locating the optimal values ​​of the parameters to be determined in the regression calculation model, so that the regression calculation model can exert the best prediction ability.

[0048] S220. Generate a first preset number of combinations of parameters to be determined based on a Bayesian optimization model according to reference information of values ​​of the parameters to be determined.

[0049] It can be understood that the parameter management platform can determine the value distribution law of the parameter to be determined based on the Bayesian optimization model and the reference information of the value of the parameter to be determined, and then generate a first preset number of parameter combinations to be determined based on the value distribution law of the parameter to be determined.

[0050] S230. Perform at least one K-means clustering according to each parameter combination to be determined to obtain a second preset number of parameter category sets.

[0051] The parameter management platform can use the first preset number of parameter combinations to be determined based on the Bayesian optimization model as the initial parameter features, and determine the second preset number of initial cluster centers based on the initial parameter features, calculate the distance from each initial parameter feature to each initial cluster center, and determine the clustering results and evaluation results of this iteration based on the distance. According to the evaluation results of this clustering, it is judged whether the clustering results converge. If the clustering results converge, the iteration is terminated and the clustering results of this iteration are output. If the clustering results do not converge, the clustering centers of the next iteration are calculated based on the clustering results of this iteration to calculate the clustering results and evaluation results of the next iteration until the clustering results converge and the clustering results of the last iteration are output. The parameter management platform can form a parameter category set with the parameter combinations in each parameter category, and the clustering results can include the clustering centers of each parameter category, the parameter combinations associated with each parameter category set, and the benefit values ​​matched by each parameter combination.

[0052] S240: Determine a second preset number of candidate parameter combinations according to the benefit values ​​matched by each parameter combination in each parameter category set.

[0053] The parameter management platform may sort the benefit values ​​matched by each parameter combination in each parameter category set, and select the parameter combination with the largest benefit value in each parameter category set as the candidate parameter combination according to the sorting result.

[0054] S250: Generate model training tasks for matching each candidate parameter combination, and distribute each model training task to at least two computing terminals for parallel computing to determine model test results for matching each candidate parameter combination.

[0055] In a feasible solution, the model training task of generating matching combinations of candidate parameters includes:

[0056] Determine the training samples of the regression calculation model according to the prediction tasks to be performed acquired in advance;

[0057] According to the regression calculation model and training samples, a model training task matching each candidate parameter combination is generated.

[0058] It is easy to understand that the prediction task to be performed can be a task of information prediction based on a regression calculation model in any application scenario. For example, in the field of oil and gas development, the prediction task to be performed can be the prediction of the output of the target oil and gas field, the prediction of the advantageous exploration area, or the prediction of the oil and gas transmission pipeline network.

[0059] The parameter management platform can obtain training samples that match the prediction task to be executed, and the training samples can include input samples of the regression calculation model and labels corresponding to the input samples. The parameter management platform can generate model training tasks that match each candidate parameter combination with the training samples and the regression calculation model. Specifically, each model training task can include training samples, regression calculation models, a candidate parameter combination, and training setting information.

[0060] The above scheme can generate model training tasks corresponding to each candidate parameter combination, so as to distribute the model training tasks and realize parallel training of multiple regression calculation models with different parameter settings, which is conducive to improving the search efficiency of the optimal parameters.

[0061] In a preferred solution, after allocating each model training task to at least two computing terminals for parallel computing, the method further includes:

[0062] Obtain resource utilization information of each computing terminal, and determine the parallelism of the regression computing model according to the resource utilization information of each computing terminal;

[0063] Adjust the calculation allocation results of the unexecuted model training tasks according to the parallelism of the regression calculation model.

[0064] The parameter management platform can obtain resource utilization information of each computing terminal according to a preset period. The resource utilization information may include utilization information of computing, storage, and communication resources. Based on the resource utilization information of each computing terminal, the parameter management platform can calculate the parallelism of the regression computing model corresponding to each candidate parameter combination. Based on the parallelism of the regression computing model corresponding to each candidate parameter combination, the parameter management platform can adjust the computing allocation results of the unexecuted model training tasks to achieve efficient utilization of computing terminal resources, while improving computing efficiency and reducing resource consumption.

[0065] S260. Determine, from among the candidate parameter combinations, a target parameter combination whose model test results satisfy a preset evaluation condition.

[0066] The parameter management platform can obtain the model test results of each candidate parameter combination in the computing terminal, and compare each model test result with the pre-set evaluation conditions, and determine the candidate parameter combination corresponding to the model test result that meets the evaluation conditions as the target parameter combination. Specifically, the evaluation conditions may include that the test accuracy is greater than or equal to the preset accuracy threshold, the test loss rate is less than the preset loss rate threshold, etc.

[0067] S270: Using the parameter values ​​in the target parameter combination as parameter values ​​of the regression calculation model when processing the prediction task to be executed.

[0068] The parameter management platform can use the parameter values ​​in the target parameter combination as parameter values ​​of the regression calculation model when processing the prediction task to be executed, and record the prediction task to be executed to provide a reference for parameter values ​​when the regression calculation model is used later.

[0069] The technical solution of the embodiment of the present invention obtains the reference information of the values ​​of the parameters to be determined of the regression calculation model, generates a first preset number of parameter combinations to be determined according to the reference information of the values ​​of the parameters to be determined, and performs at least one clustering according to each parameter combination to be determined to determine a second preset number of candidate parameter combinations; then generates model training tasks matching each candidate parameter combination, distributes each model training task to at least two computing terminals for parallel computing, determines the model test results matching each candidate parameter combination; finally, determines the parameter values ​​of the regression calculation model according to the model test results matching each candidate parameter combination. This technical solution solves the problem of low search efficiency of target parameter values ​​of the regression calculation model in different application scenarios, and can quickly locate the target parameter values ​​through parallel computing, greatly improving the search efficiency of the target parameter values.

[0070] Embodiment 3

[0071] Figure 3Schematic diagram of the structure of a parameter determination device for a regression calculation model provided in Embodiment 3 of the present invention. The device is configured on a parameter management platform, such as Figure 3 As shown, the device comprises:

[0072] The value reference information acquisition module 310 is used to obtain the value reference information of the to-be-determined parameter of the regression calculation model;

[0073] The candidate reference combination determination module 320 is used to generate a first preset number of parameter combinations to be determined according to the reference information of the value of the parameter to be determined, and to perform at least one clustering according to each parameter combination to be determined to determine a second preset number of candidate parameter combinations;

[0074] The model test result determination module 330 is used to generate model training tasks for matching each candidate parameter combination, and distribute each model training task to at least two computing terminals for parallel computing to determine the model test results for matching each candidate parameter combination;

[0075] The parameter value determination module 340 is used to determine the parameter values ​​of the regression calculation model according to the model test results of the matching of each candidate parameter combination.

[0076] In this solution, optionally, the candidate reference combination determination module 320 is specifically configured to:

[0077] According to the reference information of the values ​​of the parameters to be determined, based on the Bayesian optimization model, a first preset number of combinations of parameters to be determined are generated.

[0078] Based on the above solution, optionally, the candidate reference combination determination module 320 is further configured to:

[0079] Perform at least one K-means clustering according to each parameter combination to be determined to obtain a second preset number of parameter category sets;

[0080] A second preset number of candidate parameter combinations is determined according to the benefit value matched by each parameter combination in each parameter category set.

[0081] In a feasible solution, the model test result determination module 330 is specifically used to:

[0082] Determine the training samples of the regression calculation model according to the prediction tasks to be performed acquired in advance;

[0083] According to the regression calculation model and training samples, a model training task matching each candidate parameter combination is generated.

[0084] In this embodiment, optionally, the parameter value determination module 340 is specifically used to:

[0085] Determine a target parameter combination among candidate parameter combinations whose model test results satisfy preset evaluation conditions;

[0086] The parameter values ​​in the target parameter combination are used as parameter values ​​of the regression calculation model when processing the prediction task to be executed.

[0087] In a preferred solution, the device further includes a calculation allocation adjustment module, and the calculation allocation adjustment module is used to:

[0088] After allocating each model training task to at least two computing terminals for parallel computing, obtaining resource utilization information of each computing terminal, and determining the parallelism of the regression computing model according to the resource utilization information of each computing terminal;

[0089] Adjust the calculation allocation results of the unexecuted model training tasks according to the parallelism of the regression calculation model.

[0090] In this solution, optionally, the value reference information includes a value range of the parameter to be determined and a historical value of the parameter to be determined.

[0091] The device for determining parameters of a regression calculation model provided in an embodiment of the present invention can execute the method for determining parameters of a regression calculation model provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.

[0092] Embodiment 4

[0093] Figure 4 A schematic diagram of an electronic device 410 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0094] like Figure 4As shown, the electronic device 410 includes at least one processor 411, and a memory connected to the at least one processor 411 in communication, such as a read-only memory (ROM) 412, a random access memory (RAM) 413, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 411 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 412 or the computer program loaded from the storage unit 418 to the random access memory (RAM) 413. In the RAM 413, various programs and data required for the operation of the electronic device 410 can also be stored. The processor 411, the ROM 412, and the RAM 413 are connected to each other via a bus 414. An input / output (I / O) interface 415 is also connected to the bus 414.

[0095] Multiple components in the electronic device 410 are connected to the I / O interface 415, including: an input unit 416, such as a keyboard, a mouse, etc.; an output unit 417, such as various types of displays, speakers, etc.; a storage unit 418, such as a disk, an optical disk, etc.; and a communication unit 419, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 419 allows the electronic device 410 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0096] The processor 411 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 411 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any appropriate processors, controllers, microcontrollers, etc. The processor 411 executes the various methods and processes described above, such as a parameter determination method for a regression calculation model.

[0097] In some embodiments, the method for determining the parameters of the regression calculation model may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 418. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 410 via the ROM 412 and / or the communication unit 419. When the computer program is loaded into the RAM 413 and executed by the processor 411, one or more steps of the method for determining the parameters of the regression calculation model described above may be performed. Alternatively, in other embodiments, the processor 411 may be configured to execute the method for determining the parameters of the regression calculation model in any other appropriate manner (e.g., by means of firmware).

[0098] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0099] The computer program for implementing the method of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer or other programmable regression calculation model parameter determination device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program can be executed completely on the machine, partially on the machine, partially on the machine as an independent software package and partially on a remote machine, or completely on a remote machine or server.

[0100] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0101] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0102] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0103] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0104] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.

[0105] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A method for determining parameters of a regression calculation model, characterized in that: The method is performed by a parameter management platform, and the method includes: Obtaining reference information of values ​​of parameters to be determined in the regression calculation model; Generate a first preset number of parameter combinations to be determined according to the reference information of the values ​​of the parameters to be determined, and perform at least one clustering according to each parameter combination to be determined to determine a second preset number of candidate parameter combinations; Generate a model training task for each candidate parameter combination match, and assign each model training task to at least two computing terminals for parallel computing, and determine a model test result for each candidate parameter combination match; The parameter values ​​of the regression calculation model are determined based on the model test results of each candidate parameter combination matching.

2. The method according to claim 1, characterized in that The step of generating a first preset number of combinations of parameters to be determined according to reference information of values ​​of the parameters to be determined comprises: According to the reference information of the values ​​of the parameters to be determined, based on the Bayesian optimization model, a first preset number of combinations of parameters to be determined are generated.

3. The method according to claim 2, characterized in that The step of performing at least one clustering iteration according to each parameter combination to be determined to determine a second preset number of candidate parameter combinations includes: Perform at least one K-means clustering according to each parameter combination to be determined to obtain a second preset number of parameter category sets; A second preset number of candidate parameter combinations is determined according to the benefit value matched by each parameter combination in each parameter category set.

4. The method according to claim 3, characterized in that The model training task of generating matching combinations of candidate parameters includes: Determine the training samples of the regression calculation model according to the prediction tasks to be performed acquired in advance; According to the regression calculation model and training samples, a model training task matching each candidate parameter combination is generated.

5. The method according to claim 4, characterized in that Determining the parameter values ​​of the regression calculation model according to the model test results of the candidate parameter combinations, includes: Determine a target parameter combination among candidate parameter combinations whose model test results satisfy preset evaluation conditions; The parameter values ​​in the target parameter combination are used as parameter values ​​of the regression calculation model when processing the prediction task to be executed.

6. The method according to claim 1, characterized in that After allocating each model training task to at least two computing terminals for parallel computing, the method further includes: Obtain resource utilization information of each computing terminal, and determine the parallelism of the regression computing model according to the resource utilization information of each computing terminal; Adjust the calculation allocation results of the unexecuted model training tasks according to the parallelism of the regression calculation model.

7. The method according to claim 1, characterized in that The value reference information includes the value range of the parameter to be determined and the historical values ​​of the parameter to be determined.

8. A device for determining parameters of a regression calculation model, characterized in that: The device is configured on a parameter management platform and includes: A value reference information acquisition module is used to obtain value reference information of the parameters to be determined of the regression calculation model; A candidate reference combination determination module, used to generate a first preset number of parameter combinations to be determined according to the reference information of the value of the parameter to be determined, and to perform at least one clustering according to each parameter combination to be determined to determine a second preset number of candidate parameter combinations; A model test result determination module is used to generate model training tasks for matching each candidate parameter combination, and distribute each model training task to at least two computing terminals for parallel computing to determine the model test results for matching each candidate parameter combination; The parameter value determination module is used to determine the parameter values ​​of the regression calculation model according to the model test results matched by each candidate parameter combination.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the parameter determination method of the regression calculation model described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the parameter determination method of the regression calculation model described in any one of claims 1-7 when executed.

Citation Information

Patent Citations

  • A machine learning hyperparametric optimization system and method based on asynchronous Bayesian optimization

    CN109376869A

  • Hyper-parameter determination method and device, computer equipment and storage medium

    CN112529211A

  • Power load prediction method and device, and terminal equipment

    CN113807568A

  • Method for dynamically adjusting degree of parallelism for iterative computation in Gia system

    CN113835896A

  • Phase-controlled elastic parameter modeling method, device and equipment and storage medium

    CN114740546A

Cited By

  • Data processing method, device and equipment for dispensing, storage medium and product

    CN119885107A