METHOD FOR DETERMINING AN INDIVIDUAL'S EPILEPTIC SEIZURE RISK SCORE, METHOD FOR ASSISTING IN THE DETECTION AND / OR PREDICTION OF SEIZURES IMPLEMENTING SUCH A METHOD, AND CORRESPONDING SYSTEMS

A method and system using ECG and accelerometric signals to partition and train specific models for each symptom cluster effectively addresses the challenge of detecting and predicting epileptic seizures, enhancing patient care and safety.

FR3149765A1Pending Publication Date: 2024-12-20RELIEV TECHNOLOGIES
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
FR2023007443
Authority / Receiving Office
FR · FR
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-06-13
Filing Date
2023-07-11
Publication Date
2024-12-20

AI Technical Summary

Technical Problem

Current non-invasive systems fail to reliably detect all epileptic seizures, particularly focal seizures, due to their unpredictable nature and variable warning symptoms, posing a significant challenge for patients and caregivers.

Method used

A method and system utilizing electrocardiogram (ECG) and accelerometric signals to determine an epileptic seizure risk score by partitioning a learning base into clusters based on symptom similarity, training specific machine learning models for each cluster, and calculating meta-indicators to predict seizures accurately.

Benefits of technology

The system provides reliable detection and prediction of seizures, reducing the risk of accidents and improving patient care by offering personalized and adaptive seizure monitoring.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 00000025_0000
    Figure 00000025_0000
  • Figure 00000026_0000
    Figure 00000026_0000
Patent Text Reader

Abstract

METHOD FOR DETERMINING AN EPILEPTIC SEIZURE RISK SCORE FOR AN INDIVIDUAL, METHOD FOR ASSISTING IN THE DETECTION AND / OR PREDICTION OF SEIZURES IMPLEMENTING SUCH A METHOD, AND CORRESPONDING SYSTEMS The invention relates to a method for determining a seizure risk score and a method for predicting and / or detecting epileptic seizures in a patient, said methods comprising: a step of constructing (110) a training set of epileptic individuals; a step of partitioning said training set into a plurality of clusters; for each cluster, a step of training (130) a machine learning model specific to that cluster, from meta-indicators derived from the data of said training set restricted to individuals belonging to that cluster;a classification step (140) of said patient into a cluster chosen from said plurality of clusters so as to assign said patient the corresponding trained learning model; an acquisition step (150) of ECG and accelerometer signals on said patient equipped with an ECG sensor and an accelerometer; a calculation step of the same meta-indicators as those of the training phase; a calculation step (160) of a seizure risk score for said patient, by feeding said trained learning model corresponding to the cluster of said patient with said calculated meta-indicators. Figure for the abstract: Figure 1;
Need to check novelty before this filing date? Find Prior Art

Description

Title of the invention: METHOD FOR DETERMINING AN EPILEPTIC SEIZURE RISK SCORE OF AN INDIVIDUAL, METHOD FOR ASSISTANCE IN THE DETECTION AND / OR PREDICTION OF SEIZURES IMPLEMENTING SUCH A METHOD, AND CORRESPONDING SYSTEMS Technical field of the invention

[0001] The invention relates to a system and a method for assisting in the detection and / or prediction of epileptic seizures in a patient. Technological background

[0002] Epilepsy is a disabling neurological disease that affects tens of millions of people worldwide. Despite therapeutic progress, approximately one-third of these patients suffer from treatment-resistant forms of epilepsy and still regularly experience seizures. According to a definition proposed by the International League Against Epilepsy, these drug-resistant forms occur after the failure of two tolerated and correctly chosen antiepileptic treatments (alone or in combination) to achieve lasting seizure control. Unbalanced patients constitute the most worrying population, for whom a mortality rate significantly higher than that of the rest of the population is observed.In France, several hundred thousand people are affected by epilepsy and the number of drug-resistant patients is estimated at more than 150,000, which represents a significant medical and social cost for the health system.

[0003] Epilepsy is a complex and plural disease characterized by variable etiologies, ages of onset and clinical manifestations. The International League Against Epilepsy proposes a classification of seizures based in particular on the location of the initial manifestations (focal or generalized), the level of consciousness, the motor signs or even the possible propagation of the seizure. All seizures can be prolonged and lead to status epilepticus, which represents a major medical emergency. Epilepsy can also be accompanied by cognitive or psychiatric comorbidities.

[0004] In the particular case of focal epilepsies, surgical treatment may be considered, although in practice it is only possible in a limited proportion of patients. In unbalanced and inoperable patients, the unpredictable nature of the seizures constitutes a significant source of anxiety. The quality of life of these people and of their loved ones is therefore seriously degraded.

[0005] Seizure frequency measurement is considered an essential indicator for estimating the quality of care. Several studies have highlighted the difficulty that patients face in maintaining a reliable seizure diary. Phenomena such as memory loss or altered perception at the time of the seizure are thought to be involved. Whatever the reasons, it has been observed that at least 50% of seizures are missed on average by patients. A study of patients implanted for several months with an intracranial device (allowing very precise seizure detection) also confirmed that most underestimated the frequency of their seizures. These findings motivate the development of robust outpatient seizure detection systems.

[0006] There are already commercially available systems for detecting certain types of seizures which notably present significant motor manifestations such as generalized tonic-clonic seizures. However, these events represent a minority of seizures.

[0007] More broadly, various detection approaches have been tested. They are generally based on the identification of biomarkers calculated on one or more physiological parameter(s). The biological signals monitored are as diverse as electroencephalogram (better known by the acronym EEG), video, audio, movements, heart rate, skin conductance, skin temperature, oxygenation rate, respiration or even muscular activity via an electromyogram (or EMG). Multimodal approaches, i.e. combining several sensors at the same time, are considered the most promising (better sensitivity and specificity).

