Model training method and device, computer equipment and storage medium

A training method and model technology, applied in the field of storage media, model training methods and devices, and computer equipment, can solve problems affecting model training efficiency, etc.

Pending Publication Date: 2022-04-22
PING AN TECH (SHENZHEN) CO LTD
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the number of drugs contained in the prescription is more than one, the prescription recommendation is often converted into a multi-label classification task, but as the number of drugs increases, the number of classifiers in the prescription recommendation model also increases, which affects the training efficiency of the model

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, computer equipment and storage medium
  • Model training method and device, computer equipment and storage medium
  • Model training method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0054] In order to make the object, technical solution and advantages of the present invention clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present application, not to limit the present application.

[0055]It should be noted that although the functional modules are divided in the schematic diagram of the device, and the logical sequence is shown in the flowchart, in some cases, it can be executed in a different order than the module division in the device or the flowchart in the flowchart. steps shown or described. The terms "first", "second" and the like in the specification and claims and the above drawings are used to distinguish similar objects, and not necessarily used to describe a specific sequence or sequence.

[0056] Unless otherwise defined, all technical and scientific terms ...

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 embodiment of the invention provides a model training method and device, computer equipment and a storage medium, and belongs to the technical field of artificial intelligence. Comprising the steps of obtaining multiple pieces of inquiry sample data and corresponding prescription sample data; performing prediction processing on the patient sample data and the dialogue sample data through a pre-training model to obtain prescription prediction data; calculating a first loss value according to the plurality of drug prediction data; constructing a drug co-occurrence matrix according to the multiple drug sample data, and calculating a second loss value; and training the pre-training model according to the first loss value and the second loss value to obtain a prescription recommendation model. According to the embodiment of the invention, the drug co-occurrence matrix is constructed through the prescription sample data, and the drug co-occurrence loss is added according to the drug co-occurrence matrix, so that not only is the correlation among a plurality of drugs considered, but also the problem that classifiers are increased along with the increase of the number of the drugs in the prescription recommendation model is avoided, and the training efficiency of the model is improved.

Description

technical field [0001] The invention relates to the technical field of artificial intelligence, in particular to a model training method and device, computer equipment, and storage media. Background technique [0002] In the task of prescription recommendation, there is usually a dependency relationship between multiple drugs in the prescription, for example, antipyretic patches and cough medicines are usually in the same prescription. Therefore, it is very important to effectively mine the correlation between drugs. Since prescriptions contain more than one drug, prescription recommendation is often converted into a multi-label classification task. However, as the number of drugs increases, the number of classifiers in the prescription recommendation model also increases, which affects the training efficiency of the model. Contents of the invention [0003] The main purpose of the embodiments of the present disclosure is to provide a model training method and device, com...

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): G06K9/62G06F40/35G06F40/289G06N3/04G06N3/08G16H20/10
CPCG06F40/35G06F40/289G06N3/08G16H20/10G06N3/045G06F18/241G06F18/214
Inventor 赵越徐卓扬
Owner PING AN TECH (SHENZHEN) CO LTD
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