CN112071388A - Intelligent medicine dispensing and preparing method based on deep learning - Google Patents
Intelligent medicine dispensing and preparing method based on deep learning Download PDFInfo
- Publication number
- CN112071388A CN112071388A CN201910490372.XA CN201910490372A CN112071388A CN 112071388 A CN112071388 A CN 112071388A CN 201910490372 A CN201910490372 A CN 201910490372A CN 112071388 A CN112071388 A CN 112071388A
- Authority
- CN
- China
- Prior art keywords
- data
- network
- deep learning
- intelligent
- patient
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G16—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
- G16H—HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
- G16H20/00—ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance
- G16H20/10—ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to drugs or medications, e.g. for ensuring correct administration to patients
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Software Systems (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Evolutionary Computation (AREA)
- Biomedical Technology (AREA)
- Molecular Biology (AREA)
- Artificial Intelligence (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Biophysics (AREA)
- Life Sciences & Earth Sciences (AREA)
- Chemical & Material Sciences (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Medicinal Chemistry (AREA)
- Epidemiology (AREA)
- Medical Informatics (AREA)
- Primary Health Care (AREA)
- Public Health (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
本发明公开了一种基于深度学习的智能配药制药方法。该方法对智能设备端所采集的病患者病情数据进行数据预处理,将处理后的数据传输给配制药品控制服务器,配制药品控制服务器采用基于深度学习的智能配药制药算法进行训练学习,经过训练的网络模型,用于对后续时刻未知的数据采用精准化分析,输出不同病患者所需药品的药量的配比表,配制药品控制服务器定期接收预处理后的病患者数据,及时跟踪和调整病患者所需药品的药量的配比表,从而对病患者实现差异化和定制化的药品配置服务,同时,为厂商提升了配制药品的受众范围,并实现配制药品的智能差异化管理。
The invention discloses an intelligent dispensing method based on deep learning. The method performs data preprocessing on the patient's condition data collected by the intelligent device, and transmits the processed data to the compounding drug control server. The network model is used to accurately analyze the unknown data in the follow-up time, output the proportioning table of the amount of drugs required by different patients, and the preparation drug control server regularly receives the pre-processed patient data, and tracks and adjusts the disease in time. The proportioning table of the amount of medicines required by patients, so as to achieve differentiated and customized medicine configuration services for patients, at the same time, it can improve the audience scope of medicines for manufacturers, and realize intelligent and differentiated management of medicines.
Description
技术领域technical field
本发明涉及医学智能配药制药领域,尤其涉及药品生产和配置过程结合人工智能技术实现配置药品成分的智能控制和差异化管理的方法。The invention relates to the field of medical intelligent dispensing and pharmacy, in particular to a method for realizing intelligent control and differentiated management of the components of the medicines in the production and configuration of medicines combined with artificial intelligence technology.
背景技术Background technique
目前,国内的制药厂商通常是预先制定某种药物的药量配比表,并按照此表提取药物的各种成分,在机器上加工制成。这种由专业配药师预先定制药量配比表的方法,通常是按照专业知识进行配置,缺乏差异化、个性化的配置,专业配药师实地大范围的考察病患者的病因、病理和病方,这在现实中存在很多挑战;若长期跟踪病患者的病情,也会耗费很大的人力物力和财力,加之,病患者的病患情况,因人、因时而异,配药师与病患者的直接交流,了解病情的概率,在现实中也不多见。按照需求引领市场的原则,厂商制配药物应该以用户需求为导向,差异化的配制药品,实现智能化配制药品,定制化服务。At present, domestic pharmaceutical manufacturers usually formulate the dosage ratio table of a certain drug in advance, and extract various components of the drug according to this table, and process it on the machine. This method of pre-customizing the dosage and proportioning table by professional pharmacists is usually configured according to professional knowledge, lacking differentiated and personalized configuration. Professional pharmacists investigate the etiology, pathology and prescription of patients on a large scale on the spot. , there are many challenges in reality; if the patient's condition is tracked for a long time, it will also consume a lot of human, material and financial resources. In addition, the patient's patient's condition varies from person to person and from time to time. Direct communication and the probability of understanding the disease are rare in reality. According to the principle that demand leads the market, manufacturers should formulate drugs based on user needs, formulate drugs in a differentiated manner, and realize intelligent drug preparation and customized services.
随着人工智能、物联网等科技的迅猛发展,一些智能化配置的应用也广泛地被普及。结合智能设备和人工智能技术,对配药制药地药量控制实现“私人定制”和差异化管理,这对未来智能化、差异化和动态化的服务在医学应用中有着重要的市场价值。With the rapid development of technologies such as artificial intelligence and the Internet of Things, the application of some intelligent configurations has also been widely popularized. Combined with intelligent equipment and artificial intelligence technology, "private customization" and differentiated management of drug dosage control for dispensing and pharmaceuticals can be realized, which has important market value for future intelligent, differentiated and dynamic services in medical applications.
发明内容SUMMARY OF THE INVENTION
针对上述国内制配药品厂商在配制药品时通常缺乏与病患者的实时跟踪,不能动态地获取用户需求,需要机械地预先制定药品配比表等,这种智能化、差异化和动态化的匮乏,提出一种基于深度学习的智能配药制药方法。该方法对智能设备端所采集的病患者病情数据进行数据预处理,将处理后的数据采用基于深度学习的智能配药制药算法进行训练学习,经过训练的网络模型,用于对后续时刻未知的数据采用精准化分析,输出不同病患者所需药品的药量的配比表,从而对病患者实现差异化和定制化的药品配置服务,同时,为厂商提升了配制药品的受众范围,并实现配制药品的智能差异化管理。In view of the above-mentioned domestic pharmaceutical manufacturers, they usually lack real-time tracking of patients and patients when formulating drugs, and cannot dynamically obtain user needs. , proposes a deep learning-based intelligent pharmaceutical dispensing method. The method performs data preprocessing on the patient's condition data collected by the smart device, and uses the deep learning-based intelligent dispensing and pharmaceutical algorithm to train and learn the processed data. Using precise analysis, output the proportioning table of the amount of drugs needed by different patients, so as to achieve differentiated and customized drug configuration services for patients. Intelligent differentiated management of medicines.
为了实现上述目的,本发明所采取的技术方案是:一种基于深度学习的智能配药制药方法。该方法包括以下步骤:In order to achieve the above purpose, the technical solution adopted in the present invention is: a deep learning-based intelligent dispensing and pharmaceutical method. The method includes the following steps:
步骤A1:智能设备采集当前病患者病情数据,将数据预处理后,传输给配制药品控制服务器;所述数据预处理是将病情数据归档,整理成有结构化的数据;所述结构化的数据依据病患者姓名、性别、年龄、病史情况、体测数据、病因、治疗数据、药物使用情况、持续时间和现状进行分类记录和归档;Step A1: The smart device collects the current patient's condition data, preprocesses the data, and transmits it to the compounding drug control server; the data preprocessing is to archive the condition data and organize it into structured data; the structured data According to the patient's name, gender, age, medical history, physical measurement data, etiology, treatment data, drug use, duration and status, classify and record and file;
步骤A2:配制药品控制服务器采用基于深度学习的智能配药制药算法输出不同病患者所需药品的药量的配比表;Step A2: The compounding drug control server adopts the intelligent dispensing and pharmaceutical algorithm based on deep learning to output the proportioning table of the amount of medicines required by different patients;
步骤A3:配制药品控制服务器定期通过智能设备实时对病患者采集数据预处理后的病情数据,采用本发明提出的一种基于深度学习的智能配药制药算法对病患者的所需药品的药量配比进行变更,并将变更后的药量配比表传输给病患者或者医生。Step A3: The preparation drug control server periodically collects the preprocessed condition data of the patient through the intelligent device in real time, and uses the deep learning-based intelligent dispensing and pharmaceutical algorithm proposed by the present invention to dispense the required medicine of the patient. The ratio is changed, and the changed dose ratio table is transmitted to the patient or doctor.
进一步地,所述的基于深度学习的智能配药制药算法包括以下步骤:Further, the described deep learning-based intelligent dispensing pharmaceutical algorithm includes the following steps:
步骤B1:随机分别初始化Actor网络和Critic网络的参数w和θ;Step B1: Randomly initialize the parameters w and θ of the Actor network and the Critic network respectively;
步骤B2:判断当前时刻t是否小于预设的迭代周期T,若是,则转步骤B3,否则转步骤B10;Step B2: determine whether the current time t is less than the preset iteration period T, if so, go to step B3, otherwise go to step B10;
步骤B3:初始化状态集S,经过数据预处理后,得到其特征向量φ(S);Step B3: Initialize the state set S, and obtain its feature vector φ(S) after data preprocessing;
步骤B4:Actor网络用φ(S)作为数据输入,输出当前时刻相应的行为集A,基于行为集A得到下一时刻状态S′和Critic网络的立即奖赏R;Step B4: The Actor network uses φ(S) as the data input, outputs the corresponding behavior set A at the current moment, and obtains the next moment state S' and the immediate reward R of the Critical network based on the behavior set A;
步骤B5:Critic网络分别使用φ(S),φ(S′)作为数据输入,得到输出的当前状态的总累计奖赏V(S)和后续状态的总累计奖赏V(S′),其中,依据式(1)和式(2)分别计算V(S)和V(S’):Step B5: The Critic network uses φ(S) and φ(S') as data input respectively, and obtains the output total cumulative reward V(S) of the current state and the total cumulative reward V(S') of the subsequent state. Equations (1) and (2) calculate V(S) and V(S'), respectively:
V(S′)=R(t)+βV[S′,argmaxA′V(S′,A′|w|θ)] (2)V(S')=R(t)+βV[S', argmax A' V(S', A'|w|θ)] (2)
其中,R(t)表示t时刻的即刻奖赏,β表示折扣因子,A′表示下一时刻的行为,St和At分别表示t时刻的状态和行为;Among them, R(t) represents the immediate reward at time t, β represents the discount factor, A′ represents the behavior at the next moment, and S t and A t represent the state and behavior at time t, respectively;
步骤B6:Critic网络从回放缓存池中随机抽取D个样本,根据式(3)计算误差函数δ:Step B6: The Critic network randomly selects D samples from the playback buffer pool, and calculates the error function δ according to formula (3):
δ=R(t)+αV(S′)-V(S) (3)δ=R(t)+αV(S′)-V(S) (3)
其中,α表示更新率,其范围为[0,1];Among them, α represents the update rate, and its range is [0, 1];
步骤B7:Critic网络根据式(4)作为损失函数L(w),根据式(5)计算损失函数的梯度,根据式(6)更新Critic网络参数w,用于对Critic网络参数的梯度更新:Step B7: The Critic network takes the loss function L(w) according to the formula (4), calculates the gradient of the loss function according to the formula (5), and updates the critical network parameter w according to the formula (6), which is used to update the gradient of the critical network parameters:
其中,k表示样本计数的统计变量,γ表示学习步长,表示学习的速率,其范围是[0,1];Among them, k represents the statistical variable of sample count, γ represents the learning step size, represents the learning rate, and its range is [0, 1];
步骤B8:根据式(7)更新Actor的网络参数θ:Step B8: Update Actor's network parameter θ according to formula (7):
其中,为学习步长,即学习率,范围为[0,1];π表示Actor网络在状态S下,采取行为A所依据的策略,表示关于参数θ的梯度;in, is the learning step size, that is, the learning rate, in the range [0, 1]; π indicates that the Actor network adopts the strategy based on the behavior A in the state S, represents the gradient with respect to the parameter θ;
步骤B9:输出Actor网络的策略集π;Step B9: Output the policy set π of the Actor network;
步骤B10:中止循环;Step B10: stop the cycle;
优选地,所述的配制药品控制服务器是能够运行基于深度学习的智能配药制药算法的APP和硬件设备,所述的APP是一种应用程序,执行与硬件设备上的应用软件,所述的硬件设备指计算机或者手机所包括的硬件设备。Preferably, the compounding drug control server is an APP and a hardware device capable of running an intelligent dispensing and pharmaceutical algorithm based on deep learning. The APP is an application program that executes the application software on the hardware device, and the hardware Devices refer to hardware devices included in computers or mobile phones.
优选地,所述的药量配比表至少包括以下两项:药物名称和所需药量。Preferably, the dosage ratio table includes at least the following two items: the name of the medicine and the required dosage.
优选地,所述的回放缓存池用于存储Actor网络和Critic网络样本,所述样本包括(S,A,R,S′)。Preferably, the playback buffer pool is used to store Actor network and Critic network samples, and the samples include (S, A, R, S').
有益效果:本发明提出一种基于深度学习的智能配药制药方法。该方法对智能设备端所采集的病患者病情数据进行数据预处理,将处理后的数据传输给配制药品控制服务器,配制药品控制服务器采用基于深度学习的智能配药制药算法进行训练学习,经过训练的网络模型,用于对后续时刻未知的数据采用精准化分析,输出不同病患者所需药品的药量的配比表,配制药品控制服务器定期接收预处理后的病患者数据,及时跟踪和调整病患者所需药品的药量的配比表,从而对病患者实现差异化和定制化的药品配置服务,同时,为厂商提升了配制药品的受众范围,并实现配制药品的智能差异化管理。Beneficial effects: The present invention proposes an intelligent dispensing method based on deep learning. The method performs data preprocessing on the patient's condition data collected by the smart device, and transmits the processed data to the compounding drug control server. The network model is used to accurately analyze the unknown data at the subsequent time, output the proportioning table of the amount of drugs required by different patients, and the preparation drug control server regularly receives the preprocessed patient data, and timely tracks and adjusts the disease. The proportioning table of the amount of medicines required by patients, so as to achieve differentiated and customized medicine configuration services for patients, at the same time, it can improve the audience scope of medicines for manufacturers, and realize intelligent and differentiated management of medicines.
附图说明Description of drawings
图1是一种基于深度学习的智能配药制药方法的流程示意图;Fig. 1 is a kind of schematic flow chart of the intelligent dispensing pharmaceutical method based on deep learning;
图2是一种基于深度学习的智能配药制药方法中的算法运行原理结构示意图;Fig. 2 is a kind of schematic diagram of the operation principle of the algorithm in the intelligent dispensing and pharmaceutical method based on deep learning;
图3是一种基于深度学习的智能配药制药方法中的算法流程示意图。Fig. 3 is a schematic diagram of an algorithm flow in a deep learning-based intelligent pharmaceutical dispensing method.
具体实施方式Detailed ways
为使本发明的目的、技术方案和优点更加清楚明了,下面结合具体实施方式并参照附图,对本发明进一步详细说明。应该理解,这些实施方式仅仅用于解释本发明的技术原理,并非旨在限制本发明的保护范围。此外,在以下说明中,省略了对公知结构和技术的描述,以避免不必要地混淆本发明的概念。In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the specific embodiments and the accompanying drawings. It should be understood that these embodiments are only used to explain the technical principle of the present invention, and are not intended to limit the protection scope of the present invention. Also, in the following description, descriptions of well-known structures and techniques are omitted to avoid unnecessarily obscuring the concepts of the present invention.
基本知识:基于深度学习的智能配药制药算法包含三个网络:Actor、Critic网络和Critic目标网络。Actor网络是由一个网络构成,该网络也是采用深度卷积神经网络的结构,即输入层,隐藏层和输出层。网络接收输入的数据和系统反馈的奖赏或者惩罚信号,通过隐藏层依据目标函数不断调整参数,训练学习出网络的模型。其是基于策略的Q网络。Critic网络包含两个网络,类似于深度Q网络,一个原网络,用于训练模型,一个目标Q网络,用于定期保存原网络的网络参数模型。这里我们将目标Q网络称之为Critic目标网络。Basic knowledge: The deep learning-based intelligent dispensing and pharmaceutical algorithm consists of three networks: Actor, Critic network and Critic target network. Actor network is composed of a network, which also adopts the structure of deep convolutional neural network, namely input layer, hidden layer and output layer. The network receives the input data and the reward or punishment signal fed back by the system, and continuously adjusts the parameters according to the objective function through the hidden layer to train and learn the model of the network. It is a policy-based Q network. The Critic network consists of two networks, similar to the deep Q network, an original network for training the model, and a target Q network for periodically saving the network parameter model of the original network. Here we refer to the target Q network as the Critic target network.
基于深度学习的智能配药制药算法的思路如下:The idea of intelligent dispensing and pharmaceutical algorithm based on deep learning is as follows:
1.Actor网络采用基于策略的Q网络,首先观察当前状态,采用∈-贪婪选择的方法,执行一个行为;1. Actor network adopts policy-based Q network, first observes the current state, adopts ∈-greedy selection method, and executes a behavior;
2.Critic网络依据Actor网络的当前的状态和行为,给出一个评分,这个评分依据是从当前时刻t到迭代结束累计的总的奖赏的打分和Critic目标网络打分综合评判进行不断调整打分策略。总的累计奖赏由系统或者环境反馈给出。2. The Critic network gives a score based on the current state and behavior of the Actor network. This score is based on the score of the total reward accumulated from the current time t to the end of the iteration and the comprehensive evaluation of the Critic target network score to continuously adjust the scoring strategy. The total cumulative reward is given by system or environmental feedback.
3.Actor网络依据Critic网络的打分即奖赏,调整自己的行为策略。3. Actor network adjusts its behavior strategy according to the score of Critic network, which is the reward.
4.Critic网络依据系统或者环境真实地奖赏和Critic目标网络地评分,不断调整自己地打分策略,Actor网络和Critic网络不断经过网络训练,最终Actor网络输出最优行为集。4. The Critic network constantly adjusts its own scoring strategy according to the system or environment's real reward and the Critic target network's scoring. Actor network and Critic network undergo continuous network training, and finally Actor network outputs the optimal behavior set.
本发明提供一种基于深度学习的智能配药制药方法,该方法的流程示意图如图1所示,包括以下步骤:The present invention provides a deep learning-based intelligent dispensing and pharmaceutical method, and the schematic flowchart of the method is shown in Figure 1, including the following steps:
步骤A1:智能设备采集当前病患者病情数据,将数据预处理后,传输给配制药品控制服务器;所述数据预处理是将病情数据归档,整理成有结构化的数据;所述结构化的数据依据病患者姓名、性别、年龄、病史情况、体测数据、病因、治疗数据、药物使用情况、持续时间和现状进行分类记录和归档;Step A1: The smart device collects the current patient's condition data, preprocesses the data, and transmits it to the compounding drug control server; the data preprocessing is to archive the condition data and organize it into structured data; the structured data According to the patient's name, gender, age, medical history, physical measurement data, etiology, treatment data, drug use, duration and status, classify and record and file;
具体实施例1:病患者利用智能手机、带有医用功能的智能手环或者血压、血氧、血糖和体温仪等设备搜集病情数据。Specific embodiment 1: The patient collects disease data by using a smart phone, a smart bracelet with medical functions, or devices such as blood pressure, blood oxygen, blood sugar, and thermometer.
具体实施例2:病患者通过医护人员的检查诊断单、机器拍的CT图像等通过远程医疗设备将病情数据传输给配制药品控制服务器或者制配药者;所述配制药品控制服务器采用基于深度学习的智能配药制药方法差异化、智能化的生成药物配量表。Specific embodiment 2: The patient transmits the disease data to the drug preparation control server or the drug dispenser through the medical staff's examination and diagnosis sheet, the CT image taken by the machine, etc. through the remote medical equipment; the drug preparation control server adopts the deep learning-based Intelligent dispensing The pharmaceutical method is differentiated and intelligent to generate the drug dispensing table.
具体实施例3:医护专业人员或者患病者通过语音或者视频将病情数据通过智能设备传输给配制药品控制服务器或者制配药者。Specific embodiment 3: The medical professional or the patient transmits the condition data through the smart device to the drug preparation control server or the drug dispenser through voice or video.
具体实施例4:医疗设备的业务数据库获取:病案记录、电子病历和临床数据,包括患者入院、诊断,住院、治疗、检查、药物和出院信息。Specific embodiment 4: Business database acquisition of medical equipment: medical records, electronic medical records and clinical data, including patient admission, diagnosis, hospitalization, treatment, examination, medication and discharge information.
步骤A2:配制药品控制服务器采用基于深度学习的智能配药制药算法输出不同病患者所需药品的药量的配比表;Step A2: The compounding drug control server adopts the intelligent dispensing and pharmaceutical algorithm based on deep learning to output the proportioning table of the amount of medicines required by different patients;
步骤A3:配制药品控制服务器定期通过智能设备实时对病患者采集数据预处理后的病情数据,采用本发明提出的一种基于深度学习的智能配药制药算法对病患者的所需药品的药量配比进行变更,并将变更后的药量配比表传输给病患者或者医生。Step A3: The preparation drug control server periodically collects the preprocessed condition data of the patient through the intelligent device in real time, and uses the deep learning-based intelligent dispensing and pharmaceutical algorithm proposed by the present invention to dispense the required medicine of the patient. The ratio is changed, and the changed dose ratio table is transmitted to the patient or doctor.
图2描述是一种基于深度学习的智能配药制药方法中的算法运行原理结构示意图,首先Actor网络初始化当前状态,采用某种策略,执行一个行为;Figure 2 depicts a schematic diagram of the operating principle of the algorithm in a deep learning-based intelligent pharmaceutical method. First, the Actor network initializes the current state, adopts a certain strategy, and executes a behavior;
具体实施例1,Actor网络采用∈-贪婪选择策略,即以∈的概率选择某个行为,以1-∈的概率从回放缓存池中选取某个行为执行。Specific embodiment 1, the Actor network adopts the ∈-greedy selection strategy, that is, selects a certain behavior with the probability of ∈, and selects a certain behavior from the playback buffer pool with the probability of 1-∈ to execute.
具体实施例2,Actor网络采用随机选择策略,即随机选择某个行为执行。In the specific embodiment 2, the Actor network adopts a random selection strategy, that is, a certain behavior is randomly selected for execution.
具体实施例3,Actor网络采用优先级采样的方式选择策略,即在样本采样的时候预先设定的优先级的顺序进行选择某个行为执行。In the specific embodiment 3, the Actor network adopts a priority sampling method to select a strategy, that is, a certain behavior is selected and executed in the order of the preset priority when the sample is sampled.
进一步地,Actor网络将当前的状态和执行的行为反馈给Critic网络,Critic网络最初采用随机策略给Actor网络的行为进行打分(即奖赏),Actor网络依据此奖励,调整自己的策略和行为,并获得下一时刻的状态,将获得的状态发送给Critic网络,将当前状态,行为,奖励及下一时刻的状态作为一个样本元组存放于回放缓存池中。在后续的时间中,Critic网络依据环境给出的真实奖励和Critic目标网络的打分以及自身当前存取的样本学习打分策略,Critic网络和Critic目标网络依据式(4)计算损失函数,采用式(5)计算损失函数的梯度,从而进行误差估计,不断调整Critic网络的网络参数,并将训练调整后的网络参数定期拷贝给Critic目标网络,由Critic目标网络保存训练较优的网络模型参数。Further, the Actor network feeds back the current state and execution behavior to the Critic network. The Critic network initially uses a random strategy to score (ie, reward) the behavior of the Actor network. Based on this reward, the Actor network adjusts its own strategy and behavior, and Obtain the state of the next moment, send the obtained state to the Critic network, and store the current state, behavior, reward and the state of the next moment as a sample tuple in the playback buffer pool. In the following time, the Critic network learns the scoring strategy according to the real reward given by the environment and the score of the Critic target network and the samples currently accessed by itself. The Critic network and the Critic target network calculate the loss function according to formula (4), using formula ( 5) Calculate the gradient of the loss function, so as to estimate the error, continuously adjust the network parameters of the Critic network, and periodically copy the network parameters after training to the Critic target network, and the Critic target network saves the network model parameters with better training.
本发明提供一种基于深度学习的智能配药制药方法,该方法的算法流程示意图如图3所示,其算法流程如发明内容中步骤B1-B10所述,这里不再赘述。The present invention provides an intelligent pharmaceutical dispensing method based on deep learning. The schematic diagram of the algorithm flow of the method is shown in FIG. 3 .
具体实施例1:药量配比表包括:某种药物名称、所属种类、药性和所需药量。Specific embodiment 1: The dosage ratio table includes: the name of a certain medicine, the type it belongs to, the properties of the medicine and the required dosage.
具体实施例2:药量配比表包括:病患者姓名、药物名称、所需药量和建议服用天数。Specific embodiment 2: the dosage ratio table includes: the patient's name, the name of the drug, the required amount of the drug and the number of days recommended for taking it.
所述的配制药品控制服务器是能够运行基于深度学习的智能配药制药算法的APP和硬件设备,所述的APP是一种应用程序,执行与硬件设备上的应用软件,所述的硬件设备指计算机所包括的硬件设备。The described preparation drug control server is an APP and a hardware device capable of running an intelligent dispensing and pharmaceutical algorithm based on deep learning. The described APP is an application program that executes application software on the hardware device, and the hardware device refers to a computer. Included hardware devices.
具体实施例1:配制药品控制服务器采用运行基于深度学习的智能配药制药算法的APP的计算机。Specific embodiment 1: The control server for compounding medicines adopts a computer running an APP based on a deep learning-based intelligent compounding and pharmaceutical algorithm.
具体实施例2:配制药品控制服务器采用运行基于深度学习的智能配药制药算法的APP的手机。Specific embodiment 2: The control server for compounding medicine adopts the mobile phone of the APP running the intelligent medicine compounding and pharmaceutical algorithm based on deep learning.
具体实施例3:配制药品控制服务器采用运行基于深度学习的智能配药制药算法的APP的工作站。Specific embodiment 3: The preparation drug control server adopts a workstation running an APP based on an intelligent dispensing and pharmaceutical algorithm based on deep learning.
通过上述方式,本发明一种基于深度学习的智能配药制药方法,实现了实时、差异化、智能化为病患者制定药物配比,同时对配药制药厂商的配药制药模式向智能化和定制化服务转型提供了高效便捷的方法,具有广泛的市场应用前景。Through the above method, the present invention provides a deep learning-based intelligent dispensing and pharmaceutical method, which realizes real-time, differentiated, and intelligent formulation of drug ratios for patients, and at the same time, provides intelligent and customized services for the dispensing and pharmaceutical mode of dispensing pharmaceutical manufacturers. Transformation provides an efficient and convenient method with broad market application prospects.
上述描述仅作为本发明可实施的技术方案提出,不作为对其技术方案本身的单一限制条件。The above description is only provided as an implementable technical solution of the present invention, and not as a single limitation of the technical solution itself.
Claims (5)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910490372.XA CN112071388A (en) | 2019-06-10 | 2019-06-10 | Intelligent medicine dispensing and preparing method based on deep learning |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910490372.XA CN112071388A (en) | 2019-06-10 | 2019-06-10 | Intelligent medicine dispensing and preparing method based on deep learning |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112071388A true CN112071388A (en) | 2020-12-11 |
Family
ID=73657875
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910490372.XA Pending CN112071388A (en) | 2019-06-10 | 2019-06-10 | Intelligent medicine dispensing and preparing method based on deep learning |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112071388A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113244837A (en) * | 2021-03-31 | 2021-08-13 | 中国农业科学院烟草研究所(中国烟草总公司青州烟草研究所) | Integrated device based on nano pesticide and control method |
CN117275661A (en) * | 2023-11-23 | 2023-12-22 | 太原理工大学 | Deep reinforcement learning-based lung cancer patient medication prediction method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6658396B1 (en) * | 1999-11-29 | 2003-12-02 | Tang Sharon S | Neural network drug dosage estimation |
CN103250176A (en) * | 2010-08-13 | 2013-08-14 | 智能医学公司 | Systems and methods for producing individually tailored pharmaceutical products |
CN109068391A (en) * | 2018-09-27 | 2018-12-21 | 青岛智能产业技术研究院 | Car networking communication optimization algorithm based on edge calculations and Actor-Critic algorithm |
-
2019
- 2019-06-10 CN CN201910490372.XA patent/CN112071388A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6658396B1 (en) * | 1999-11-29 | 2003-12-02 | Tang Sharon S | Neural network drug dosage estimation |
CN103250176A (en) * | 2010-08-13 | 2013-08-14 | 智能医学公司 | Systems and methods for producing individually tailored pharmaceutical products |
CN109068391A (en) * | 2018-09-27 | 2018-12-21 | 青岛智能产业技术研究院 | Car networking communication optimization algorithm based on edge calculations and Actor-Critic algorithm |
Non-Patent Citations (2)
Title |
---|
LU WANG 等: "Supervised Reinforcement Learning with Recurrent Neural Network for Dynamic Treatment Recommendation", KDD 2018, pages 1 - 5 * |
胡德文 等: "神经网络自适应控制", 31 January 2006, 国防科技大学出版社, pages: 307 - 308 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113244837A (en) * | 2021-03-31 | 2021-08-13 | 中国农业科学院烟草研究所(中国烟草总公司青州烟草研究所) | Integrated device based on nano pesticide and control method |
CN117275661A (en) * | 2023-11-23 | 2023-12-22 | 太原理工大学 | Deep reinforcement learning-based lung cancer patient medication prediction method and device |
CN117275661B (en) * | 2023-11-23 | 2024-02-09 | 太原理工大学 | Deep reinforcement learning-based lung cancer patient medication prediction method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Goud et al. | Risk of Guillain-Barré syndrome following recombinant zoster vaccine in Medicare beneficiaries | |
US20180365385A1 (en) | Monitoring and evaluating patient reactions to medications | |
US20170201568A1 (en) | Processing of Portable Device Data | |
US12062421B2 (en) | Digital therapeutic systems and methods | |
CN105190666A (en) | Systems and methods for promoting integrated behavioral support | |
US20170301255A1 (en) | Behavior change system | |
US10395764B2 (en) | Method and apparatus for recognition of patient activity | |
US10964432B2 (en) | Processing of portable device data | |
CN109767842B (en) | Disease early warning method, disease early warning device and computer readable storage medium | |
CN103559397A (en) | Intelligent service system and method applied to hypertension chronic diseases | |
US20210383925A1 (en) | Systems for adaptive healthcare support, behavioral intervention, and associated methods | |
US12023175B1 (en) | Virtual health coach based insulin titration platform | |
WO2023202373A1 (en) | Disease management method and apparatus, computer storage medium, and electronic device | |
CN113658662A (en) | Medicine dispensing method, device, equipment and storage medium based on big medication data | |
CN110415133A (en) | A smart agricultural doctor management system and method | |
CN112071388A (en) | Intelligent medicine dispensing and preparing method based on deep learning | |
Byeon et al. | Deep neural network model for enhancing disease prediction using auto encoder based broad learning | |
CN110277152A (en) | Pharmacy service system based on user portrait | |
Fry et al. | Association of postoperative opioid prescription size and patient satisfaction | |
US20210401295A1 (en) | System and methods utilizing artificial intelligence algorithms to analyze wearable activity tracker data | |
Steele et al. | A survey of cyber-physical system implementations of real-time personalized interventions | |
CN118553444A (en) | Nursing monitoring system and method for obese patients | |
US20240029888A1 (en) | Generating and traversing data structures for automated classification | |
CN116543870A (en) | Method, system, equipment and medium for analyzing drug compliance of hypertension patient | |
CN111341435A (en) | An intelligent pathological diagnosis method based on distributed deep learning |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20201211 |