[0008] However, there is currently no non-invasive system that can reliably detect all epileptic seizures, particularly focal seizures.

[0009] The inventors therefore sought to develop a new system and method which makes it possible to detect and / or anticipate epileptic seizures in order to improve the monitoring and comfort of patients and their loved ones. Objectives of the invention

[0010] The invention thus aims to provide a system and a method for determining a patient's epileptic seizure risk score.

[0011] The invention also aims to provide a system and a method for assisting in the detection and / or prediction of epileptic seizures in a patient implementing the system and method for determining a seizure risk score according to the invention.

[0012] The invention also aims to provide, in at least one embodiment, such a system and such a method which allow the detection and / or prediction of epileptic seizures, whatever the symptoms announcing the seizures.

[0013] The invention also aims to provide, in at least one embodiment, such a system and such a method which make it possible to limit the risks of accidents linked to seizures, to reassure patients and their loved ones on a daily basis and finally to improve the quality of care by a neurologist.

[0014] The invention also aims to provide, in at least one embodiment, such a system and such a method which can be used by a variety of individuals, without particular constraints.

[0015] The invention also aims to provide, in at least one embodiment, such a system and such a method which can evolve over time based on user feedback. Statement of the invention

[0016] To do this, the invention relates to a method for determining an epileptic seizure risk score of an individual, called a patient, said method comprising: - a step of constituting a learning base of epileptic individuals, said base comprising, for at least a plurality of individuals, electrocardiogram signals, called ECG signals, and accelerometric signals, respectively representative of the electrical activity of the heart and the movements of these individuals, associated with data on the start and end of the seizure of these individuals, - a step of partitioning said learning base into a plurality of groups of individuals, called clusters, each cluster being made up of individuals presenting the same type of epileptic symptom(s) in the vicinity of the epileptic seizures that they suffer.

[0017] Furthermore, the method comprises, for each cluster formed in the previous step, a step of training a machine learning model specific to this cluster, from meta-indicators derived from the data of said learning base restricted to the individuals belonging to this cluster, said meta-indicators being calculated by the following steps: - localization of all R peaks in the ECG signal of each individual in the cluster, an R peak being the most prominent peak of a QRS complex generated by a heartbeat of the individual (contraction of the ventricles), - identification of the RR intervals of the ECG signal of each individual in the group, - calculation of indicators, called cardiac indicators, from the RR intervals including an average, a standard deviation, a low and high frequency power, the cardiac indicators being calculated at a predetermined time interval on the ECG signals of each individual, - calculation of indicators, called activity indicators, from the accelerometric signals of each individual in the cluster, the activity indicators being calculated at a predetermined time interval on the accelerometric signals of each individual, - operations on said indicators calculated in the previous steps to provide said meta-indicators representative of a distribution of the indicators within a predetermined time window, of each cardiac and activity indicator calculated.

[0018] The method also comprises the following steps: - a step of classifying said patient into one of the clusters so as to select the corresponding trained learning model, - a step of acquiring ECG and accelerometric signals on said patient equipped with an ECG sensor and an accelerometer, - a step of calculating said meta-indicators following the same principle as that implemented for training learning models, - a step of calculating a crisis risk score for said patient, by feeding said trained learning model corresponding to the group of said patient with said meta-indicators calculated for this patient.

[0019] The method according to the invention therefore comprises a first series of steps (hereinafter referred to as the pre-learning phase) which makes it possible to constitute a learning base, to partition this learning base into a plurality of groups (referred to as clusters throughout the following), and to train a learning model for each cluster. This pre-learning phase therefore makes it possible to obtain a plurality of trained learning models, each model corresponding to a typology of individuals grouped by type of epileptic symptom(s).

[0020] The method further comprises a second series of steps (hereinafter referred to as the evaluation phase) which makes it possible to equip a patient with a plurality of sensors, to calculate different meta-indicators from the sensor data and to feed the trained learning model corresponding to the patient's group membership with the calculated meta-indicators to obtain a seizure risk score. This evaluation phase occurs after the pre-learning phase and makes it possible to determine a risk score for a patient equipped with an ECG sensor and an accelerometer. Once the pre-learning phase has been carried out, the patient evaluation phase can, of course, be executed several times, without the need to repeat the pre-learning phase.

[0021] It has been observed in some patients that the onset of a crisis is concomitant with a modification of the autonomic nervous system, which can be observed in the variability of the heart rate.

[0022] These changes are not identical in all patients (for example, some have tachycardia, others bradycardia).

[0023] Similarly, in some patients, seizures are accompanied by gestures (or the absence of gestures) which can be captured by acceleration sensors.

[0024] Given this diversity of manifestations, the method according to the invention trains a machine learning model specific to each type of manifestation to improve the quality of detection. Thus, rather than having a model specific to all the individuals in the training base constituted, the invention provides for assigning the patient to a group of individuals from among a plurality of groups and for training and using a machine learning model per group thus constituted.

[0025] It was therefore planned to learn a model per group of patients manifesting the same types of symptoms around the attacks. The automatic learning of the model of each group (cluster) is done in the pre-learning phase.

[0026] The method according to the invention comprises a step of partitioning the learning base into a plurality of groups of individuals, called clusters, each cluster being made up of individuals presenting the same type of epileptic symptom(s) in the vicinity of the epileptic seizures that they undergo.

