Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Model training method and device and medium

A training method and model technology, which is applied in the field of hyperparameter search, can solve the problems of sloppy early stopping strategy, affecting training accuracy and hyperparameter selection, and achieve effective evaluation, improvement of hyperparameter quality, and high precision.

Inactive Publication Date: 2020-10-30
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In either case, the early stopping strategy will be very sloppy, and it is very likely that some training with good final training effect will be stopped in advance, which will definitely affect the final training accuracy and hyperparameter selection

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
  • Model training method and device and medium
  • Model training method and device and medium
  • Model training method and device and medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0035] In order to make the object, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0036] It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are to distinguish two entities with the same name but different parameters or parameters that are not the same, see "first" and "second" It is only for the convenience of expression, and should not be construed as a limitation on the embodiments of the present invention, which will not be described one by one in the subsequent embodiments.

[0037] According to one aspect of the present invention, an embodiment of the present invention proposes a model training method, such as figure 1 As shown, it may include the steps of:

[0038] S1, acquiring multiple sets of hyperparameters and us...

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 model training method. The method comprises the steps: obtaining multiple groups of hyper-parameters, and constructing models by utilizing each group of hyper-parameters; respectively training the plurality of constructed models by using a training set, and verifying the model being trained by using a verification set; in response to triggering early stop, obtaining evaluation parameters generated when the model being trained is verified, and obtaining a standard parameter from the plurality of evaluation parameters; judging whether the standard parameter is greater than a threshold; in response to the condition that the standard parameter is not greater than the threshold, obtaining a reciprocal of a loss function value corresponding to the currently trained model, and determining a plurality of models which continue to be trained from the models being trained according to the obtained reciprocal of the loss function value and the corresponding evaluation parameters; and in response to the situation that the number of the continuously trained models is greater than 1, returning to the step of training until the number of the continuously trained models isequal to 1. The invention further discloses computer equipment and a readable storage medium.

Description

technical field [0001] The invention relates to the field of hyperparameter search, in particular to a model training method, system, device and storage medium. Background technique [0002] When using the hyperparameter tuning scheme on the model, the corresponding evaluation parameters are often used as the standard for evaluating the network training effect and judging the quality of the hyperparameter combination. If the early stopping algorithm is used in hyperparameter tuning, the steps are roughly as follows: use a certain sampling method to determine one or a group of hyperparameter combinations, and obtain the target detection model corresponding to each group of hyperparameter combinations; according to the specific parameters of the early stopping algorithm Requirements, the model is trained for several rounds, and the corresponding evaluation value of the verification set is obtained. In some algorithms, the quality of the model may be judged based on the existi...

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
IPC IPC(8): G06N3/08G06N3/04
CPCG06N3/082G06N3/045
Inventor 于彤
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products