Machine learning hyper-parameter adjusting method and system

A technology of machine learning and adjustment methods, applied in the field of machine learning, can solve the problems that the solution results fall into a local optimal solution, strong dependence, waste of time, etc., achieve efficient tuning of hyperparameters, get rid of dependence on experience, and reduce the number of evaluations Effect

Inactive Publication Date: 2020-05-12
杭州雅拓信息技术有限公司
View PDF0 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, there are various problems in these methods: the manual parameter tuning method has a strong dependence on experience; the automatic parameter tuning method is less efficient because it wastes time to evaluate the area in the search space that is unlikely to find the optimum point. Low; although the Bayesian optimization method turns the black-box optimization scenario of machine learning model hyperparameter tuning into a probabilistic proxy model, the solution result is easy to fall into a local optimal solution, and the solution result often depends on the selection of the initial value

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Machine learning hyper-parameter adjusting method and system
  • Machine learning hyper-parameter adjusting method and system
  • Machine learning hyper-parameter adjusting method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0036] Such as figure 1 As shown, this embodiment provides a method for adjusting machine learning hyperparameters, including the following steps:

[0037] Step 1: Randomly sample within the hyperparameter range of the machine learning model to generate an initial hyperparameter set X, which is the initial sample set for Bayesian optimization. The machine learning hyperparameter adjustment method provided in this embodiment is applicable to a variety of machine learning models, each of which has different hyperparameters, and the range of hyperparameters of each machine learning model belongs to the prior art, which is It is known to those skilled in the art, so it will not be repeated here. Set the target variable V as the optimization target, and perform machine learning model training and evaluation on each set of hyperparameters in the hyperparameter set X. Since different machine learning models have different hyperparameter combinations, and different machine learning ...

Embodiment 2

[0069] This embodiment provides a machine learning hyperparameter adjustment system to implement the machine learning hyperparameter adjustment method described in Embodiment 1. Machine learning hyperparameter tuning systems include:

[0070] Bayesian optimization initialization unit: used to randomly sample and generate an initial hyperparameter set X within the hyperparameter range of the machine learning model, perform machine learning model training and evaluation on each set of hyperparameters in the hyperparameter set X, and obtain the preset The value of the target variable V is used as the observed value of each group of hyperparameters, and the hyperparameter set X={x 1 ,x 2 ,x 3 ,...,x t} and its observed value Y={y 1 ,y 2 ,y 3 ,...,y t} constitute the initial observation set D;

[0071] Particle swarm initialization unit: used to randomly sample the initial hyperparameter particle swarm X within the hyperparameter range of the machine learning model group ,...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a machine learning hyper-parameter adjusting method and system, relating to the technical field of machine learning. According to the invention, a Bayesian optimization framework is adopted, a prior probability model is generated by a Gaussian process through an initial observation set, a next evaluation point is searched by using a chaotic particle swarm method, a new evaluation point is evaluated to obtain an observation value corresponding to the new evaluation point, a Gaussian process probability agent model is updated by updating the observation set, and an optimal hyper-parameter combination is obtained through multiple iterative search updates. According to the method, the evaluation frequency of hyper-parameter tuning of a machine learning model can be effectively reduced, the defect that traditional Bayesian optimization falls into the local optimal point is overcome, and hyper-parameter tuning can be more accurately and efficiently carried out.

Description

【Technical field】 [0001] The invention relates to the technical field of machine learning, in particular to a method and system for adjusting machine learning hyperparameters. 【Background technique】 [0002] The performance of machine learning algorithms is highly dependent on the selection of hyperparameters, and the selection of hyperparameters for machine learning is a tedious but crucial task. The methods used in the prior art include manual parameter adjustment methods, automatic parameter adjustment methods such as grid search, random search, and Bayesian optimization methods. However, there are various problems in these methods: the manual parameter tuning method has a strong dependence on experience; the automatic parameter tuning method is less efficient because it wastes time to evaluate the area in the search space that is not likely to find the optimal point. Low; although the Bayesian optimization method turns the black-box optimization scenario of machine lear...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06N20/00G06N3/00G06N7/08G06N7/00
CPCG06N20/00G06N3/006G06N7/08G06N7/01
Inventor 王联军马平男王有兵张珊
Owner 杭州雅拓信息技术有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products