[0027] According to an advantageous variant of the invention, this partitioning step comprises: a step of randomly distributing said individuals from said learning base into K clusters, K being a predetermined integer, for each of the K clusters thus formed, a step of training a machine learning model specific to this cluster according to the same principle as that implemented in the context of training learning models from said meta-indicators derived from the data of the individuals in this cluster, a reassignment of individuals from said learning base to the cluster whose learning model minimizes a prediction error, a reiteration of the previous steps until said total prediction error stabilizes around a value.

[0028] According to this variant, a number K of clusters is arbitrarily fixed and these K clusters are formed at random. For each cluster thus formed, a classification model is trained according to the same principle as the training of the learning models described later. Once all the models are trained, the individuals are reassigned to the cluster whose model minimizes the prediction error. This process is repeated several times until the total prediction error stabilizes around a value.

[0029] This procedure advantageously makes it possible to constitute clusters of individuals without a priori knowledge of the symptoms of the individuals.

[0030] According to another variant, the clusters are formed by an operator who analyzes the learning base and groups the individuals according to the individuals' crisis symptoms.

[0031] The method according to the invention also comprises, for each cluster formed in the previous step, a step of training a machine learning model specific to this cluster, from meta-indicators derived from the data of the learning base restricted to the individuals belonging to this cluster.

[0032] The meta-indicators are calculated by the following steps: - localization of all R peaks in the ECG signal of each individual in the cluster, an R peak being the most prominent peak of a QRS complex generated by a heartbeat of the individual, - identification of the RR intervals of the ECG signal of each individual of the band, - calculation of indicators, called cardiac indicators, from the RR intervals including an average, a standard deviation, a low and high frequency power, the cardiac indicators being calculated at a predetermined time interval on the ECG signals of each individual, - calculation of indicators, called activity indicators, from the accelerometric signals of each individual in the cluster, the activity indicators being calculated at a predetermined time interval on the accelerometric signals of each individual, - operations on said indicators calculated in the previous steps to provide said meta-indicators representative of a distribution of the indicators within a predetermined time window, of each cardiac and activity indicator calculated.

[0033] The meta-indicators thus calculated are the input data provided to the learning models implemented by the invention.

[0034] If other sensors are used to enrich the learning base with other signals, other meta-indicators can also be calculated to feed the learning models.

[0035] Once all the meta-indicators of all the individuals in the learning base are calculated, the machine learning models can be trained. According to the invention, a machine learning model is trained by groups of individuals formed in the partitioning step.

[0036] This step closes the pre-learning phase of the method according to the invention and the patient evaluation phase can then be implemented.

[0037] The evaluation phase aims to provide a risk score for a patient equipped with an ECG sensor and an accelerometric sensor from which the same meta-indicators as those calculated during the pre-learning phase will be determined and will feed the trained learning model corresponding to the cluster to which the patient belongs.

[0038] To do this, the patient is for example equipped with a box which houses several sensors including an ECG sensor and an accelerometer. These sensors communicate, for example via Bluetooth, with an application embedded on a device such as a smartphone. This embedded application is configured to calculate the meta-indicators from the data provided by the sensors. In addition, the software application is configured to retrieve the trained learning model corresponding to the patient. Thus, the meta-indicators can feed the trained learning model corresponding to the patient to provide a crisis risk score. Note that it is also possible to directly integrate within the box an electronic card configured to allow the calculation of the meta-indicators directly within the box or to program the sensors so that the meta-indicators are directly calculated by them.

[0039] Thus, this evaluation phase begins with a step of classifying the patient into one of the clusters in order to select the corresponding trained learning model.

[0040] Advantageously and according to the invention, said step of classifying said patient in a cluster comprises: - a step of acquiring ECG and accelerometric signals on said patient from an ECG sensor and an accelerometer worn by said patient, - a step of calculating said meta-indicators following the same principle as that implemented for training the learning models, - a step of reporting by said patient of the first N attacks suffered, N being a predetermined integer, - a step of calculating the risk score from each of the trained learning models, and of selecting said trained model which provides the best risk score for all of the first N reported attacks, said patient being classified in the cluster corresponding to this model.

[0041] According to this advantageous variant, the step of classifying the patient within a cluster is done automatically by testing the different learning models. This makes it possible to select a pre-learned model which best corresponds to the first N attacks reported by the patient.

[0042] Once a cluster has been assigned to the patient, the method according to the invention can calculate the patient's crisis risk score, by feeding the trained learning model corresponding to the patient's group with the meta-indicators calculated for this patient.

[0043] Advantageously and according to the invention, the method further comprises a step of signifying a crisis prediction error by said patient and a step of updating the learning model of said patient from said learning base restricted to individuals belonging to the cluster of said patient, to which said patient is added.

[0044] According to this advantageous variant, the trained learning model corresponding to the patient's cluster is updated if the patient (or a relative of the patient, a practitioner, etc.) reports prediction errors. This makes it possible to improve the learning model used by the patient. The prediction of a crisis is defined, for example, as a risk score greater than a predetermined threshold. Also, a prediction error corresponds to a calculated score greater than the predetermined threshold while the patient (or a relative, a practitioner, etc.) considers that no crisis has occurred.

[0045] To do this, the pre-learning phase limited to the patient's learning model is carried out again with the patient's data corresponding to the prediction errors indicated by the patient (or by a relative, a practitioner, etc.). These data are formed from the meta-indicators corresponding to the prediction errors indicated by the patient (or by a relative, a practitioner, etc.).

[0046] If several patients are equipped with a system according to the invention, all of the data from the different patients can usefully enrich the learning base of the invention, provided of course that these patients belong to the same cluster.

