Generation of training data for machine learning of a prediction model of the risk of occurrence of a rare event
Patent Information
- Application Number
- DE602024009457
- Authority / Receiving Office
- DE · DE
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2023-07-05
- Filing Date
- 2024-07-04
- Publication Date
- 2026-11-18
- Estimated Expiration
- 2044-07-04
AI Technical Summary
Existing machine learning algorithms struggle with predicting rare events due to unbalanced training data, where data representative of common events vastly outnumber data representative of rare events, leading to poor performance in identifying rare occurrences.
A method and device for generating balanced training data by using machine learning techniques to identify subsets of variables associated with a risk threshold, applying pseudo-random variations, and iteratively classifying data using multiple classifiers to create informed training datasets with defined risk levels.
The approach enhances the predictive capability of machine learning models for rare events by creating balanced and risk-informed training data, improving the F1-score and overall performance of prediction algorithms.
Description
[0001] The invention relates to a method and device for generating training data for machine learning of a model predicting the risk of occurrence of a rare feared event.
[0002] The invention also relates to a method and a device for machine learning a model for predicting the risk of occurrence of an associated rare event.
[0003] Finally, the invention relates to associated computer programs.
[0004] The invention lies in the general field of predicting the risk of rare events occurring, in particular the early detection of precursor signals to rare events.
[0005] Recently, the use of artificial intelligence, particularly machine learning-trained classification or prediction algorithms, has enabled great advances in the fields of diagnosis, failure prediction, whether in industrial, railway systems or early diagnosis to detect risks of developing various diseases in patients.
[0006] However, such artificial intelligence algorithms perform well when trained on so-called annotated or labeled training data—that is, input data containing variables with values characterizing the monitored data, possibly collected over time, which are associated with known classifications. When sufficient representative training data for each possible output class of a classification algorithm is provided during such a training phase, the parameters of the classification model implemented by the algorithm are calculated to ensure the algorithm's performance.
[0007] Patent applications FR 3 098 940 A1 and EP4033421 A1 deal with the detection of risks of incidents and failures.
[0008] Intrinsically, training data is abundant for common events, and sparse and unbalanced for rare events. In other words, the distribution of training data between data representative of common events and data representative of rare events is unbalanced.
[0009] Thus, in the case of application to an industrial system, a lot of operating data, for example collected by sensors, is available, which makes it possible to obtain a lot of data prior to the occurrence of frequent failures (wear etc) and very little data prior to the occurrence of exceptional failures.
[0010] Similarly, in the context of a diagnosis of a rare disease, databases contain little data relating to patients with the disease compared to patients without the disease.
[0011] In these cases, we speak of unbalanced training data, comprising a first set of data associated with the absence of a feared rare event, and a second set of data associated with the presence of said rare event, the cardinality of the first set being much greater than the cardinality of the second set, for example, the cardinality of the first set being greater than 95% of the total cardinality of the two sets, and the cardinality of the second set being less than 5% of the total cardinality.
[0012] Thus, the data from the second set are "buried" in the training dataset, and the classification or prediction algorithm trained by machine learning on such training data is less effective at predicting the rare event.
[0013] One of the objectives of the invention is to remedy these drawbacks, in order to improve the performance of predicting the occurrence of rare events from initially unbalanced training databases.
[0014] To this end, the invention proposes, according to one aspect, a method for machine learning a model for predicting the risk of occurrence of a rare feared event, implementing a method for generating training data for machine learning of a model for predicting the risk of occurrence of a rare feared event according to claim 1.
[0015] Advantageously, the training data generation process used allows for an augmented training dataset, resulting in more balanced training groups. This, in turn, allows for improved prediction of rare events through machine learning of a model or algorithm for predicting the feared rare event, when balanced training data is used.
[0016] According to another aspect, the invention relates to a machine learning device for a model predicting the risk of occurrence of a rare feared event, comprising a device for generating training data for machine learning of a model predicting the risk of occurrence of a rare feared event according to claim 7.
[0017] Other features and advantages of the invention will become apparent from the description given below, by way of example and not limitation, with reference to the attached figures, including: [ Fig 1 ] there figure 1 schematically represents a system comprising a device for generating training data for machine learning of a model predicting the risk of a rare, feared event occurring. ; Fig 2 ] there figure 2 is a synoptic diagram of the main steps in a process for generating training data according to a first embodiment; [ Fig 3 ] there figure 3 is a synoptic diagram of the main steps in a process for generating training data according to a second embodiment; [ Fig 4 ] there figure 4 is a synoptic of the main steps of a machine learning process of a model for predicting the risk of occurrence of a rare feared event and of implementing said predictive model.
[0018] There figure 1 schematically illustrates a system 2 for generating training data for machine learning of a model predicting the risk of occurrence of a rare, feared event.
[0019] System 2 is presented in a generic manner. The applications of such a system are numerous, for example for predicting the risk of exceptional malfunction of a monitored industrial system or for diagnosing the risk of a patient having a rare disease.
[0020] Generally speaking, a monitored system is a system in which the feared rare event is likely to occur.
[0021] For example, in industrial applications, a monitoring system is a type of factory or set of equipment to be monitored.
[0022] In the diagnostic application, the monitored system is a patient's body, based on recorded data.
[0023] For predicting the risk of a rare event occurring, it is planned to use a prediction model, which is trained by machine learning on training data (or input data) representative of characteristics of monitored systems of the same type.
[0024] In other words, for industrial applications, for example if the monitored system is a coal-fired power plant, the training data consists of representative data from one, or preferably several, coal-fired power plants, collected over time. Furthermore, characteristics such as the type and age of the equipment used are also recorded.
[0025] For example, for the diagnostic application, patient-related data, such as in vitro analysis test results, and patient characteristics (e.g., age, sex) are stored.
[0026] It is clear that the training data is data adapted for the intended application.
[0027] This data is organized as vectors of variables with values that represent a state of the monitored system's data. In other words, each vector is associated with a state of the monitored system.
[0028] Of course, a plurality of vectors can be associated with the same monitored system.
[0029] The values of the variables are provided by sensors and recorded over time (e.g. alarm response, recording of operating measurements, deviation or anomaly, technical fact).
[0030] The training data is recorded before the occurrence of a feared rare event, but for at least part of the training data, the occurrence of the rare event has been observed (i.e. feared dysfunction or declared rare disease).
[0031] The training data is gathered into an input training database 4, stored in a data storage system 5.
[0032] Database 4 contains an initial set 6 of data associated with the absence of the said rare event. A probability of occurrence of the rare event is also stored, this probability of occurrence coming from prior knowledge, for example either from the opinion of a domain expert in the case of supervised learning, or from the results from the prior implementation of unsupervised Machine Learning algorithms, such as Association or Clustering, which makes it possible to associate, or group in the same class, events of the same probability of occurrence and / or the same level of risk.
[0033] Database 4 includes a second initial set 8 of data associated with the occurrence of said rare event, i.e., data taken from monitored systems for which the feared rare event has occurred.
[0034] The first initial set 6 has a cardinality N1 (i.e. contains N1 vectors of variables), the second initial set 8 has a cardinality N2 (i.e. contains N2 vectors of variables).
[0035] In database 4, the number N1 is substantially higher than N2, i.e. N2 < X / 100 x (N1+N2), where X is for example less than 10, or even less than 5, and even less than 1.
[0036] One of the objectives of system 2 for generating learning data is to provide more balanced training datasets, so as to better characterize the risk of occurrence of the feared rare event.
[0037] The training data generation system 2 includes a training data generation device 10, which is for example a programmable electronic device or a plurality of interconnected programmable electronic devices.
[0038] The device 10 includes in particular a computing unit 12, comprising one or more computing processors, and an electronic memory 14, adapted to communicate via a data communication bus (not shown).
[0039] Device 10 is also adapted to communicate, in read and write, with the data storage system 5, which includes the input training database 4.
[0040] Similarly, the device 10 is also adapted to communicate, in reading and writing, with a data storage system 15, configured to store an output training database 16, described in more detail below.
[0041] Each of the 5 and 15 data storage systems is a computer-readable medium, for example, a medium capable of storing electronic instructions and being connected to a computer system bus. Examples of readable media include optical discs, magneto-optical discs, ROMs, RAMs, any type of non-volatile memory (e.g., EPROM, EEPROM, FLASH, NVRAM), magnetic cards, and optical cards.
[0042] Device 10 comprises the following modules, implemented by computing unit 10: a module 20 for determining, from the first and second initial sets 6, 8 of data, by a machine learning method, at least one subset of variables associated with a risk of occurrence of the rare event greater than a risk threshold, said risk being calculated from values of said variables; a module 22 for generating a third set of data by pseudo-random variations on said subset of data, and calculating an associated risk; a module 24 for grouping the first, second and third sets of data into an augmented training dataset 25; a module 26 for applying a first unsupervised learning classification model to the augmented training dataset, allowing obtaining: a first group of training data 30 associated with a risk of occurrence of the rare event less than a first threshold S1;a second group of training data 32 associated with a risk of occurrence of the rare event greater than a second threshold S2; a third group of training data 34 associated with a third risk, less than the second threshold S2 and greater than the first threshold S1; a module 28 applying at least one second machine learning classification model to reclassify at least the training data of the third group 34 into the first group or into the second group, and estimation of an associated reclassification error probability.
[0043] In one embodiment, module 28 implements three distinct second classification models (also called classifiers), comprising an unsupervised classifier, a semi-supervised classifier, and an unsupervised classifier.
[0044] The plan is to use modules 20, 22, 24, 26 and 28 iteratively, until the probability of reclassification error is considered satisfactory, i.e. below a predetermined error threshold.
[0045] The output is a training database 16 comprising at least a first set of training data outputs 36 and a second set of training data outputs 38, obtained after application of module 28. Each set of outputs 36, 38 has an associated risk of occurrence of the feared rare event, 36', 38'. For example, the risk 36' of occurrence of the feared rare event, associated with the first set of outputs 36, is low, for example below a first risk threshold, for example below 15% or below 5% probability of occurrence, and the risk 38' of occurrence of the feared rare event, associated with the second set of outputs 38, is high, for example above 55% or 65% probability of occurrence.
[0046] Advantageously, the cardinality N'1 of the first training data output set 36 is lower than the cardinality N'1 of the initial first set 6, and the cardinality N'2 of the second training data output set 38 is greater than the cardinality N'2 of the initial first set 8. In other words, the training data is rebalanced, and an associated risk is also calculated. Since the training data is associated with a risk of the feared rare event occurring, the rebalanced training dataset also contains risk information. The resulting training data is also said to be "informed" of the risk of the feared rare event occurring.
[0047] In one variant, more than two output sets are obtained, each of the output sets having an associated risk of occurrence of the dreaded rare event.
[0048] In one embodiment, modules 20, 22, 24, 26 and 28 are implemented in the form of software code, and form a computer program, comprising software instructions which, when implemented by a programmable electronic device, implement a method for generating training data for machine learning of a model for predicting the risk of occurrence of a rare feared event.
[0049] In an alternative not shown, modules 20, 22, 24, 26 and 28 are each implemented as a programmable logic component, such as an FPGA (from the English Field Programmable Gate Array ) , or a GPGPU (from English) General-purpose processing on graphics processing ), or in the form of a dedicated integrated circuit, such as an ASIC (from the English Application Specific Integrated Circuit ) .
[0050] The computer program for generating training data is also capable of being stored on a computer-readable medium, not shown. A computer-readable medium is, for example, a medium capable of storing electronic instructions and being connected to a bus of a computer system. Examples of such readable media include optical discs, magneto-optical discs, ROM, RAM, any type of non-volatile memory (e.g., EPROM, EEPROM, FLASH, NVRAM), magnetic cards, or optical cards.
[0051] There figure 2 is a synoptic of the main steps of a process for generating learning data in a first embodiment, for a monitored system and a rare feared event.
[0052] The input provided is the input training database 4, comprising the first initial training data set corresponding to the absence of the rare event, and the second initial data set corresponding to the occurrence of the rare event.
[0053] Each set includes the same types of data, comprising vectors of variables representing the states of one or more monitored system(s) of the same type.
[0054] The process includes a first step 40, implemented by module 20, of determining from said first and second initial data sets, by a machine learning method, at least a subset of variables associated with a risk of occurrence of said rare event greater than a risk threshold, said risk being calculated from values of said variables.
[0055] In other words, step 40 performs AI-assisted modeling of risk exposure.
[0056] For example, the machine learning method implemented in step 40 is a bootstrapped random forest learning method, a well-known random sampling with replacement technique. Advantageously, this allows for the generation of a distribution of estimates instead of a single point estimate, and for obtaining uncertainty values for the associated estimates. Alternatively, the XGBoost (for "eXtreme Gradient Boosting") algorithm is implemented.
[0057] According to other variants, in step 40 a logistic regression or a support vector machine or SVM (from the English "Support Vector Machine") is implemented.
[0058] Step 40 helps to determine states of the monitored system that are precursors to the feared rare event.
[0059] These states are characterized by variables having given values.
[0060] The risk of occurrence of the associated rare feared event is calculated using a chosen formula.
[0061] For example, the risk is calculated as follows: Risk Informed Variable = Occ ∗ Variable 2 ∗ A With Variable designating the variable of interest associated with a given risk (an expression of an oncogene or a biomarker in Health for example) or an impact variable (severity of a consequence induced by an anomaly in an industrial setting for example); Occ designating the occurrence or frequency of realization of this risk, associated with this variable; A designating the function of attenuation or amplification of the risk depending on the overall state of the system in industrial application or the overall health status of a patient (comorbidities, environmental and / or occupational exposures at risk ...).
[0062] In one embodiment, A is a multiplicative factor.
[0063] In an example carried out on clinical and genetic data for the prediction of patients at high risk of developing an aggressive form of clear cell renal cell carcinoma, we first carried out a logarithmic normalization of gene expressions to rebalance the weight of each gene with the other available clinical data to ensure a balanced consideration and a normalized predictive approach of the Machine Learning classification algorithms.
[0064] In this example, we have introduced and generated, for each initial normalized data point (data), a new associated data point (data_risk) which is defined as a function modeling the risk carried by the initial data point, according to the following formula: data risk = Occurrence ∗ data 2 ∗ A
[0065] A predetermined risk threshold is used, depending on the field of application, for example a risk threshold between 5% and 15% of a predetermined risk level, for example maximum, depending on the recommendations and feedback from the field of application.
[0066] The process then includes a step 42 of generating a third set of data by pseudo-random variations on the subset of data obtained in step 40, and calculating an associated risk.
[0067] This makes it possible to artificially generate data corresponding to states of the monitored system that are precursors to the dreaded rare event.
[0068] In one embodiment, step 42 implements a clustering algorithm, for example the K-means algorithm, to accommodate the introduction of pseudo-random variations. Step 42 makes it possible to find hidden correlations between the different unlabeled events by grouping them into equivalent risk classes.
[0069] The first, second initial sets and the third dataset generated in step 42 are grouped in the grouping step 44 into an augmented database.
[0070] The process then includes a step 46 of applying a first unsupervised machine learning classification model to the augmented training data database, making it possible to obtain three groups of training data 30, 32, 34 defined previously, which are respectively: a first group of learning data 30 associated with a risk of occurrence of the rare event below a first threshold S1; a second group of learning data 32 associated with a risk of occurrence of the rare event above a second threshold S2, the threshold S2 being above S1; a third group of learning data 34 associated with a third risk, below the second threshold S2 and above the first threshold S1.
[0071] For example, the S1 threshold is between 5% and 10% probability of occurrence, the S2 threshold is between 15% and 25% probability of occurrence.
[0072] Unlike supervised learning, unsupervised learning allows the algorithm to learn and predict independently using unlabeled examples. Unsupervised learning algorithms are notably used to classify data, calculate the density distribution and its associated uncertainties, and reduce dimensionality when dealing with a large number of variables far exceeding the number of individuals (for example, in healthcare, 20,000 genes for a few hundred cancer patients).
[0073] For example, step 46 implements a "clustering" or "association" method, these types of methods being standard in the field of unsupervised machine learning. Other methods can also be applied, such as principal component analysis (PCA).
[0074] Step 46 is followed by a step 48 of applying at least one second machine learning classification model (or classifier) to reclassify the training data, and calculating an associated reclassification error probability.
[0075] Classification errors are associated with uncertainties in the data, data collection and processing systems, and also in the models and algorithms. Currently, several methods exist to address this issue by deploying a resampling strategy.
[0076] We thus distinguish between oversampling and undersampling.
[0077] Oversampling methods work by increasing the number of observations of the minority class(es) in order to achieve a satisfactory minority class / majority class ratio.
[0078] Undersampling methods work by decreasing the number of observations of the majority classes until a balanced ratio is reached.
[0079] Several machine learning algorithms exist for automatically generating synthetic samples. The most popular of these algorithms is SMOTE (Synthetic Minority Over-sampling Technique). SMOTE is an over-sampling method that works by creating synthetic samples from the minority class instead of simply creating copies.
[0080] The ClusterCentroids algorithm is an Undersampling algorithm based on Clustering methods to generate a number of centroids from the original data, without loss of information on the majority class when reducing it.
[0081] In this embodiment, step 48 involves a substantially parallel implementation of three distinct classifiers in substeps 50, 52, 54.
[0082] For example, substep 50 implements a semi-supervised machine learning classifier on the training data from the first group and the training data from the third group. Semi-supervised learning allows training a model on a partially annotated dataset containing some annotated data and a majority of unannotated data. The idea is to assign annotations using the similarity between a small number of annotated data points and a larger volume of unannotated data. For example, substep 50 implements a Generative Adversarial Network (GAN) model.
[0083] For example, substep 52 implements a supervised machine learning classifier, for example a support vector machine (or SVM for "Support Vector Machine") or logistic regression, on the training data from the first group and the training data from the second group.
[0084] For example, substep 54 implements an unsupervised machine learning classifier, for example a Clustering or Association algorithm, on the second group training data and the third group training data.
[0085] Advantageously, the respective classifiers are implemented independently, which makes it possible to assess and quantify the impact of uncertainties in order to reduce them.
[0086] The process then includes a step 56 of comparing the minimum probability of reclassification error, among the three sets, to a predetermined SP error threshold (or reclassification error probability threshold). If the minimum probability of reclassification error is greater than the SP error threshold, steps 40 to 48 are iterated.
[0087] Otherwise, the process includes a step 58 of obtaining at least two sets 36, 38 of output training data, and calculating the risk of occurrence of the associated rare event.
[0088] In a second embodiment of the method for generating training data for machine learning of a model for predicting the risk of occurrence of a rare feared event, the method includes steps 40 to 44 analogous to the steps described above.
[0089] Unlike the first embodiment, the process includes a step 46' of applying a first unsupervised machine learning classification model to the augmented training data database, making it possible to obtain a number G greater than 3 of training data groups, for example a number G=4. Each data group is associated with a probability of occurrence of the rare event within a range of values, for example: A first group of training data 31 associated with a risk of occurrence of the rare event between 0% and 25% probability of occurrence of the rare event; A second group of training data 33 associated with a risk of occurrence of the rare event between 25% and 50% probability of occurrence of the rare event; A third group of training data 35 associated with a risk of occurrence of the rare event between 50% and 75% probability of occurrence of the rare event; A fourth group of training data 37 associated with a risk of occurrence of the rare event between 75% and 100% probability of occurrence of the rare event.
[0090] It is understood that this can be generalized to any number G of learning groups.
[0091] The process in the second embodiment then includes a step 48', analogous to the previously described step 48, of applying at least one second machine learning classification model (or classifier) to reclassify the training data, and calculating an associated reclassification error probability.
[0092] In this embodiment, several groups of training data are provided as inputs to the first, second and third classifiers 50, 52, 54.
[0093] Various groupings of the training data groups provided as input to the first, second and third classifiers are conceivable, these input groupings being carried out for example according to the number of unbalanced data.
[0094] For example, in the illustrated embodiment, the training data of the first group 31 and the third group 35 are provided as input to the first classifier, the training data of the first group 31 and the fourth group 37 are provided as input to the second classifier, the training data of the second group 33 and the fourth group 37 are provided as input to the third classifier.
[0095] Alternatively, other groupings are envisaged, depending on the application and / or the respective cardinalities of the training data groups.
[0096] The following steps 56 and 58 are analogous to the steps previously described with reference to the figure 2 .
[0097] There figure 4 illustrates a method for using the generated training data.
[0098] This process includes a machine learning phase of the prediction model and a subsequent phase of use for the effective prediction of the risk of occurrence of a rare event in a monitored system, for example an industrial monitoring system.
[0099] The method includes, in the training phase, receiving the training database 16 containing at least two sets 36, 38 of output training data generated by the training data generation method described above. The training data are, of course, representative data of characteristics of monitored systems of a given type, which have been balanced by the method described above.
[0100] The process includes a machine learning step 80 of a model predicting the risk of occurrence of a given feared rare event on balanced training data.
[0101] The process also includes a memorization 82 of the prediction model, i.e. of its architecture and the parameter values characterizing it.
[0102] The process includes, in a second phase of effective use, the provision as input of input data 84 characteristics of a monitored system, for which the risk of occurrence of the rare event is not known a priori.
[0103] The process then includes a step 86 of implementing the prediction model stored in step 82, on the input data 84, and obtaining an effective risk R of occurrence of the associated rare event.
[0104] If the actual risk is greater than a predetermined critical risk threshold (step 88), the process includes the implementation 90 of a preventive action: for example, in the case of a monitored industrial system, sending an alert, with associated information where appropriate, to determine preventive actions: predictive maintenance, shutdown of targeted equipment etc.
[0105] The critical risk threshold is defined according to the application.
[0106] The process of using training data is implemented by one or more programmable electronic devices.
[0107] For example, the process is implemented by a programmable electronic device analogous in material terms to the device 10 for generating learning data, which further includes a learning module for the values of the prediction model implementing the learning data obtained, and / or a module for implementing the stored prediction model, and a module for applying a prevention action following the determination of an actual risk greater than a critical risk threshold.
[0108] Advantageously, the invention thus proposes an automated device and method for balancing unbalanced data by generating new risk-informed data, i.e. stored in association with an associated risk value, for the automatic learning of a model or algorithm for predicting exposure to a rare feared event.
[0109] Advantageously, the inventors have shown that the performance score characterizing the performance of machine learning-trained prediction algorithms (or models), for example the F1-score, which evaluates the ability of a classification model to efficiently predict positive individuals by making a trade-off between accuracy and recall, is consistently improved when the balanced training database is used.
Claims
1. A method of machine learning of a model for predicting a risk of occurrence of a feared rare event, implementing a method for generating training data for machine learning of said model for predicting a risk of occurrence of a feared rare event, said training data being formed by vectors of variables provided by sensors and representative of a functioning state of an industrial system monitored before the occurrence of said feared rare event, from input training data (4) including a first initial set (6) of data associated with an absence of occurrence of said rare event, and a second initial set (8) of data associated with a presence of occurrence of said rare event, the method including steps, implemented by at least one computer processor, of: - A) determination (40), from said first and second initial datasets, by a machine learning method, of at least one subset of variables associated with a risk of occurrence of said rare event higher than a risk threshold, said risk being calculated from the values of said variables, - B) generation (42) of a third set of data by pseudo-random variations on said at least one subset of data, and calculation of an associated risk, - C) grouping (44) said first, second and third datasets into an augmented training database, - D) application (46) of a first classification model by unsupervised learning based on augmented training data, resulting in at least three groups (30, 32, 34; 31, 33, 35, 37) of training data, comprising a first group (30) of training data associated with a risk of occurrence of said rare event lower than a first threshold; a second group (32) of training data associated with a risk of occurrence of said rare event higher than a second threshold; a third group (34) of training data associated with a third risk, lower than the second threshold and higher than the first threshold, - the method further comprising a step (80) of learning the values of the prediction model using training data obtained by the method for generating training data, and - -a step (86) of implementing the trained prediction model to determine an effective risk, and triggering a shutdown or a predictive maintenance of an equipment of said monitored industrial system if the effective risk is higher than a predetermined critical risk threshold.
2. The method according claim 1, further including a step E) of application (48) of at least one second machine learning classification model to reclassify at least the training data of the third group into the first group or into the second group, and estimation of an associated reclassification error probability, the first group of training data thereby obtained forming a first output set of training data (36) and the second group of training data thereby obtained forming a second output set of training data (38).
3. The method according to claim 2, wherein step E) includes the application (48) of a plurality of second classifier models: application (50) of a semi-supervised learning classifier to the training data of the first group and the training data of the third group, application (52) of a supervised learning classifier to the training data of the first group and the training data of the second group and application (54) of an unsupervised learning classifier to the training data of the second group and the training data of the third group.
4. The method according to claim 2 or 3, wherein if said reclassification error probability is higher than an error threshold, steps A) to D) are iterated, said first group of training data forming the first initial set of data and said second group of training data forming said second initial set of data for a subsequent iteration.
5. The method according to one of claims 1 to 4, in which a random forest machine learning method is applied in the determining step A).
6. A computer program including software instructions which, when executed by a programmable device, implement a machine learning method according to any of claims 1 to 5.
7. A device for automatic learning of a model for predicting a risk of occurrence of a feared rare event, comprising a device for generating training data for machine learning of said model for predicting a risk of occurrence of a feared rare event, said training data being formed by vectors of variables provided by sensors and representative of a functioning state of an industrial system monitored before the occurrence of said feared rare event, from input training data (4) including a first initial set (6) of data associated with an absence of occurrence of said rare event, and a second initial set (8) of data associated with an occurrence of said rare event, the device including at least one calculation processor configured to implement: - a module (20) for determining, from said first and second initial sets of data, by a machine learning method, at least one subset of variables associated with a risk of occurrence of said rare event higher than a risk threshold, said risk being calculated from the values of said variables, - a module (22) for generating a third set of data by pseudo-random variations on said at least one subset of data, and calculation of an associated risk, - a module (24) for grouping said first, second and third datasets into an augmented training database, - a module (26) for applying a first classification model by unsupervised learning on the augmented training database, serving to obtain at least three groups of training data, comprising a first group of training data associated with a risk of occurrence of said rare event lower than a first threshold; a second group of training data associated with a risk of occurrence of said rare event higher than a second threshold; a third group of training data associated with a third risk, lower than the second threshold and higher than the first threshold, further comprising a module for learning the values of the prediction model implementing the training data obtained by said device for generating training data, the device being further configured to implement the trained prediction model to determine an effective risk, and trigger a shutdown or a predictive maintenance of an equipment of said monitored industrial system if the effective risk is higher than a predetermined critical risk threshold.
8. A device according to claim 7, further comprising a module (28) for applying at least one second machine learning classification model to reclassify at least the training data of the third group into the first group or into the second group, and estimating an associated reclassification error probability, the first training data group thus obtained forming a first output set of training data(36) and the second training data group thus obtained forming a second output set of training data (38).
