JP7072771B2 - Epilepsy determination device, epilepsy determination system, epilepsy determination method and epilepsy determination program - Google Patents

Epilepsy determination device, epilepsy determination system, epilepsy determination method and epilepsy determination program Download PDF

Info

Publication number
JP7072771B2
JP7072771B2 JP2018051262A JP2018051262A JP7072771B2 JP 7072771 B2 JP7072771 B2 JP 7072771B2 JP 2018051262 A JP2018051262 A JP 2018051262A JP 2018051262 A JP2018051262 A JP 2018051262A JP 7072771 B2 JP7072771 B2 JP 7072771B2
Authority
JP
Japan
Prior art keywords
epilepsy
determination
images
trained model
unit
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.)
Active
Application number
JP2018051262A
Other languages
Japanese (ja)
Other versions
JP2019162237A (en
Inventor
宏知 高橋
亜利 江間見
謙介 川合
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
University of Tokyo NUC
Jichi Medical University
Original Assignee
University of Tokyo NUC
Jichi Medical University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by University of Tokyo NUC, Jichi Medical University filed Critical University of Tokyo NUC
Priority to JP2018051262A priority Critical patent/JP7072771B2/en
Priority to PCT/JP2019/011268 priority patent/WO2019181887A1/en
Publication of JP2019162237A publication Critical patent/JP2019162237A/en
Application granted granted Critical
Publication of JP7072771B2 publication Critical patent/JP7072771B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B10/00Other methods or instruments for diagnosis, e.g. instruments for taking a cell sample, for biopsy, for vaccination diagnosis; Sex determination; Ovulation-period determination; Throat striking implements
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • AHUMAN NECESSITIES
    • A61MEDICAL OR VETERINARY SCIENCE; HYGIENE
    • A61BDIAGNOSIS; SURGERY; IDENTIFICATION
    • A61B5/00Measuring for diagnostic purposes; Identification of persons
    • A61B5/24Detecting, measuring or recording bioelectric or biomagnetic signals of the body or parts thereof
    • A61B5/316Modalities, i.e. specific diagnostic methods
    • A61B5/369Electroencephalography [EEG]

Landscapes

  • Health & Medical Sciences (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Surgery (AREA)
  • Animal Behavior & Ethology (AREA)
  • Pathology (AREA)
  • Engineering & Computer Science (AREA)
  • Biomedical Technology (AREA)
  • Heart & Thoracic Surgery (AREA)
  • Medical Informatics (AREA)
  • Molecular Biology (AREA)
  • Veterinary Medicine (AREA)
  • Public Health (AREA)
  • General Health & Medical Sciences (AREA)
  • Biophysics (AREA)
  • Physics & Mathematics (AREA)
  • Psychiatry (AREA)
  • Psychology (AREA)
  • Measurement And Recording Of Electrical Phenomena And Electrical Characteristics Of The Living Body (AREA)
  • Measuring And Recording Apparatus For Diagnosis (AREA)
  • Measurement Of The Respiration, Hearing Ability, Form, And Blood Characteristics Of Living Organisms (AREA)

Description

本発明は、てんかん判定装置、てんかん判定システム、てんかん判定方法及びてんかん判定プログラムに関する。 The present invention relates to an epilepsy determination device, an epilepsy determination system, an epilepsy determination method, and an epilepsy determination program.

従来、患者の頭部に電極を配置して脳波(Electroencephalogram:EEG)を測定し、てんかん発作に特有の脳波パターンを観察することがある。そのような脳波パターンの観察は、てんかんの専門医によって行われることがある。 Conventionally, electrodes are placed on the head of a patient to measure electroencephalogram (EEG), and an electroencephalogram pattern peculiar to an epileptic attack may be observed. Observations of such EEG patterns may be made by an epilepsy specialist.

下記非特許文献1には、脳波を入力として、ウェーブレット変換により特徴量を抽出し、ニューラルネットワークによりてんかん発作が生じているか否かを分類する技術が記載されている。 The following Non-Patent Document 1 describes a technique for classifying whether or not an epileptic seizure has occurred by using a brain wave as an input, extracting a feature amount by a wavelet transform, and using a neural network.

E. Juarez-Guerra、V. Alarcon-Aquino、P. Gomez- Gil、"Epilepsy seizure detection in eeg signals using wavelet transforms and neural networks"、2015年、Lecture Notes in Electrical Engineering、volume 312、p.261-269E. Juarez-Guerra, V. Alarcon-Aquino, P. Gomez- Gil, "Epilepsy seizure detection in eeg signals using wavelet transforms and neural networks", 2015, Lecture Notes in Electrical Engineering, volume 312, p. 261-269

しかしながら、てんかん発作には様々な種類があり、発作中の脳波パターンも多岐にわたることが知られている。そのため、従来の技術では、十分に高い精度でてんかん発作を判定することが難しかった。 However, it is known that there are various types of epileptic seizures and that the EEG patterns during the seizures are also diverse. Therefore, it has been difficult to determine an epileptic seizure with sufficiently high accuracy by the conventional technique.

そこで、本発明は、てんかん発作をより高い精度で判定することができるてんかん判定装置、てんかん判定システム、てんかん判定方法及びてんかん判定プログラムを提供する。 Therefore, the present invention provides an epilepsy determination device, an epilepsy determination system, an epilepsy determination method, and an epilepsy determination program capable of determining an epilepsy attack with higher accuracy.

本発明の一態様に係るてんかん判定装置は、対象者の脳波データを取得する取得部と、脳波データを所定の時間幅で切り出して、脳波を表す複数の画像を生成する生成部と、複数の画像を学習済みモデルに入力し、学習済みモデルによって、複数の画像のいずれかにてんかん発作の脳波が表れているかを判定させる判定部と、を備える。 The epilepsy determination device according to one aspect of the present invention includes an acquisition unit that acquires brain wave data of a subject, a generation unit that cuts out the brain wave data in a predetermined time width and generates a plurality of images representing the brain waves, and a plurality of generation units. An image is input to the trained model, and the trained model is provided with a determination unit for determining whether an electroencephalogram of an epileptic seizure appears in any of a plurality of images.

この態様によれば、脳波データを所定の時間幅で切り出して、脳波を表す複数の画像を生成して、複数の画像のいずれかにてんかん発作の脳波が表れているかを学習済みモデルに判定させることで、専門医がてんかん発作を診断するのと同様の条件で判定を行うことができ、より高い精度でてんかん発作を判定することができる。 According to this aspect, the EEG data is cut out in a predetermined time width, a plurality of images representing the EEG are generated, and the trained model is made to determine whether the EEG of the epileptic seizure appears in any of the plurality of images. As a result, the determination can be made under the same conditions as when a specialist diagnoses an epilepsy attack, and the epilepsy attack can be determined with higher accuracy.

上記態様において、脳波を表す複数のテスト用画像を学習済みモデルに入力して、学習済みモデルの判定精度を評価する評価部と、評価部による評価に基づいて、所定の時間幅の設定を行う設定部と、設定部により設定された所定の時間幅で切り出された、脳波を表す複数の学習用画像と、複数の学習用画像がてんかん発作の脳波を表しているか否かに関する情報と、を学習用データとして学習モデルを学習させ、新たな学習済みモデルを生成する学習部と、をさらに備えてもよい。 In the above embodiment, a plurality of test images representing brain waves are input to the trained model, and a predetermined time width is set based on the evaluation unit that evaluates the judgment accuracy of the trained model and the evaluation unit. A setting unit, a plurality of learning images representing brain waves cut out in a predetermined time width set by the setting unit, and information on whether or not the plurality of learning images represent brain waves of epilepsy. A learning unit that trains a learning model as training data and generates a new trained model may be further provided.

この態様によれば、脳波データを切り出す時間幅を調整して、判定精度が向上するように新たな学習済みモデルを生成することができ、より高い精度でてんかん発作を判定することができる。 According to this aspect, a new trained model can be generated so that the determination accuracy is improved by adjusting the time width for cutting out the EEG data, and the epilepsy attack can be determined with higher accuracy.

上記態様において、評価部は、複数の指標に基づいて学習済みモデルの判定精度を評価してもよい。 In the above aspect, the evaluation unit may evaluate the determination accuracy of the trained model based on a plurality of indexes.

この態様によれば、学習済みモデルの判定精度を多面的に評価することができ、脳波データを切り出す時間幅をより適切に調整することができる。 According to this aspect, the determination accuracy of the trained model can be evaluated from various aspects, and the time width for cutting out the electroencephalogram data can be adjusted more appropriately.

上記態様において、複数の指標は、てんかん発作が表れている画像について、てんかん発作が表れていると正しく判定できるかを示す指標と、てんかん発作が表れていない画像について、てんかん発作が表れていないと正しく判定できるかを示す指標と、てんかん発作が表れている画像について、てんかん発作が表れていないと誤って判定するかを示す指標と、てんかん発作が表れていない画像について、てんかん発作が表れていると誤って判定するかを示す指標と、を含んでよい。 In the above embodiment, the plurality of indicators are an index showing whether an image showing an epilepsy attack can be correctly determined to have an epilepsy attack, and an index showing whether an image showing no epilepsy attack does not show an epilepsy attack. An index showing whether it can be judged correctly, an index showing whether an image showing an epilepsy attack is erroneously judged not to have an epilepsy attack, and an image showing an epilepsy attack showing an epilepsy attack. It may include an index indicating whether or not it is erroneously determined.

この態様によれば、トゥルー・ポジティブ、トゥルー・ネガティブ、フォールス・ネガティブ及びフォールス・ポジティブの場合について学習済みモデルの判定精度を多面的に評価することができ、脳波データを切り出す時間幅をより適切に調整することができる。 According to this aspect, it is possible to evaluate the judgment accuracy of the trained model from various aspects in the cases of true positive, true negative, false negative and false positive, and the time width for cutting out the EEG data is more appropriate. Can be adjusted.

上記態様において、複数の画像は、脳波データを測定した複数の電極に対応する複数の色で示された波形を含んでもよい。 In the above embodiment, the plurality of images may include waveforms shown in a plurality of colors corresponding to the plurality of electrodes for which the electroencephalogram data is measured.

この態様によれば、脳波データを測定した複数の電極を区別して、専門医がてんかん発作を診断するのと同様の条件で判定を行うことができ、より高い精度でてんかん発作を判定することができる。 According to this aspect, it is possible to distinguish a plurality of electrodes for which EEG data are measured and make a judgment under the same conditions as a specialist diagnoses an epilepsy attack, and it is possible to judge an epilepsy attack with higher accuracy. ..

上記態様において、学習済みモデルは、学習済みの畳み込みニューラルネットワークであってもよい。 In the above embodiment, the trained model may be a trained convolutional neural network.

この態様によれば、人と同程度かそれ以上の判定精度を有する学習済みモデルを用いることができ、より高い精度でてんかん発作を判定することができる。 According to this aspect, a trained model having a determination accuracy equal to or higher than that of a human can be used, and an epileptic seizure can be determined with higher accuracy.

上記態様において、生成部は、脳波データに対してローパスフィルタ、ハイパスフィルタ及びノッチフィルタのうち少なくともいずれかを施した後、脳波データを所定の時間幅で切り出して、複数の画像を生成してもよい。 In the above embodiment, the generation unit may generate a plurality of images by applying at least one of a low-pass filter, a high-pass filter, and a notch filter to the electroencephalogram data, and then cutting out the electroencephalogram data in a predetermined time width. good.

この態様によれば、脳波データに含まれることがあるノイズを除去した上で複数の画像を生成することができ、より高い精度でてんかん発作を判定することができる。 According to this aspect, it is possible to generate a plurality of images after removing noise that may be included in the electroencephalogram data, and it is possible to determine an epileptic seizure with higher accuracy.

本発明の他の態様に係るてんかん判定システムは、対象者の脳波データを測定する測定装置と、脳波データに基づいて、てんかんを判定するてんかん判定装置と、を備えるてんかん判定システムであって、てんかん判定装置は、脳波データを所定の時間幅で切り出して、脳波を表す複数の画像を生成する生成部と、複数の画像を学習済みモデルに入力し、学習済みモデルによって、複数の画像のいずれかにてんかん発作の脳波が表れているかを判定させる判定部と、判定部により、複数の画像のいずれかにてんかん発作の脳波が表れていると判定された場合に、所定の端末に通知する通知部と、を有する。 The epilepsy determination system according to another aspect of the present invention is an epilepsy determination system including a measuring device for measuring brain wave data of a subject and an epilepsy determination device for determining epilepsy based on the brain wave data. The determination device cuts out the electroencephalogram data in a predetermined time width to generate a plurality of images representing the electroencephalogram, and inputs a plurality of images to the trained model, and depending on the trained model, one of the plurality of images. A determination unit that determines whether an epilepsy brain wave is appearing, and a notification unit that notifies a predetermined terminal when it is determined by the determination unit that an epilepsy brain wave is appearing in any of a plurality of images. And have.

この態様によれば、脳波データを所定の時間幅で切り出して、脳波を表す複数の画像を生成して、複数の画像のいずれかにてんかん発作の脳波が表れているかを学習済みモデルに判定させることで、専門医がてんかん発作を診断するのと同様の条件で判定を行うことができ、より高い精度でてんかん発作を判定することができる。また、てんかん発作の脳波が表れていると判定された場合に、所定の端末に通知することで、脳波の確認作業の負担を軽減することができる。 According to this aspect, the EEG data is cut out in a predetermined time width, a plurality of images representing the EEG are generated, and the trained model is made to determine whether the EEG of the epileptic seizure appears in any of the plurality of images. As a result, the determination can be made under the same conditions as when a specialist diagnoses an epilepsy attack, and the epilepsy attack can be determined with higher accuracy. In addition, when it is determined that an electroencephalogram of an epileptic seizure is appearing, the burden of checking the electroencephalogram can be reduced by notifying a predetermined terminal.

本発明の他の態様に係るてんかん判定方法は、対象者の脳波データを取得することと、脳波データを所定の時間幅で切り出して、脳波を表す複数の画像を生成することと、複数の画像を学習済みモデルに入力し、学習済みモデルによって、複数の画像のいずれかにてんかん発作の脳波が表れているかを判定させることと、を含む。 The epilepsy determination method according to another aspect of the present invention is to acquire the electroencephalogram data of the subject, to cut out the electroencephalogram data in a predetermined time width to generate a plurality of images representing the electroencephalogram, and to generate a plurality of images. Is input to the trained model, and the trained model is used to determine whether the brain wave of the epileptic seizure appears in any of a plurality of images.

この態様によれば、脳波データを所定の時間幅で切り出して、脳波を表す複数の画像を生成して、複数の画像のいずれかにてんかん発作の脳波が表れているかを学習済みモデルに判定させることで、専門医がてんかん発作を診断するのと同様の条件で判定を行うことができ、より高い精度でてんかん発作を判定することができる。 According to this aspect, the EEG data is cut out in a predetermined time width, a plurality of images representing the EEG are generated, and the trained model is made to determine whether the EEG of the epileptic seizure appears in any of the plurality of images. As a result, the determination can be made under the same conditions as when a specialist diagnoses an epilepsy attack, and the epilepsy attack can be determined with higher accuracy.

本発明の他の態様に係るてんかん判定プログラムは、てんかん判定装置に備えられたコンピュータを、対象者の脳波データを取得する取得部、脳波データを所定の時間幅で切り出して、脳波を表す複数の画像を生成する生成部、及び複数の画像を学習済みモデルに入力し、学習済みモデルによって、複数の画像のいずれかにてんかん発作の脳波が表れているかを判定させる判定部、として機能させる。 In the epilepsy determination program according to another aspect of the present invention, a computer provided in the epilepsy determination device is used as an acquisition unit for acquiring electroencephalogram data of a subject, and a plurality of electroencephalogram data are cut out in a predetermined time width to represent an electroencephalogram. It functions as a generation unit that generates an image and a determination unit that inputs a plurality of images to a trained model and determines whether an electroencephalogram of an epileptic seizure appears in any of the plurality of images by the trained model.

この態様によれば、脳波データを所定の時間幅で切り出して、脳波を表す複数の画像を生成して、複数の画像のいずれかにてんかん発作の脳波が表れているかを学習済みモデルに判定させることで、専門医がてんかん発作を診断するのと同様の条件で判定を行うことができ、より高い精度でてんかん発作を判定することができる。 According to this aspect, the EEG data is cut out in a predetermined time width, a plurality of images representing the EEG are generated, and the trained model is made to determine whether the EEG of the epileptic seizure appears in any of the plurality of images. As a result, the determination can be made under the same conditions as when a specialist diagnoses an epilepsy attack, and the epilepsy attack can be determined with higher accuracy.

本発明によれば、てんかん発作をより高い精度で判定することができるてんかん判定装置、てんかん判定システム、てんかん判定方法及びてんかん判定プログラムを提供することができる。 According to the present invention, it is possible to provide an epilepsy determination device, an epilepsy determination system, an epilepsy determination method, and an epilepsy determination program capable of determining an epilepsy attack with higher accuracy.

本発明の実施形態に係るてんかん判定システムの機能ブロックを示す図である。It is a figure which shows the functional block of the epilepsy determination system which concerns on embodiment of this invention. 本実施形態に係るてんかん判定装置の物理的構成を示す図である。It is a figure which shows the physical structure of the epilepsy determination apparatus which concerns on this embodiment. 本実施形態に係るてんかん判定装置の学習済みモデルに入力される画像の一例である。This is an example of an image input to the trained model of the epilepsy determination device according to the present embodiment. 本実施形態に係るてんかん判定装置の判定精度を示す第1グラフである。It is a 1st graph which shows the determination accuracy of the epilepsy determination apparatus which concerns on this embodiment. 本実施形態に係るてんかん判定装置の判定精度を示す第2グラフである。It is a 2nd graph which shows the determination accuracy of the epilepsy determination apparatus which concerns on this embodiment. 本実施形態に係るてんかん判定システムにより実行されるてんかん判定処理のフローチャートである。It is a flowchart of the epilepsy determination process executed by the epilepsy determination system which concerns on this embodiment. 本実施形態に係るてんかん判定システムにより実行される学習処理のフローチャートである。It is a flowchart of the learning process executed by the epilepsy determination system which concerns on this embodiment.

添付図面を参照して、本発明の実施形態について説明する。なお、各図において、同一の符号を付したものは、同一又は同様の構成を有する。 An embodiment of the present invention will be described with reference to the accompanying drawings. In each figure, those with the same reference numerals have the same or similar configurations.

図1は、本発明の実施形態に係るてんかん判定システム1の機能ブロックを示す図である。てんかん判定システム1は、てんかん判定装置10と、測定装置20とを備える。測定装置20は、対象者の脳波を測定する装置であり、対象者の頭部に装着した複数の電極により、対象者の脳の電気活動を測定する。測定装置20は、例えば国際10-20法に従って配置された21個の電極を有してよいが、電極の数や配置は任意である。 FIG. 1 is a diagram showing a functional block of the epilepsy determination system 1 according to the embodiment of the present invention. The epilepsy determination system 1 includes an epilepsy determination device 10 and a measuring device 20. The measuring device 20 is a device that measures the brain waves of the subject, and measures the electrical activity of the subject's brain by a plurality of electrodes attached to the subject's head. The measuring device 20 may have, for example, 21 electrodes arranged according to the international 10-20 method, but the number and arrangement of the electrodes are arbitrary.

てんかん判定装置10は、取得部11、生成部12、判定部13、評価部14、設定部15、学習部16、通知部17及び記憶部18を有する。取得部11は、対象者の脳波データを取得する。取得部11は、測定装置20によって測定された対象者の脳波データを取得してよいが、予め記憶部18又は他の記憶装置に記憶された対象者の脳波データを取得してもよい。 The epilepsy determination device 10 includes an acquisition unit 11, a generation unit 12, a determination unit 13, an evaluation unit 14, a setting unit 15, a learning unit 16, a notification unit 17, and a storage unit 18. The acquisition unit 11 acquires the brain wave data of the subject. The acquisition unit 11 may acquire the electroencephalogram data of the subject measured by the measuring device 20, but may acquire the electroencephalogram data of the subject previously stored in the storage unit 18 or another storage device.

生成部12は、脳波データを所定の時間幅で切り出して、脳波を表す複数の画像を生成する。ここで、所定の時間幅は、任意に設定できるものであるが、例えば、0.5秒、1秒、2秒、5秒及び10秒等であってよい。例えば、所定の時間幅が10秒であり、脳波データの記録時間が1時間(3600秒)である場合、生成部12は、0~10秒の範囲の脳波データを切り出して脳波を表す第1画像を生成し、1~11秒の範囲の脳波データを切り出して脳波を表す第2画像を生成し、この処理を続けて、最後に3590~3600秒の脳波データを切り出して脳波を表す第3591画像を生成してよい。生成部12は、複数の画像により切り出される脳波データの範囲が重複するように、切り出す範囲を等間隔にずらすこととしてよいが、複数の画像により切り出される脳波データの範囲が重複しないようにしてもよい。 The generation unit 12 cuts out the electroencephalogram data in a predetermined time width to generate a plurality of images representing the electroencephalogram. Here, the predetermined time width can be arbitrarily set, and may be, for example, 0.5 seconds, 1 second, 2 seconds, 5 seconds, 10 seconds, or the like. For example, when the predetermined time width is 10 seconds and the recording time of the brain wave data is 1 hour (3600 seconds), the generation unit 12 cuts out the brain wave data in the range of 0 to 10 seconds and represents the brain wave. An image is generated, brain wave data in the range of 1 to 11 seconds is cut out to generate a second image representing an electroencephalogram, this processing is continued, and finally, brain wave data of 3590 to 3600 seconds is cut out to represent an electroencephalogram 3591. You may generate an image. The generation unit 12 may shift the cutout range at equal intervals so that the range of the brain wave data cut out by the plurality of images overlaps, but the range of the brain wave data cut out by the plurality of images may not overlap. good.

生成部12は、脳波データに対してローパスフィルタ、ハイパスフィルタ及びノッチフィルタのうち少なくともいずれかを施した後、脳波データを所定の時間幅で切り出して、複数の画像を生成してよい。ここで、ローパスフィルタは、例えば60Hz以下の周波数のデータを通過させるフィルタであってよく、ハイパスフィルタは、例えば0.5Hz以上の周波数のデータを通過させるフィルタであってよく、ノッチフィルタは、50Hzの周波数のデータを阻止するフィルタであってよい。これにより、脳波データに含まれることがあるノイズを除去した上で複数の画像を生成することができ、より高い精度でてんかん発作を判定することができる。 The generation unit 12 may generate a plurality of images by applying at least one of a low-pass filter, a high-pass filter, and a notch filter to the electroencephalogram data, and then cutting out the electroencephalogram data in a predetermined time width. Here, the low-pass filter may be a filter that passes data having a frequency of, for example, 60 Hz or less, the high-pass filter may be a filter that passes data having a frequency of 0.5 Hz or more, for example, and the notch filter may be a filter that passes data having a frequency of 0.5 Hz or higher. It may be a filter that blocks the data of the frequency of. As a result, it is possible to generate a plurality of images after removing noise that may be included in the electroencephalogram data, and it is possible to determine an epileptic seizure with higher accuracy.

判定部13は、複数の画像を学習済みモデル13aに入力し、学習済みモデル13aによって、複数の画像のいずれかにてんかん発作の脳波が表れているかを判定させる。本実施形態に係るてんかん判定装置10において、学習済みモデル13aは、学習済みの畳み込みニューラルネットワーク(Convolutional Neural Network:CNN)である。学習済みモデル13aとして学習済みの畳み込みニューラルネットワークを用いることで、人と同程度かそれ以上の判定精度を達成することができ、より高い精度でてんかん発作を判定することができる。 The determination unit 13 inputs a plurality of images to the trained model 13a, and causes the trained model 13a to determine whether the brain wave of the epileptic seizure appears in any of the plurality of images. In the epilepsy determination device 10 according to the present embodiment, the trained model 13a is a trained convolutional neural network (CNN). By using the trained convolutional neural network as the trained model 13a, it is possible to achieve a judgment accuracy equal to or higher than that of a human being, and it is possible to judge an epileptic seizure with higher accuracy.

評価部14は、脳波を表す複数のテスト用画像を学習済みモデル13aに入力して、学習済みモデル13aの判定精度を評価する。ここで、評価部14は、複数の指標に基づいて学習済みモデル13aの判定精度を評価してよい。これにより、学習済みモデル13aの判定精度を多面的に評価することができ、脳波データを切り出す時間幅をより適切に調整することができる。 The evaluation unit 14 inputs a plurality of test images representing brain waves into the trained model 13a, and evaluates the determination accuracy of the trained model 13a. Here, the evaluation unit 14 may evaluate the determination accuracy of the trained model 13a based on a plurality of indexes. As a result, the determination accuracy of the trained model 13a can be evaluated from various aspects, and the time width for cutting out the electroencephalogram data can be adjusted more appropriately.

より具体的には、複数の指標は、てんかん発作が表れている画像について、てんかん発作が表れていると正しく判定できるかを示す指標と、てんかん発作が表れていない画像について、てんかん発作が表れていないと正しく判定できるかを示す指標と、てんかん発作が表れている画像について、てんかん発作が表れていないと誤って判定するかを示す指標と、てんかん発作が表れていない画像について、てんかん発作が表れていると誤って判定するかを示す指標と、を含んでよい。このように、トゥルー・ポジティブ、トゥルー・ネガティブ、フォールス・ネガティブ及びフォールス・ポジティブの場合について学習済みモデル13aの判定精度を多面的に評価することで、判定精度を多面的に評価することができ、脳波データを切り出す時間幅をより適切に調整することができる。 More specifically, the multiple indicators show epileptic seizures for images that show epileptic seizures, and for images that do not show epileptic seizures. An index showing whether or not an epilepsy attack can be correctly determined, an index indicating whether or not an image showing an epilepsy attack is mistakenly judged as not showing an epilepsy attack, and an image showing no epilepsy attack show an epilepsy attack. It may include an index indicating whether or not it is erroneously determined. In this way, by evaluating the determination accuracy of the trained model 13a from multiple aspects in the cases of true positive, true negative, false negative, and false positive, the determination accuracy can be evaluated from multiple aspects. The time width for cutting out the EEG data can be adjusted more appropriately.

設定部15は、評価部14による評価に基づいて、所定の時間幅の設定を行う。設定部15は、評価部14による評価が向上するように、所定の時間幅を設定してよい。 The setting unit 15 sets a predetermined time width based on the evaluation by the evaluation unit 14. The setting unit 15 may set a predetermined time width so that the evaluation by the evaluation unit 14 is improved.

学習部16は、設定部15により設定された所定の時間幅で切り出された、脳波を表す複数の学習用画像と、複数の学習用画像がてんかん発作の脳波を表しているか否かに関する情報と、を学習用データとして学習モデルを学習させ、新たな学習済みモデルを生成する。ここで、脳波を表す複数の学習用画像は、過去に測定装置20により測定され、てんかん発作を表しているか否かに関する情報が関連付けられた画像であってよい。学習部16は、学習モデルが畳み込みニューラルネットワーク等のニューラルネットワークの場合、誤差逆伝播法によってニューラルネットワークの重み係数の学習処理を行ってよい。このようにして、設定部15により脳波データを切り出す時間幅を調整して、学習部16によって判定精度が向上するように新たな学習済みモデルを生成することができ、新たな学習済みモデルを判定部13に実装することで、てんかん判定装置10によってより高い精度でてんかん発作を判定することができる。 The learning unit 16 includes a plurality of learning images representing brain waves cut out in a predetermined time width set by the setting unit 15, and information on whether or not the plurality of learning images represent epileptic seizure brain waves. , Is used as training data to train a learning model, and a new trained model is generated. Here, the plurality of learning images representing the brain waves may be images that have been measured by the measuring device 20 in the past and are associated with information regarding whether or not they represent an epileptic seizure. When the learning model is a neural network such as a convolutional neural network, the learning unit 16 may perform learning processing of the weighting coefficient of the neural network by an error back propagation method. In this way, the setting unit 15 can adjust the time width for cutting out the brain wave data, and the learning unit 16 can generate a new trained model so that the determination accuracy is improved, and the new trained model is determined. By mounting it on the unit 13, the epilepsy determination device 10 can determine an epilepsy attack with higher accuracy.

通知部17は、判定部13により、複数の画像のいずれかにてんかん発作の脳波が表れていると判定された場合に、所定の端末に通知する。ここで、所定の端末は、任意の情報処理端末であってよいが、例えば、専門医の用いる端末であったり、対象者を看護する者が用いる端末であったり、対象者自身が用いる端末であったりしてよい。てんかん発作の脳波が表れていると判定された場合に、所定の端末に通知することで、脳波の確認作業の負担を軽減することができる。 When the determination unit 13 determines that the brain wave of the epileptic seizure appears in any of the plurality of images, the notification unit 17 notifies a predetermined terminal. Here, the predetermined terminal may be an arbitrary information processing terminal, and may be, for example, a terminal used by a specialist, a terminal used by a person who cares for the subject, or a terminal used by the subject himself / herself. You may do it. When it is determined that an electroencephalogram of an epileptic seizure is appearing, the burden of checking the electroencephalogram can be reduced by notifying a predetermined terminal.

記憶部18は、学習部16により用いられる学習用データを記憶してよい。もっとも、学習部16及び記憶部18は、てんかん判定装置10に備えられていなくてもよく、学習モデルの学習処理は、通信ネットワークを介してアクセス可能な他の装置によって実行されてもよい。その場合、てんかん判定装置10は、学習処理を行う他の装置に対して学習処理の条件を送信し、学習済みモデルを構成するための情報を受信してよい。学習済みモデルを構成するための情報は、学習モデルを特定する情報であり、ニューラルネットワークの場合、レイヤーの数、レイヤーの種類、レイヤー間のノードの接続、ノードの接続の重み係数(閾値を含む)及び活性化関数の種類等を含んでよい。 The storage unit 18 may store the learning data used by the learning unit 16. However, the learning unit 16 and the storage unit 18 may not be provided in the epilepsy determination device 10, and the learning process of the learning model may be executed by another device accessible via the communication network. In that case, the epilepsy determination device 10 may transmit the conditions of the learning process to another device performing the learning process and receive the information for constructing the trained model. The information for constructing the trained model is the information that identifies the training model, and in the case of a neural network, the number of layers, the type of layer, the connection of nodes between layers, and the weighting coefficient (including the threshold value) of the connection of nodes. ) And the type of activation function and the like.

図2は、本実施形態に係るてんかん判定装置10の物理的構成を示す図である。てんかん判定装置10は、演算部に相当するCPU(Central Processing Unit)10aと、記憶部に相当するRAM(Random Access Memory)10bと、記憶部に相当するROM(Read only Memory)10cと、通信部10dと、入力部10eと、表示部10fと、を有する。これらの各構成は、バスを介して相互にデータ送受信可能に接続される。なお、本例ではてんかん判定装置10が一台のコンピュータで構成される場合について説明するが、てんかん判定装置10は、複数のコンピュータが組み合わされて実現されてもよい。また、図2で示す構成は一例であり、てんかん判定装置10はこれら以外の構成を有してもよいし、これらの構成のうち一部を有さなくてもよい。 FIG. 2 is a diagram showing a physical configuration of the epilepsy determination device 10 according to the present embodiment. The epilepsy determination device 10 includes a CPU (Central Processing Unit) 10a corresponding to a calculation unit, a RAM (Random Access Memory) 10b corresponding to a storage unit, a ROM (Read only Memory) 10c corresponding to a storage unit, and a communication unit. It has a 10d, an input unit 10e, and a display unit 10f. Each of these configurations is connected to each other via a bus so that data can be transmitted and received. In this example, the case where the epilepsy determination device 10 is composed of one computer will be described, but the epilepsy determination device 10 may be realized by combining a plurality of computers. Further, the configuration shown in FIG. 2 is an example, and the epilepsy determination device 10 may have a configuration other than these, or may not have a part of these configurations.

CPU10aは、RAM10b又はROM10cに記憶されたプログラムの実行に関する制御やデータの演算、加工を行う制御部である。CPU10aは、脳波を表す画像に基づいててんかんを判定するプログラム(てんかん判定プログラム)を実行する演算部である。CPU10aは、入力部10eや通信部10dから種々のデータを受け取り、データの演算結果を表示部10fに表示したり、RAM10bやROM10cに格納したりする。 The CPU 10a is a control unit that controls execution of a program stored in the RAM 10b or ROM 10c, calculates data, and processes data. The CPU 10a is a calculation unit that executes a program (epilepsy determination program) for determining epilepsy based on an image representing an electroencephalogram. The CPU 10a receives various data from the input unit 10e and the communication unit 10d, displays the calculation result of the data on the display unit 10f, and stores the data in the RAM 10b and the ROM 10c.

RAM10bは、記憶部のうちデータの書き換えが可能なものであり、例えば半導体記憶素子で構成されてよい。RAM10bは、CPU10aが実行するてんかん判定プログラムを記憶してよい。なお、これらは例示であって、RAM10bには、これら以外のデータが記憶されていてもよいし、これらの一部が記憶されていなくてもよい。 The RAM 10b is a storage unit capable of rewriting data, and may be composed of, for example, a semiconductor storage element. The RAM 10b may store an epilepsy determination program executed by the CPU 10a. It should be noted that these are examples, and data other than these may be stored in the RAM 10b, or a part of these may not be stored.

ROM10cは、記憶部のうちデータの読み出しが可能なものであり、例えば半導体記憶素子で構成されてよい。ROM10cは、例えば探索プログラムや、書き換えが行われないデータを記憶してよい。 The ROM 10c is a storage unit capable of reading data, and may be composed of, for example, a semiconductor storage element. The ROM 10c may store, for example, a search program or data that is not rewritten.

通信部10dは、てんかん判定装置10を他の機器に接続するインターフェースである。通信部10dは、インターネットやLAN(Local Area Network)等の通信ネットワークに接続されてよい。 The communication unit 10d is an interface for connecting the epilepsy determination device 10 to another device. The communication unit 10d may be connected to a communication network such as the Internet or a LAN (Local Area Network).

入力部10eは、ユーザからデータの入力を受け付けるものであり、例えば、キーボード及びタッチパネルを含んでよい。 The input unit 10e receives data input from the user, and may include, for example, a keyboard and a touch panel.

表示部10fは、CPU10aによる演算結果を視覚的に表示するものであり、例えば、LCD(Liquid Crystal Display)により構成されてよい。表示部10fは、例えば脳波を表す画像や判定結果を表示してよい。 The display unit 10f visually displays the calculation result by the CPU 10a, and may be configured by, for example, an LCD (Liquid Crystal Display). The display unit 10f may display, for example, an image representing an electroencephalogram or a determination result.

てんかん判定プログラムは、RAM10bやROM10c等のコンピュータによって読み取り可能な記憶媒体に記憶されて提供されてもよいし、通信部10dにより接続される通信ネットワークを介して提供されてもよい。てんかん判定装置10では、CPU10aがてんかん判定プログラムを実行することにより、図1を用いて説明した様々な動作が実現される。なお、これらの物理的な構成は例示であって、必ずしも独立した構成でなくてもよい。例えば、てんかん判定装置10は、CPU10aとRAM10bやROM10cが一体化したLSI(Large-Scale Integration)を備えていてもよい。 The epilepsy determination program may be stored in a storage medium readable by a computer such as RAM 10b or ROM 10c and provided, or may be provided via a communication network connected by the communication unit 10d. In the epilepsy determination device 10, the CPU 10a executes the epilepsy determination program to realize various operations described with reference to FIG. 1. It should be noted that these physical configurations are examples and do not necessarily have to be independent configurations. For example, the epilepsy determination device 10 may include an LSI (Large-Scale Integration) in which the CPU 10a and the RAM 10b or ROM 10c are integrated.

図3は、本実施形態に係るてんかん判定装置10の学習済みモデルに入力される画像Pの一例である。画像Pは、生成部12によって脳波データから切り出された画像の一例であり、本例では10秒間の脳波データを切り出している。 FIG. 3 is an example of an image P input to the trained model of the epilepsy determination device 10 according to the present embodiment. The image P is an example of an image cut out from the brain wave data by the generation unit 12, and in this example, the brain wave data for 10 seconds is cut out.

画像Pは、測定装置20が有する21の電極により測定された脳波と、心電の波形とを示している。21の電極により測定された脳波は、グラフの最上部から21番目までの波形であり、心電の波形は、グラフの最下部に示された波形である。 Image P shows an electroencephalogram measured by 21 electrodes of the measuring device 20 and an electrocardiographic waveform. The electroencephalogram measured by the 21 electrodes is the waveform from the top to the 21st of the graph, and the electrocardiographic waveform is the waveform shown at the bottom of the graph.

画像Pは、脳波データを測定した複数の電極に対応する複数の色で示された波形を含む。本例では、上下に隣り合って描画される波形が異なる色で示されたり、電極の配置に対応するように波形の色が変えられたりしているが、色の選択は任意である。このように色分けすることで、脳波データを測定した複数の電極を区別して、専門医がてんかん発作を診断するのと同様の条件で判定を行うことができ、より高い精度でてんかん発作を判定することができる。 The image P includes waveforms shown in a plurality of colors corresponding to the plurality of electrodes for which the electroencephalogram data was measured. In this example, the waveforms drawn next to each other on the top and bottom are shown in different colors, or the color of the waveform is changed to correspond to the arrangement of the electrodes, but the color selection is arbitrary. By color-coding in this way, it is possible to distinguish between multiple electrodes that have measured EEG data and make a judgment under the same conditions as a specialist diagnosing an epilepsy attack, and to judge an epilepsy attack with higher accuracy. Can be done.

図4は、本実施形態に係るてんかん判定装置10の判定精度を示す第1グラフである。第1グラフは、24人の対象者について、それぞれ数十時間にわたって脳波データを測定し、本実施形態に係るてんかん判定装置10によって正しくてんかん発作を判定できるかテストした結果を示している。第1グラフは、横軸に設定部15により設定した時間幅(Time Window)を示し、縦軸に設定された時間幅で学習処理が行われた学習済みモデルの判定精度を示している。判定精度は、評価部14により評価されたトゥルー・ポジティブ(True Positive)の値である。すなわち、第1グラフで示す判定精度は、てんかん発作が表れている画像について、てんかん発作が表れていると正しく判定できるかを示す指標に基づき評価された判定精度である。 FIG. 4 is a first graph showing the determination accuracy of the epilepsy determination device 10 according to the present embodiment. The first graph shows the results of measuring brain wave data for each of 24 subjects for several tens of hours and testing whether the epilepsy determination device 10 according to the present embodiment can correctly determine an epilepsy attack. The first graph shows the time width (Time Window) set by the setting unit 15 on the horizontal axis, and shows the determination accuracy of the trained model in which the learning process is performed in the time width set on the vertical axis. The determination accuracy is a true positive value evaluated by the evaluation unit 14. That is, the determination accuracy shown in the first graph is a determination accuracy evaluated based on an index indicating whether or not an image showing an epileptic seizure can be correctly determined to have an epileptic seizure.

第1グラフによると、時間幅が0.5秒の場合、箱ひげ図で表される中央値は0程度であり、上側四分位点は0.1よりやや大きく、最大値は0.2程度である。また、時間幅が1秒の場合、箱ひげ図で表される最小値は0程度であり、下側四分位点は0.5程度であり、中央値は0.7よりやや大きく、上側四分位点は0.9程度であり、最大値は1.0程度である。また、時間幅が2秒の場合、箱ひげ図で表される最小値は0程度であり、下側四分位点は0.4程度であり、中央値は0.7程度であり、上側四分位点は0.9程度であり、最大値は1.0程度である。また、時間幅が5秒の場合、箱ひげ図で表される最小値は0程度であり、下側四分位点は0.5程度であり、中央値は0.7よりやや小さく、上側四分位点は0.9よりやや小さく、最大値は1.0よりやや小さい程度である。また、時間幅が10秒の場合、箱ひげ図で表される最小値は0程度であり、下側四分位点は0.2程度であり、中央値は0.6程度であり、上側四分位点は0.8よりやや小さく、最大値は1.0程度である。 According to the first graph, when the time width is 0.5 seconds, the median value represented by the boxplot is about 0, the upper quartile is slightly larger than 0.1, and the maximum value is 0.2. It is a degree. When the time width is 1 second, the minimum value represented by the boxplot is about 0, the lower quartile is about 0.5, the median is slightly larger than 0.7, and the upper side. The quartile is about 0.9 and the maximum value is about 1.0. When the time width is 2 seconds, the minimum value represented by the boxplot is about 0, the lower quartile is about 0.4, the median is about 0.7, and the upper side. The quartile is about 0.9 and the maximum value is about 1.0. When the time width is 5 seconds, the minimum value represented by the boxplot is about 0, the lower quartile is about 0.5, the median is slightly smaller than 0.7, and the upper side. The quartile is slightly smaller than 0.9 and the maximum value is slightly smaller than 1.0. When the time width is 10 seconds, the minimum value represented by the boxplot is about 0, the lower quartile is about 0.2, the median is about 0.6, and the upper side. The quartile is slightly smaller than 0.8, and the maximum value is about 1.0.

このように、脳波データを切り出す時間幅は、学習モデルの学習処理が適切に行えるか否かに影響し、判定精度を変動させる要因となることがある。本実施形態に係るてんかん判定装置10では、脳波データを切り出す時間幅を調整して、判定精度が向上するように新たな学習済みモデルを生成することができ、より高い精度でてんかん発作を判定することができる。 As described above, the time width for cutting out the electroencephalogram data affects whether or not the learning process of the learning model can be performed appropriately, and may be a factor that changes the determination accuracy. In the epilepsy determination device 10 according to the present embodiment, a new trained model can be generated so that the determination accuracy is improved by adjusting the time width for cutting out the electroencephalogram data, and the epilepsy attack is determined with higher accuracy. be able to.

図5は、本実施形態に係るてんかん判定装置10の判定精度を示す第2グラフである。第2グラフは、24人の対象者について、それぞれ数十時間にわたって脳波データを測定し、本実施形態に係るてんかん判定装置10によって正しく正常状態を判定できるかテストした結果を示している。第2グラフは、横軸に設定部15により設定した時間幅(Time Window)を示し、縦軸に設定された時間幅で学習処理が行われた学習済みモデルの判定精度を示している。判定精度は、評価部14により評価されたトゥルー・ネガティブ(True Negative)の値である。すなわち、第2グラフで示す判定精度は、てんかん発作が表れていない画像について、てんかん発作が表れていないと正しく判定できるかを示す指標に基づき評価された判定精度である。 FIG. 5 is a second graph showing the determination accuracy of the epilepsy determination device 10 according to the present embodiment. The second graph shows the results of measuring brain wave data for each of 24 subjects for several tens of hours and testing whether the normal state can be correctly determined by the epilepsy determination device 10 according to the present embodiment. The second graph shows the time width (Time Window) set by the setting unit 15 on the horizontal axis, and shows the determination accuracy of the trained model in which the learning process is performed in the time width set on the vertical axis. The determination accuracy is a true negative value evaluated by the evaluation unit 14. That is, the determination accuracy shown in the second graph is a determination accuracy evaluated based on an index indicating whether or not an image showing no epileptic seizure can be correctly determined as having no epileptic seizure.

第2グラフによると、時間幅が0.5秒、1秒、2秒、5秒及び10秒の場合、箱ひげ図で表される最小値は0.97~0.99程度であり、下側四分位点は0.98~0.99程度であり、中央値は0.99程度であり、上側四分位点は0.995程度であり、最大値は1.0程度である。 According to the second graph, when the time width is 0.5 seconds, 1 second, 2 seconds, 5 seconds and 10 seconds, the minimum value represented by the boxplot is about 0.97 to 0.99, which is lower. The side quadrant is about 0.98 to 0.99, the median is about 0.99, the upper quadrant is about 0.995, and the maximum value is about 1.0.

図4の第1グラフと図5の第2グラフを比較すると、脳波データを切り出す時間幅と、判定精度との関係は、判定精度の評価に用いる指標によって異なることが確認できる。より具体的には、第1グラフでは、時間幅が0.5秒の場合に判定精度の中央値が0程度であるのに対して、第2グラフでは1.0に近いという違いがある。また、第1グラフでは、時間幅を1秒から10秒まで長くしていくと判定精度の中央値が低下していくのに対して、第2グラフでは、時間幅を1秒から10秒まで長くしていくと判定精度の中央値が上昇していくという違いがある。本実施形態に係るてんかん判定装置10は、複数の指標に基づいて学習済みモデルの判定精度を評価して、複数の指標に基づいて評価された判定精度をバランス良く向上させるように、脳波データを切り出す時間幅を設定してよい。例えば、複数の指標に基づいて評価された判定精度の総和を最大化するように、脳波データを切り出す時間幅を設定してよい。 Comparing the first graph of FIG. 4 and the second graph of FIG. 5, it can be confirmed that the relationship between the time width for cutting out the electroencephalogram data and the determination accuracy differs depending on the index used for evaluating the determination accuracy. More specifically, in the first graph, the median determination accuracy is about 0 when the time width is 0.5 seconds, whereas in the second graph, it is close to 1.0. Further, in the first graph, when the time width is lengthened from 1 second to 10 seconds, the median judgment accuracy decreases, whereas in the second graph, the time width is increased from 1 second to 10 seconds. There is a difference that the median judgment accuracy increases as the length increases. The epilepsy determination device 10 according to the present embodiment evaluates the determination accuracy of the trained model based on a plurality of indexes, and collects the electroencephalogram data so as to improve the determination accuracy evaluated based on the plurality of indexes in a well-balanced manner. You may set the time width to cut out. For example, the time width for cutting out the electroencephalogram data may be set so as to maximize the sum of the determination accuracy evaluated based on a plurality of indexes.

図6は、本実施形態に係るてんかん判定システム1により実行されるてんかん判定処理のフローチャートである。はじめに、測定装置20によって、対象者の脳波データを測定する(S10)。以降の処理は、脳波データが蓄積された後に実行してもよいし、脳波データを測定しながら逐次実行してもよい。 FIG. 6 is a flowchart of the epilepsy determination process executed by the epilepsy determination system 1 according to the present embodiment. First, the electroencephalogram data of the subject is measured by the measuring device 20 (S10). Subsequent processing may be executed after the electroencephalogram data is accumulated, or may be sequentially executed while measuring the electroencephalogram data.

てんかん判定装置10の生成部12は、取得した脳波データにフィルタを施して前処理を実行する(S11)。その後、生成部12は、脳波データを所定の時間幅で切り出して、複数の画像を生成する(S12)。 The generation unit 12 of the epilepsy determination device 10 filters the acquired electroencephalogram data and executes preprocessing (S11). After that, the generation unit 12 cuts out the electroencephalogram data in a predetermined time width to generate a plurality of images (S12).

てんかん判定装置10の判定部13は、複数の画像をCNN等の学習済みモデルに入力し、てんかん発作の脳波が表れているか判定する(S13)。ここで、てんかん発作有りと判定された場合(S14:YES)、てんかん判定装置10の通知部17は、所定の端末にてんかん発作が検出されたことを通知する(S15)。一方、てんかん発作有りと判定されない場合(S14:NO)、てんかん判定処理は終了する。 The determination unit 13 of the epilepsy determination device 10 inputs a plurality of images into a trained model such as CNN, and determines whether or not an electroencephalogram of an epilepsy attack appears (S13). Here, when it is determined that there is an epilepsy attack (S14: YES), the notification unit 17 of the epilepsy determination device 10 notifies that the epilepsy attack has been detected at a predetermined terminal (S15). On the other hand, if it is not determined that there is an epilepsy attack (S14: NO), the epilepsy determination process ends.

本実施形態に係るてんかん判定装置10によれば、脳波データを所定の時間幅で切り出して、脳波を表す複数の画像を生成して、複数の画像のいずれかにてんかん発作の脳波が表れているかを学習済みモデルに判定させることで、専門医がてんかん発作を診断するのと同様の条件で判定を行うことができ、より高い精度でてんかん発作を判定することができる。 According to the epilepsy determination device 10 according to the present embodiment, the electroencephalogram data is cut out in a predetermined time width to generate a plurality of images representing the brain waves, and whether the brain waves of the epilepsy attack appear in any of the plurality of images. By letting the trained model make a judgment, it is possible to make a judgment under the same conditions as a specialist diagnoses an epilepsy attack, and it is possible to judge an epilepsy attack with higher accuracy.

また、本実施形態に係るてんかん判定システム1によれば、脳波データを所定の時間幅で切り出して、脳波を表す複数の画像を生成して、複数の画像のいずれかにてんかん発作の脳波が表れているかを学習済みモデルに判定させることで、専門医がてんかん発作を診断するのと同様の条件で判定を行うことができ、より高い精度でてんかん発作を判定することができる。また、てんかん発作の脳波が表れていると判定された場合に、所定の端末に通知することで、脳波の確認作業の負担を軽減することができる。 Further, according to the epilepsy determination system 1 according to the present embodiment, the electroencephalogram data is cut out in a predetermined time width to generate a plurality of images representing the brain waves, and the brain waves of the epilepsy attack appear in any of the plurality of images. By letting the trained model determine whether or not epilepsy is occurring, the determination can be made under the same conditions as when a specialist diagnoses an epilepsy attack, and the epilepsy attack can be determined with higher accuracy. In addition, when it is determined that an electroencephalogram of an epileptic seizure is appearing, the burden of checking the electroencephalogram can be reduced by notifying a predetermined terminal.

図7は、本実施形態に係るてんかん判定システム1により実行される学習処理のフローチャートである。はじめに、てんかん判定装置10の評価部14は、テスト用画像を学習済みモデルに入力して、判定精度を評価する(S20)。設定部15は、評価部14による評価に基づいて、脳波データを切り出す時間幅を設定する(S21)。 FIG. 7 is a flowchart of the learning process executed by the epilepsy determination system 1 according to the present embodiment. First, the evaluation unit 14 of the epilepsy determination device 10 inputs a test image into the trained model and evaluates the determination accuracy (S20). The setting unit 15 sets the time width for cutting out the electroencephalogram data based on the evaluation by the evaluation unit 14 (S21).

学習部16は、設定された時間幅で脳波データを切り出して、学習モデルの学習処理を実行し、新たな学習済みモデルを生成する(S22)。そして、てんかん判定装置10は、新たな学習済みモデルを判定部13に実装する(S23)。以上により、学習処理が終了する。 The learning unit 16 cuts out brain wave data within a set time width, executes a learning process of the learning model, and generates a new learned model (S22). Then, the epilepsy determination device 10 mounts a new trained model on the determination unit 13 (S23). With the above, the learning process is completed.

このように、脳波データを切り出す時間幅を調整して、判定精度が向上するように新たな学習済みモデルを生成することができ、より高い精度でてんかん発作を判定することができる。また、学習用データが蓄積するに従って、より判定精度の高い学習済みモデルを生成して、判定部13に実装する学習済みモデルを更新していくことができ、てんかん判定システム1の運用を続けるほど、より高い精度でてんかん発作を判定することができるようになる。 In this way, the time width for cutting out the EEG data can be adjusted to generate a new trained model so that the determination accuracy is improved, and the epilepsy attack can be determined with higher accuracy. Further, as the learning data is accumulated, it is possible to generate a trained model with higher judgment accuracy and update the trained model to be mounted on the judgment unit 13, so that the epilepsy judgment system 1 continues to be operated. , Will be able to determine epileptic seizures with higher accuracy.

以上説明した実施形態は、本発明の理解を容易にするためのものであり、本発明を限定して解釈するためのものではない。実施形態が備える各要素並びにその配置、材料、条件、形状及びサイズ等は、例示したものに限定されるわけではなく適宜変更することができる。また、異なる実施形態で示した構成同士を部分的に置換し又は組み合わせることが可能である。 The embodiments described above are for facilitating the understanding of the present invention, and are not for limiting the interpretation of the present invention. Each element included in the embodiment and its arrangement, material, condition, shape, size, and the like are not limited to those exemplified, and can be appropriately changed. Further, it is possible to partially replace or combine the configurations shown in different embodiments.

1…てんかん判定システム、10…てんかん判定装置、10a…CPU、10b…RAM、10c…ROM、10d…通信部、10e…入力部、10f…表示部、11…取得部、12…生成部、13…判定部、13a…学習済みモデル、14…評価部、15…設定部、16…学習部、17…通知部、18…記憶部、20…測定装置 1 ... Epilepsy determination system, 10 ... Epilepsy determination device, 10a ... CPU, 10b ... RAM, 10c ... ROM, 10d ... Communication unit, 10e ... Input unit, 10f ... Display unit, 11 ... Acquisition unit, 12 ... Generation unit, 13 ... Judgment unit, 13a ... Learned model, 14 ... Evaluation unit, 15 ... Setting unit, 16 ... Learning unit, 17 ... Notification unit, 18 ... Storage unit, 20 ... Measuring device

Claims (10)

対象者の脳波データを取得する取得部と、
前記脳波データを所定の時間幅で切り出して、脳波を表す複数の画像を生成する生成部と、
前記複数の画像を学習済みモデルに入力し、前記学習済みモデルによって、前記複数の画像のいずれかにてんかん発作の脳波が表れているかを判定させる判定部と、
を備えるてんかん判定装置。
The acquisition unit that acquires the brain wave data of the subject,
A generation unit that cuts out the brain wave data in a predetermined time width and generates a plurality of images representing the brain waves.
A determination unit that inputs the plurality of images to the trained model and determines whether or not the brain wave of the epileptic seizure appears in any of the plurality of images by the trained model.
An epilepsy determination device equipped with.
脳波を表す複数のテスト用画像を前記学習済みモデルに入力して、前記学習済みモデルの判定精度を評価する評価部と、
前記評価部による評価に基づいて、前記所定の時間幅の設定を行う設定部と、
前記設定部により設定された前記所定の時間幅で切り出された、脳波を表す複数の学習用画像と、前記複数の学習用画像がてんかん発作の脳波を表しているか否かに関する情報と、を学習用データとして学習モデルを学習させ、新たな学習済みモデルを生成する学習部と、
をさらに備える請求項1に記載のてんかん判定装置。
An evaluation unit that inputs a plurality of test images representing brain waves into the trained model and evaluates the determination accuracy of the trained model.
Based on the evaluation by the evaluation unit, the setting unit that sets the predetermined time width and the setting unit.
Learning a plurality of learning images representing brain waves cut out in the predetermined time width set by the setting unit, and information on whether or not the plurality of learning images represent epileptic seizure brain waves. A learning unit that trains a learning model as data and generates a new trained model,
The epilepsy determination device according to claim 1.
前記評価部は、複数の指標に基づいて前記学習済みモデルの判定精度を評価する、
請求項2に記載のてんかん判定装置。
The evaluation unit evaluates the determination accuracy of the trained model based on a plurality of indexes.
The epilepsy determination device according to claim 2.
前記複数の指標は、
てんかん発作が表れている画像について、てんかん発作が表れていると正しく判定できるかを示す指標と、
てんかん発作が表れていない画像について、てんかん発作が表れていないと正しく判定できるかを示す指標と、
てんかん発作が表れている画像について、てんかん発作が表れていないと誤って判定するかを示す指標と、
てんかん発作が表れていない画像について、てんかん発作が表れていると誤って判定するかを示す指標と、を含む、
請求項3に記載のてんかん判定装置。
The plurality of indicators are
An index showing whether an image showing an epileptic seizure can be correctly determined to have an epileptic seizure,
For images that do not show seizure, an index that indicates whether it can be correctly determined that seizure does not appear,
An index that indicates whether an image showing an epileptic seizure is erroneously determined not to have an epileptic seizure,
Includes an index that indicates whether an image that does not show seizure is erroneously determined to have seizure.
The epilepsy determination device according to claim 3.
前記複数の画像は、前記脳波データを測定した複数の電極に対応する複数の色で示された波形を含む、
請求項1から4のいずれか一項に記載のてんかん判定装置。
The plurality of images include waveforms shown in a plurality of colors corresponding to the plurality of electrodes for which the electroencephalogram data was measured.
The epilepsy determination device according to any one of claims 1 to 4.
前記学習済みモデルは、学習済みの畳み込みニューラルネットワークである、
請求項1から5のいずれか一項に記載のてんかん判定装置。
The trained model is a trained convolutional neural network.
The epilepsy determination device according to any one of claims 1 to 5.
前記生成部は、前記脳波データに対してローパスフィルタ、ハイパスフィルタ及びノッチフィルタのうち少なくともいずれかを施した後、前記脳波データを前記所定の時間幅で切り出して、前記複数の画像を生成する、
請求項1から6のいずれか一項に記載のてんかん判定装置。
The generation unit applies at least one of a low-pass filter, a high-pass filter, and a notch filter to the electroencephalogram data, and then cuts out the electroencephalogram data in the predetermined time width to generate the plurality of images.
The epilepsy determination device according to any one of claims 1 to 6.
対象者の脳波データを測定する測定装置と、前記脳波データに基づいて、てんかんを判定するてんかん判定装置と、を備えるてんかん判定システムであって、
前記てんかん判定装置は、
前記脳波データを所定の時間幅で切り出して、脳波を表す複数の画像を生成する生成部と、
前記複数の画像を学習済みモデルに入力し、前記学習済みモデルによって、前記複数の画像のいずれかにてんかん発作の脳波が表れているかを判定させる判定部と、
前記判定部により、前記複数の画像のいずれかにてんかん発作の脳波が表れていると判定された場合に、所定の端末に通知する通知部と、を有する、
てんかん判定システム。
An epilepsy determination system including a measuring device for measuring an electroencephalogram data of a subject and an epilepsy determination device for determining epilepsy based on the electroencephalogram data.
The epilepsy determination device is
A generation unit that cuts out the brain wave data in a predetermined time width and generates a plurality of images representing the brain waves.
A determination unit that inputs the plurality of images to the trained model and determines whether or not the brain wave of the epileptic seizure appears in any of the plurality of images by the trained model.
It has a notification unit for notifying a predetermined terminal when it is determined by the determination unit that an electroencephalogram of an epileptic seizure appears in any of the plurality of images.
Epilepsy judgment system.
対象者の脳波データを取得することと、
前記脳波データを所定の時間幅で切り出して、脳波を表す複数の画像を生成することと、
前記複数の画像を学習済みモデルに入力し、前記学習済みモデルによって、前記複数の画像のいずれかにてんかん発作の脳波が表れているかを判定させることと、
を含むてんかん判定方法。
Acquiring the subject's EEG data and
By cutting out the brain wave data in a predetermined time width to generate a plurality of images representing the brain waves,
The plurality of images are input to the trained model, and the trained model is used to determine whether the brain wave of the epileptic seizure appears in any of the plurality of images.
Epilepsy determination method including.
てんかん判定装置に備えられたコンピュータを、
対象者の脳波データを取得する取得部、
前記脳波データを所定の時間幅で切り出して、脳波を表す複数の画像を生成する生成部、及び
前記複数の画像を学習済みモデルに入力し、前記学習済みモデルによって、前記複数の画像のいずれかにてんかん発作の脳波が表れているかを判定させる判定部、
として機能させるてんかん判定プログラム。
A computer equipped with an epilepsy determination device,
Acquisition department that acquires the brain wave data of the subject,
An electroencephalogram data is cut out in a predetermined time width to generate a plurality of images representing brain waves, and the plurality of images are input to a trained model, and one of the plurality of images is input by the trained model. Judgment unit that determines whether brain waves of epileptic attacks are appearing,
Epilepsy judgment program that functions as.
JP2018051262A 2018-03-19 2018-03-19 Epilepsy determination device, epilepsy determination system, epilepsy determination method and epilepsy determination program Active JP7072771B2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
JP2018051262A JP7072771B2 (en) 2018-03-19 2018-03-19 Epilepsy determination device, epilepsy determination system, epilepsy determination method and epilepsy determination program
PCT/JP2019/011268 WO2019181887A1 (en) 2018-03-19 2019-03-18 Epilepsy determination device, epilepsy determination system, epilepsy determination method and epilepsy determination program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018051262A JP7072771B2 (en) 2018-03-19 2018-03-19 Epilepsy determination device, epilepsy determination system, epilepsy determination method and epilepsy determination program

Publications (2)

Publication Number Publication Date
JP2019162237A JP2019162237A (en) 2019-09-26
JP7072771B2 true JP7072771B2 (en) 2022-05-23

Family

ID=67986252

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018051262A Active JP7072771B2 (en) 2018-03-19 2018-03-19 Epilepsy determination device, epilepsy determination system, epilepsy determination method and epilepsy determination program

Country Status (2)

Country Link
JP (1) JP7072771B2 (en)
WO (1) WO2019181887A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001309898A (en) 2000-04-28 2001-11-06 Takumi Ikuta Method of neural waveform diagnosis with wavelet function and its equipment
JP2003310564A (en) 2002-04-22 2003-11-05 Fuji Xerox Co Ltd Automatic brain wave analyzing apparatus and method
CN106821376A (en) 2017-03-28 2017-06-13 南京医科大学 A kind of epileptic attack early warning system and method based on deep learning algorithm
CN108403111A (en) 2018-02-01 2018-08-17 华中科技大学 A kind of epileptic electroencephalogram (eeg) recognition methods and system based on convolutional neural networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001309898A (en) 2000-04-28 2001-11-06 Takumi Ikuta Method of neural waveform diagnosis with wavelet function and its equipment
JP2003310564A (en) 2002-04-22 2003-11-05 Fuji Xerox Co Ltd Automatic brain wave analyzing apparatus and method
CN106821376A (en) 2017-03-28 2017-06-13 南京医科大学 A kind of epileptic attack early warning system and method based on deep learning algorithm
CN108403111A (en) 2018-02-01 2018-08-17 华中科技大学 A kind of epileptic electroencephalogram (eeg) recognition methods and system based on convolutional neural networks

Also Published As

Publication number Publication date
WO2019181887A1 (en) 2019-09-26
JP2019162237A (en) 2019-09-26

Similar Documents

Publication Publication Date Title
Bridwell et al. Moving beyond ERP components: a selective review of approaches to integrate EEG and behavior
CN109069081B (en) Devices, systems and methods for predicting, screening and monitoring encephalopathy/delirium
CN105636515B (en) Computer program for assessing inattentive EEG automatically and assessment equipment
AU2018305723B2 (en) Methods and systems for forecasting seizures
Boubchir et al. A review of feature extraction for EEG epileptic seizure detection and classification
US20130178731A1 (en) Methods and apparatus for risk assessment of developmental disorders during early cognitive development
CN114615924B (en) System and method for seizure detection based on electroencephalogram (EEG) nonlinear variation
CN107595243A (en) A kind of illness appraisal procedure and terminal device
WO2018162957A1 (en) Personalized ecg monitoring for early detection of cardiac abnormalities
JP5476137B2 (en) Human interface based on biological and brain function measurement
JP7373555B2 (en) Quantification of motor function using EEG signals
Kóbor et al. Tracking the implicit acquisition of nonadjacent transitional probabilities by ERPs
JPWO2019216378A1 (en) Arithmetic logic unit, detection device, arithmetic method, and computer program
JP2023099043A (en) Systems and methods for seizure detection based on changes in electroencephalogram (eeg) non-linearities
RU2736709C1 (en) System and method for determining state of cognitive load based on biometric eeg signal
US20150141859A1 (en) Systems and methods for cardiac rhythm variability analysis
US20130041275A1 (en) System, apparatus and method for diagnosing seizures
KR101249069B1 (en) Method and apparatus for quantifying risk of developing schizophrenia using brainwave synchronization level, and computer-readable media recording codes for the method
Candia‐Rivera et al. Multidimensional assessment of heartbeat‐evoked responses in disorders of consciousness
JP7072771B2 (en) Epilepsy determination device, epilepsy determination system, epilepsy determination method and epilepsy determination program
CN109700458A (en) A kind of EEG brain function network establishing method, device and storage medium
CN112057068A (en) Epilepsia pathological data classification method and device and storage medium
Murin et al. Tracking epileptic seizure activity via information theoretic graphs
Scarciglia et al. Physiological noise: Definition, estimation, and characterization in complex biomedical signals
Gu et al. Detecting epileptic seizures via non-uniform multivariate embedding of EEG signals

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20210317

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20220324

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20220422

R150 Certificate of patent or registration of utility model

Ref document number: 7072771

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150