[0047] The invention also relates to a method for assisting in the detection and / or prediction of epileptic seizures of an individual, called a patient, said method comprising: - a method for determining a risk score of epileptic seizure of said patient according to the invention, - a step of detecting and / or predicting a possible epileptic seizure by comparing said seizure risk score determined by said determination method with at least one predetermined threshold.

[0048] The advantages and technical effects of the method for determining a risk score according to the invention apply mutatis mutandis to the method for assisting in the detection and / or prediction of crises according to the invention.

[0049] Furthermore, the method according to the invention makes it possible to detect a possible crisis or a prediction of a crisis by comparing the risk score determined by the invention with one or more predetermined thresholds. It is for example possible to monitor the evolution of the risk score and to deduce therefrom a risk of crises by detecting an evolution of the risk score over a predetermined period of time.

[0050] The invention can also usefully be associated with a patient seizure diary system allowing the patient and his neurologist to better calibrate the treatments and to objectively and reliably observe the development of the disease.

[0051] The invention can also be usefully associated with a system for monitoring the duration and severity of the patient's attacks.

[0052] The invention can also usefully be associated with a patient alert system in the event of detection of an imminent crisis so that the patient can get to safety.

[0053] The invention can also usefully be associated with a system for alerting relatives of the patient or caregivers, in association with means for geolocating the patient to enable the patient to be found and secured.

[0054] The invention can also usefully be associated with means for automatically recording raw signals (ECG and accelerometer) in the event of seizures in order to allow the neurologist to review the tracings during a consultation, for example.

[0055] The invention can also usefully be associated with a system for anticipating the risk of a crisis based on the recurrence of past crises observed in a patient.

[0056] The invention also relates to a system for determining a crisis risk score of an individual, called a patient, said system comprising: - a learning base for epileptic individuals, said base comprising, for at least a plurality of individuals, electrocardiogram signals, called ECG signals, and accelerometric signals, respectively representative of the heartbeats and movements of these individuals, associated with data on the start and end of the seizure of these individuals, - a module for partitioning said learning base into a plurality of groups of individuals, called clusters, each cluster being made up of individuals presenting the same type of epileptic symptom in the vicinity of the epileptic seizures they suffer, - for each cluster formed in the previous step, a machine learning model specific to this cluster, trained from meta-indicators derived from the data of said learning base restricted to individuals belonging to this cluster, said meta-indicators being provided by a processing unit comprising: • a module for localizing all R peaks in the ECG signal of each individual in the cluster, an R peak being the most prominent peak of a QRS complex generated by a heartbeat of the individual, • a module for identifying the RR intervals of the ECG signal of each individual in the cluster, • a module for calculating indicators, called cardiac indicators, from RR intervals including an average, a standard deviation, a low and high frequency power, cardiac indicators being calculated at a predetermined time interval on the ECG signals of each individual, • a module for calculating indicators, called activity indicators, from the accelerometric signals of each individual in the cluster, the activity indicators being calculated at a predetermined time interval on the accelerometric signals of each individual, • a module for combining said calculated indicators to provide said meta-indicators representative of a distribution of the indicators within a predetermined time window, for each calculated cardiac and activity indicator, - a module for classifying said patient into a cluster chosen from said plurality of clusters defined by the partitioning step, so as to select the corresponding trained learning model, - a box worn by said patient comprising at least one ECG sensor and an accelerometer, - a module for calculating said meta-indicators following the same principle as that implemented for training learning models, - a module for calculating a crisis risk score for said patient, by feeding said learning model corresponding to the cluster of said patient with said meta-indicators calculated for this patient.

[0057] The advantages and technical effects of the method according to the invention apply mutatis mutandis to a system according to the invention.

[0058] Furthermore, a system according to the invention advantageously implements a method according to the invention and a method according to the invention is advantageously implemented by a system according to the invention.

[0059] Throughout the text, the term module refers to a software element, a subset of a software program, which can be compiled separately, either for independent use or to be assembled with other modules of a program, or a hardware element, or a combination of a hardware element and a software subroutine. Such a hardware element may comprise an application-specific integrated circuit (better known by the acronym ASIC for the English term Application-Specific Integrated Circuit) or a programmable logic circuit (better known by the acronym FPGA for the English term Field-Programmable Gate Array) or a specialized microprocessor circuit (better known by the acronym DSP for the English term Digital Signal Processor) or any equivalent hardware or any combination of the aforementioned hardware. Generally speaking, a module is therefore an element (software and / or hardware) which makes it possible to perform a function.

[0060] The system according to the invention has the particularity of combining data derived from an electrocardiogram and an accelerometer worn by an individual to determine a risk of seizure from a machine learning model trained for this purpose. The machine learning model implemented is further dependent on a group of individuals to which the monitored patient is attached. The system according to the invention thus implements a machine learning model per group of individuals.

[0061] The principle of use of the system according to the invention is as follows. - When a patient equips himself with the system according to the invention, a rapid pre-learning phase can be implemented to assign him a specific cluster. This step aims, from a reduced data set, to determine the group to which the patient belongs. This data is for example data from previous seizures reported by the patient himself, which makes it possible to select the typology of symptom(s) that he presents and thus the most appropriate model to use. The model thus selected makes it possible to initialize a model specific to the patient. The system can operate in continuous mode. The patient's model is not fixed: as soon as the latter gives feedback on a detection error or a missed seizure, the system can change the group to which he belongs and / or update the trained model. - The data provided by the sensors are collected in real time, and the same indicators as those used in the pre-learning phase are calculated by the different modules of the system. - The patient can also be asked to report the first N attacks suffered via an application or a personal space on a website, where N is a predetermined integer. This allows a pre-learned model that best suits the patient to be selected. - At any time the patient can report a prediction error. If this is the case, his model is updated. - In order to avoid over-learning, updating a patient model is done by including it in the patient cluster of the pre-learning database which was used to pre-learn the model.

[0062] The patient's trained learning model can be saved on an application embedded on the patient's smartphone. The latter contains the most up-to-date patient's trained learning model (its parameters are therefore fixed in the application).

[0063] Regularly (for example once a month), the server updates, based on the patient's feedback, the parameters of its learning model and sends them to the application. It is also possible to repeat the pre-learning phase offline with the new data that the patient sends back (or that the different patients equipped with a system according to the invention go back up).

[0064] The invention also relates to a system for assisting in the detection and / or prediction of epileptic seizures in an individual, called a patient, comprising: • a system for determining a crisis risk score according to the invention, • a module for detecting and / or predicting an epileptic seizure by communication comparison of the risk score determined by said system for determining a crisis risk score to at least a predetermined threshold.

[0065] The advantages and technical effects of the device for determining a patient's crisis risk score apply mutatis mutandis to a system according to the invention.

[0066] The invention also relates to a method for predicting and / or detecting seizures and a system for predicting and / or detecting seizures characterized in combination by all or part of the characteristics mentioned above or below. List of figures

[0067] Other aims, characteristics and advantages of the invention will appear on reading the following description given solely for non-limiting purposes and which refers to the appended figures in which: - [Fig.l] is a schematic view of the operating principle of a system for determining an epileptic seizure risk score according to one embodiment of the invention, - [Fig.2] is a synoptic view of the process of determining a score of risk of epileptic seizure according to one embodiment of the invention.

[0068] Detailed description of an embodiment of the invention

[0069] [Fig.l] schematically illustrates the principle of determining an epileptic seizure risk score for a patient using the method schematically represented by [Fig.2].

[0070] The method according to the invention comprises two distinct phases: a pre-learning phase and a phase of evaluating a patient using the results of the pre-learning phase.

[0071] The pre-learning phase comprises a first step 110 of constituting a learning base 20. The method comprises a subsequent step 120 of partitioning the learning base 20 into a plurality of clusters 20a, 20b, 20c, 20d. The method then comprises a step 130 of training a learning model per cluster. At the end of this step, we have models 40a, 40b, 40c, 40d corresponding to the clusters 20a, 20b, 20c, 20d.

[0072] The evaluation phase comprises a step 140 of classifying the patient 10 in a cluster so as to select the relevant trained learning model for the evaluation of the patient 10. To do this, and according to one embodiment, cardiac and activity signals are recovered from the patient and compared to the first N attacks. reported by the patient (these reports being made, for example, via a software application embedded on the patient's smartphone 12).

[0073] The data of the selected model can then be transmitted in a step 142 to a mobile application embedded on the patient's smartphone 12. According to another variant, all of the models are transmitted to the patient's smartphone and the classification phase is directly implemented on the patient's smartphone.

[0074] The evaluation phase then comprises a step 150 of acquiring ECG and accelerometric signals on the patient from the box 14 worn by the patient, which then makes it possible to carry out a step 160 of calculating a risk score by submitting this data, from which meta-indicators will be extracted, to the trained learning model selected for the patient. The model provides the corresponding risk score, a comparison 170 of which with one or more predetermined thresholds makes it possible to signal a potential epileptic seizure.

[0075] The different stages and the means that can be used to implement them will now be described in more detail. Pre-learning phase

[0076] The pre-learning phase begins with the creation of a learning base 20. Learning base

[0077] To constitute the learning base, it is for example possible to equip a plurality of epileptic individuals 18 with a box according to the invention and to continuously monitor the individuals 18 thus equipped.

[0078] This box houses at least one ECG sensor and one accelerometer configured to acquire corresponding signals from individuals. This box can be of any type and can be worn by each individual, either as a patch, or as a necklace, or as a watch, etc. This box is for example formed by a belt-type device known under the name BioHarness 3.0 from the brand Zéphyr® (Medtronic®). This device makes it possible to continuously collect an electrocardiogram (ECG) (sampled at 1 kHz) and 3D accelerometry data (sampled at 100 Hz).

[0079] It should also be noted that this equipment also makes it possible to collect data on the deformation of the rib cage, making it possible to account for breathing (sampled at 25 Hz). As described later, these data can, according to one embodiment, enrich the learning base of the invention.

[0080] This box can be used both to constitute the learning base, but also to equip the patient for whom we then seek to determine a score of risk.

[0081] The applicant then carried out data measurements for an average of 17 days (maximum 21 days, minimum 12).

[0082] During this period of time, an average of 23 seizures per individual were detected, a maximum of 107 and a minimum of 2. The signals from the ECG and accelerometric sensors were recorded continuously and the onset and end of seizures were notified by the caregivers who monitored the individuals. All of this data constitutes the learning basis of the invention. It is also possible, to constitute the learning basis and associate the acquired signals with the information on the start and end of seizures, to monitor the individuals with other types of equipment, such as intracranial devices.

[0083] It is also possible, to enrich the learning base thus constituted, to use a database 19 already constituted, such as for example the European Epilepsiae database.

[0084] The applicant used the Epilepsiae database, which consists of recordings made in 3 European centers (La Pitié Salpétrière in France, Freiburg in Germany, and Coimbra in Portugal). Data from 168 individuals (out of the 275 individuals that make up the complete database) were retrieved by the applicant to enrich his learning database. The Epilepsiae database includes several days of data per individual (8 on average, 24 maximum, 3 minimum).

[0085] The following data were used for each selected individual: - ECG data, - age, date of admission, neurological assessment, treatment, assessments, frequency of seizures, type of seizures, - Metadata for each seizure: start and end of the seizure on the EEG, start and end of the seizure from a clinical point of view (video), type of seizure.

[0086] Note that this Epilepsiae database does not include accelerometric data from individuals. This portion of the database therefore does not allow the corresponding meta-indicators to be obtained. That being said, the learning models of the method according to the invention can be supplied with missing data. At least some of the individuals in the database include ECG signals and accelerometric signals, as indicated previously.

[0087] According to one embodiment of the invention, the learning base 20 can further be enriched with other data, such as for example the body temperature of the individuals and / or the electrodermal activity of the individuals. Partitioning the learning base

[0088] Once this learning base 20 has been constituted, it is partitioned into a plurality of clusters 20a, 20b, 20c, 20d by a partitioning module.

[0089] This step of partitioning 120 of the base into a plurality of clusters 20a, 20b, 20c, 20d is preferably carried out automatically.

[0090] To do this, the individuals of base 20 are initially distributed randomly within the clusters 20a, 20b, 20c, 20d.

[0091] For each of the clusters thus formed, a machine learning model specific to this cluster is trained from the meta-indicators derived from the data of the individuals in this cluster (described later).

[0092] Then, a reassignment of the individuals from the learning base to the cluster whose learning model minimizes a prediction error is carried out.

[0093] These steps are repeated until the prediction error stabilizes around a value.

[0094] The principle of partitioning according to this embodiment is similar to the implementation of a k-means type algorithm.

[0095] According to another embodiment, the clusters are formed by an operator who analyzes the learning base and groups the individuals according to the individuals' crisis symptoms. Training learning models

[0096] Once the learning base is partitioned, a learning model is trained for each cluster from meta-indicators derived from the data of this cluster. The meta-indicators are determined by the following sub-steps.

[0097] Peak location and calculation of RR intervals

[0098] The first sub-step concerns the localization 131 of the R peaks in the ECG signal. This is the most prominent peak in the characteristic wave called QRS complex that a heartbeat generates. It is then possible to determine the RR intervals of the signal in a second sub-step 132 of identifying the RR intervals. The scientific literature describes routines for determining the RR intervals from ECG signals and those skilled in the art can refer to it to implement this step of the method. Calculation of cardiac indicators

[0099] Once the different RR intervals have been detected in the signal, it is possible to calculate a certain number of cardiac indicators during a sub-step 133 of calculating the cardiac indicators.

[0100] The following indicators may be used: - mean, standard deviation, norm ^^2 of the derivative (these indicators can for example be obtained by following the principles set out in the document “Malik, M., JT Bigger, AJ Camm, RE Kleiger, A. Malliani, AJ Moss, and PJ Schwartz. 1996. “Heart Rate Variability: Standards of Measurement, Physiological Interpretation, and Clinical Use”. European Heart Journal 17 (3): 354-81. https: / / doi.org / 10.1093 / oxfordjournals.eurheartj.a014868”. - low and high frequency power (these indicators can for example be obtained by following the principles set out in the aforementioned Malik et.al. document) - CSI index - English acronym for Cardiac Sympathetic Index - (this indicator can for example be obtained by following the principles set out in the document "Jeppesen, Jesper, Anders Fuglsang-Frederiksen, Peter Johansen, Jakob Christensen, Stephan Wüstenhagen, Hatice Tankisi, Erisela Qerama, Alexander Hess, and Sândor Beniczky. 2019. "Seizure Detection Based on Heart Rate Variability Using a Wearable Electrocardiography Device". Epilepsia 60 (10): 2105-13. https: / / doi.org / 10.1111 / epi. 16343.) - entropy indicators (these indicators can for example be obtained by following the principles set out in the document “Thu, Trang Nguyen Phuc, Alfredo I. Hernandez, Nathalie Costet, Hugues Patural, Vincent Pichot, Guy Carrault, and Alain Beuchée. 2019. “Improving Methodology in Heart Rate Variability Analysis for the Premature Infants: Impact of the Time Length”. PLOS ONE 14 (8): e0220692. https: / / doi.org / 10.1371 / joumal.pone.0220692). Calculation of activity indicators

[0101] The method according to the invention also calculates a certain number of indicators representative of the activity of the individuals during a sub-step 134 of calculating the activity indicators.

[0102] The following indicators may be used: - accelerometric signal standards on each of the 3 axes (x, y, z) of the accelerometer obtained by the following equations: || A || = ,^2, || A || = fay2 ■> || A || = °ù üx ay üz represent the acceleration values ​​measured on each of the three axes of a direct trihedron (x,y,z) associated with the accelerometer, - full signal norm defined by the following equation:

[0103] || A || +

[0104] Other indicators can also be calculated from the acceleration measurements. Operations on indicators

[0105] The cardiac indicators and the activity indicators are calculated, for example, on sliding windows whose size can vary, which makes it possible to multiply their number. For example, the method can calculate an indicator value every 10 seconds.

[0106] The method according to the invention then combines these different indicators to form meta-indicators during a sub-step 135 of calculating the meta-indicators. For example, every 10 seconds, the method retrieves all the indicator values ​​of the last 10 minutes and calculates meta-indicators for each indicator (average, variance, minimum, maximum, etc.)

[0107] It is these meta-indicators, representative of the distribution of indicators over the time window considered (for example the last 10 minutes) which feed the supervised learning model associated with each cluster.

[0108] An a priori crisis probability indicator can also be added to these meta-indicators. This probability indicator can be calculated from the history of individuals' crises, and from any cycles observed in individuals.

[0109] According to a variant, it is possible to add metadata corresponding to the patient (epileptic syndrome, etc.). Learning model

[0110] Once all the meta-indicators of all the individuals in the learning base are calculated, the automatic learning models 40a, 40b, 40c, 40d can be trained during the training step 130. According to the invention, a machine learning model is trained per group of individuals formed in the partitioning step.

[0111] According to one variant, support vector machines (better known by the English acronym SVM for Support Vector Machine) are used as learning models. According to another variant, ensembles of decision trees (better known by their English name Random Forest or XGBoost or CatBoost or LightGBM) are used as learning models. According to another variant, deep neural network models are used as learning models.

[0112] At the end of this step, we have trained models 40a, 40b, 40c, 40d for the different clusters 20a, 20b, 20c, 20d.

[0113] All of the steps relating to the pre-learning phase are implemented on a computer system, which must be understood in the broad sense (computer, plurality of computers, virtual server on the Internet, virtual server on the Cloud, virtual server on a platform, virtual server on a local infrastructure, server networks, etc.). This computer system typically comprises one or more processors, one or more memories and possibly a human-machine interface. The computer system also comprises a database for saving the learning base and the clusters obtained by partitioning the base. The computer system may also comprise means for storing the trained learning models. Evaluation phase

[0114] Once the different learning models have been trained from the learning base, the patient assessment phase can be carried out. This assessment phase aims to calculate a seizure risk score and possibly to detect and / or predict seizures in a patient equipped with an ECG sensor and an accelerometer.

[0115] To do this, a patient is equipped with a box 14 in which an accelerometer and an ECG sensor are housed. This box may, for example, be the same box as that used to constitute the learning base.

[0116] The accelerometer is preferably a 3-axis accelerometer. According to another variant, it is possible to use 3 single-axis accelerometers, or even one single-axis accelerometer.

[0117] These sensors are intended to provide ECG and accelerometric signals to a processing unit to calculate the same meta-indicators as those calculated during the pre-learning phase, these calculated meta-indicators then being passed into the trained learning model corresponding to the cluster to which the patient belongs.

[0118] This processing unit therefore comprises a module for calculating meta-indicators and a module for calculating a patient crisis risk score. As indicated previously, these modules may be software elements, subsets of a software program, hardware elements, or a combination of hardware elements and software subprograms.

[0119] According to one variant, these modules are embedded on the patient's smartphone and use the microprocessor and the memories of the smartphone to ensure the corresponding operations.

[0120] Thus and according to this embodiment, the sensors of the housing 14 communicate, for example via Bluetooth, with the application embedded on the patient's smartphone 12. This embedded application is configured to calculate the meta-indicators and to submit the trained learning model corresponding to the patient to the calculated meta-indicators. The application can thus communicate with a remote server to retrieve the corresponding learning model.

[0121] To determine the model corresponding to the patient, according to a preferred embodiment, the patient is first classified within a cluster during a classification step 140. Patient classification within a cluster

[0122] Preferably, the classification of the patient within a cluster comprises a first step 141 of acquiring ECG and accelerometric signals on the patient from the box worn by the latter. Then, the meta-indicators are calculated according to the same principle as that implemented for training the models. learning in a step 142 of calculating the meta-indicators. This classification step then preferably provides for a reporting 143 by the patient of the first N attacks suffered, N being a predetermined integer. This can for example be done by a dedicated interface on the mobile application embedded on the patient's smartphone. The risk score associated with each report is then calculated from each of the learning models trained during the learning phase. Finally, the trained model which provides the best risk score for all the first N attacks reported is selected during a sub-step 144 of selecting the relevant model. The patient is classified in the cluster corresponding to this selected model. Calculating the risk score

[0123] Once the training model is selected, the model data is downloaded to the patient's smartphone software application.

[0124] The system can then continuously acquire the sensor signals, calculate the meta-indicators and submit them to the learning model to obtain the risk score. This step of calculating a risk score 170 thus implements and preferably the same steps as those described in connection with the learning of the model dedicated to the patient. Model update

[0125] According to an advantageous embodiment, the patient can indicate, during a step 180, a crisis prediction error, for example via an interface of the software application.

[0126] In this case, it is possible to update the learning model used by the patient by retraining it according to the same principle as that described previously, but by integrating the data corresponding to the prediction error into the learning base. To avoid any over-learning, the patient's data is then added to the learning base and a specific weight associated with this data can be provided to give more importance to the patient's feedback compared to the data of other individuals. This makes it possible to obtain a patient-specific learning model that will be increasingly relevant over time.

Claims

1. Claims Method for determining an epileptic seizure risk score of an individual, called a patient, said method comprising: • a step of constituting (110) a learning base (20) of epileptic individuals, said base (20) comprising, for a plurality of individuals, electrocardiogram signals, called ECG signals, and accelerometric signals, respectively representative of the electrical signal of the heart and the movements of these individuals, associated with data on the start and end of the seizure of these individuals, • a step of partitioning (120) said learning base into a plurality of groups of individuals, called clusters (20a, 20b, 20c, 20d), each cluster being made up of individuals presenting the same type of epileptic symptom(s) in the vicinity of the epileptic seizures that they undergo, • for each cluster (20a, 20b, 20c, 20d) formed in the previous step, a training step (130) of a machine learning model specific to this cluster, from meta-indicators derived from the data of said learning base restricted to the individuals belonging to this cluster, said meta-indicators being calculated by the following steps: • localization (131) of all R peaks in the ECG signal of each individual in the cluster, an R peak being the most prominent peak of a QRS complex generated by a heartbeat of the individual, • identification (132) of the RR intervals of the ECG signal of each individual in the cluster, • calculation of indicators (133), called cardiac indicators, from the RR intervals including an average, a standard deviation, a low and high frequency power, the cardiac indicators being calculated at a predetermined time interval on the ECG signals of each individual, • calculation of indicators (134), called activity indicators, from the accelerometric signals of each individual in the cluster, the activity indicators being

2. calculated at a predetermined time interval on the accelerometric signals of each individual, • operations (135) on said indicators calculated in the preceding steps to provide said meta-indicators representative of a distribution of the indicators within a predetermined time window, of each calculated cardiac and activity indicator, • a step of classifying (140) said patient in a cluster chosen from said plurality of clusters so as to assign to said patient the corresponding trained learning model, • a step of acquiring (150) ECG and accelerometric signals on said patient equipped with an ECG sensor and an accelerometer, • a step of calculating said meta-indicators following the same principle as that implemented for training learning models, • a step of calculating (160) a crisis risk score for said patient, by feeding said trained learning model corresponding to the cluster of said patient with said meta-indicators calculated for this patient. Method according to claim 1, characterized in that said step of classifying (140) said patient in a cluster comprises: • a step of acquiring (141) ECG and accelerometric signals on said patient from an ECG sensor and an accelerometer worn by said patient, • a step of calculating (142) said meta-indicators following the same principle as that implemented for training the learning models, • a step of reporting (143) by said patient the first N attacks suffered, N being a predetermined integer, • a step of calculating the risk score from each of the trained learning models, and of selecting (144) said trained model which provides the best risk score for all of the first N reported attacks, said patient being classified in the cluster corresponding to this model.

3. Method according to one of claims 1 or 2, characterized in that it further comprises a step of signifying (180) a crisis prediction error by said patient and a step of updating the learning model of said patient from said learning base restricted to individuals belonging to the cluster of said patient, to which said patient is added.

4. Method according to claim 3, characterized in that said step of updating the learning model of said patient comprises an allocation to the data from said patient of weights greater than the weights of the data of the other individuals of said learning base.

5. Method according to one of claims 1 to 4, characterized in that said meta-indicators representative of a distribution of the indicators within a predetermined time window comprise in particular an average, a variance, a minimum, a maximum of the indicators within this window.

6. Method according to one of claims 1 to 5, characterized in that said step of partitioning (120) said learning base into a plurality of clusters comprises: • a step of randomly distributing said individuals of said learning base into K clusters, K being a predetermined integer, • for each of the K clusters thus formed, a step of training a machine learning model specific to this cluster according to the same principle as that implemented in the context of training learning models from said meta-indicators derived from the data of the individuals of this cluster, • a reassignment of the individuals of said learning base to the cluster whose learning model minimizes a prediction error, • a reiteration of the preceding steps until said total prediction error stabilizes around a value.

7. Method for assisting in the detection and / or prediction of crises

8. of epilepsy of an individual, called patient, said method comprising: • a method for determining an epileptic seizure risk score for said patient according to one of claims 1 to 6, • a step of detecting and / or predicting (170) an epileptic seizure by comparing said seizure risk score determined by said determination method with at least one predetermined threshold. System for determining an epileptic seizure risk score for an individual, known as a patient, comprising: • a learning base for epileptic individuals (20), said base comprising, for a plurality of individuals, electrocardiogram signals, called ECG signals, and accelerometric signals, respectively representative of the heartbeats and movements of these individuals, associated with data on the start and end of the seizure of these individuals, • a module for partitioning said learning base into a plurality of groups of individuals, called clusters (20a, 20b, 20c, 20d), each cluster being made up of individuals presenting the same type of epileptic symptom in the vicinity of the epileptic seizures that they undergo, • for each cluster (20a, 20b, 20c, 20d) thus formed, a machine learning model specific to this cluster, trained from meta-indicators derived from the data of said learning base restricted to the individuals belonging to this cluster, said meta-indicators being provided by a processing unit comprising: • a module for localizing all R peaks in the ECG signal of each individual in the cluster, an R peak being the most prominent peak of a QRS complex generated by a heartbeat of the individual, • a module for identifying the RR intervals of the ECG signal of each individual in the cluster, • a module for calculating indicators, called cardiac indicators, from the RR intervals including an average, a standard deviation, a low and high frequency power, the cardiac indicators being calculated at a predetermined time interval on the ECG signals of each individual, • a module for calculating indicators, called activity indicators, from the accelerometric signals of each individual in the cluster, the activity indicators being calculated at a predetermined time interval on the accelerometric signals of each individual, • a module for combining said calculated indicators to provide said meta-indicators representative of a distribution of the indicators within a predetermined time window, for each calculated cardiac and activity indicator, • a module for classifying said patient in a cluster chosen from said plurality of clusters defined by the partitioning step, so as to select the corresponding trained learning model, • a box (14) worn by said patient comprising at least one ECG sensor and an accelerometer,• a module for calculating said meta-indicators following the same principle as that implemented for training the learning models, • a module for calculating a crisis risk score for said patient, by feeding said learning model corresponding to the cluster of said patient with said meta-indicators calculated for this patient.,

9. System for assisting in the detection and / or prediction of epileptic seizures of an individual, called a patient, comprising: • a system for determining a seizure risk score according to claim 8, • a module for detecting and / or predicting an epileptic seizure by comparing the risk score determined by said system for determining a seizure risk score with at least one predetermined threshold.

Citation Information

Patent Citations

  • System and method for identifying ictal states in a patient

    US20170196497A1