<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta>
      <journal-title-group>
        <journal-title>CBMS.</journal-title>
      </journal-title-group>
    </journal-meta>
    <article-meta>
      <article-id pub-id-type="doi">10.1109/CBMS.2010.6042653</article-id>
      <article-id pub-id-type="urn">nbn:de:</article-id>
      <title-group>
        <article-title>Is My Model Up-to-date? Detecting CoViD-19 Variants by Machine Learning⋆</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Oguzhan Avci</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Giuseppe Pozzi</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>DEIB, Politecnico di Milano</institution>
          ,
          <addr-line>P.za L. da Vinci 32, I-20133, Milano</addr-line>
          ,
          <country country="IT">Italy</country>
        </aff>
      </contrib-group>
      <pub-date>
        <year>2010</year>
      </pub-date>
      <volume>6042653</volume>
      <issue>0</issue>
      <fpage>29</fpage>
      <lpage>31</lpage>
      <abstract>
        <p>Machine learning extracts models from huge quantities of data. Models trained and validated over past data can be deployed in making forecasts as well as in classifying new incoming data. The real world which generates data may change over time, making the deployed model an obsolete one. To preserve the quality of the currently deployed model, continuous machine learning is required. Our approach retrospectively evaluates in an online fashion the behaviour of the currently deployed model. A drift detector detects any performance slump, and, in case, can replace the previous model with an up-to-date one. The approach experiments on a dataset of 8642 hematochemical examinations from hospitalized patients gathered over 6 months: the outcome of the model predicts the RT-PCR test result about CoViD-19. The method reached an area under the curve (AUC) of 0.794 , 6% better than ofline and 5% better than standard online-binary classification techniques.</p>
      </abstract>
      <kwd-group>
        <kwd>eol&gt;Machine learning</kwd>
        <kwd>adaptive modelling</kwd>
        <kwd>concept drift</kwd>
        <kwd>model update</kwd>
        <kwd>CoViD-19</kwd>
      </kwd-group>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>1. Introduction</title>
      <sec id="sec-1-1">
        <title>Artificial Intelligence ( AI) initially aimed at simulating</title>
        <p>
          and replicating the human way of thinking.AI evolved
very rapidly, and nowadays aims to “reason about huge
quantities of data” [
          <xref ref-type="bibr" rid="ref1">1</xref>
          ], rising the concept of Machine
Learning (ML). Reasoning refers to the capacity of
extracting knowledge; learning refers to the capacity of
acquiring new knowledge from facts, automatically
deriving a thesaurus of knowledge which makes the system
capable of autonomous behavior in the real world.
        </p>
        <p>ML processes huge quantities of stored data to derive
a model: the model enables us to make forecasts about
values for future data. Forecasts are the more precise and
the more accurate ones the more the model adheres to
the real world. However, the real world may experience
changes, thus drifting away from the original behavior,
i.e., the one over which the model was initially defined.</p>
        <p>As a consequence, the performance of the model slumps.</p>
        <p>Two urgent needs arise: a) detect the performance slump
of the model; b) decide when new training on more recent
data is needed, to re-couple the model with the real world.</p>
        <p>
          The current paper aims at identifying a criterium to
detect the need for re-coupling the model with the real
world. As an application scenario, the paper considers
data from blood examinations from [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ]: data are then
Given a huge quantity of data (the ground truth), ML
enable us to build up a model which best fits the real
world data come from. The bigger the data are, the more
precise the fitting. The ground truth is split into two
parts: one part is used to train the model; the other part
is used to validate the model, i.e. to assess the quality
of the identified model in terms of its performances in
predicting or classifying newly acquired data (operating
data – not those used to train the model).
        </p>
        <p>
          A properly trained model can behave well in the real
Published in the Workshop Proceedings of the EDBT/ICDT 2023 Joint scenario for some time; however, the performances
deConference (March 28-March 31, 2023), Ioannina, Greece grade over time [
          <xref ref-type="bibr" rid="ref3">3</xref>
          ], and the model is no longer adequate.
* Corresponding author. The performance slump has to be properly detected and
†$Thoegsuezahuatnh.aovrcsic@omntariilb.puotelidmei.qitu(aOll.y.Avci); giuseppe.pozzi@polimi.it managed: several reasons may trigger such a situation,
(G. Pozzi) including changes that occurred in the real world after
 https://www.deib.polimi.it/pozzi (G. Pozzi) the model has been initially trained.
— (O. Avci); 0000-0002-2828-862X (G. Pozzi) Models must then be retrained (i.e., trained again),
© 2023 Copyright for this paper by its authors. Use permitted under Creative Commons License either automatically or manually, to face changes in
opCPWrEooUrckReshdoinpgs IhStpN:/c1e6u1r3-w-0s.o7r3g ACttEribUutRion W4.0oInrtekrnsahtioonpal (PCCroBYce4.0e).dings (CEUR-WS.org)
processed to build a predictive model, which classifies if
the patient is afected by CoViD-19 or not.
        </p>
        <p>The paper is structured as follows: Section 2 describes
the state of the art in ML; Section 3 focuses on the
approach we propose here; Section 4 describes some details
about the prototype implementation; Section 5 reports
about the on-the-field deployment of the model; finally,
Section 6 draws some concluding remarks.
erating data. Manual retraining is functional but expen- Therefore, if context transformations are known, the
consive and time-consuming. The current enterprise ap- troller will retreat to an earlier composition instead of
proach ofers MLOPs (Machine Learning OPerations) retraining itself. Otherwise, it will train new ML models.
as a potential solution for automated retraining. How- Consequentially, if a context is not taken into
consideraever, minimal efort was devoted to developing adaptive tion explicitly, substantial bias can be introduced.
machine-learning frameworks that can continuously up- A completely new technique is proposed by Bach et
date models. Operating data must be integrated into al. [10], somehow similar to the one later on used in the
models quickly to enable reliable predictions. Online ma- current paper. The novel vision is to use the
interacchine learning allows the ongoing recalibration of ML tion between two learners, a stable online learner with
models in fast-changing circumstances. a reactive one, and their contrasts in accuracy to
man</p>
        <p>Deploying a two-fold system could benefit. One part age concept drift. The stable learner beats the reactive
of the system, once suitably trained, takes care of reading learner when acquiring a new concept, but the reactive
new incoming data and of making suitable forecasts or learner surpasses the stable learner in the time behind
suitable classifications over the most recent data. The which the concept changes.
second part of the system guarantees experiment tracking Concept drift in ML refers to changes in the
proband automated deployment: this part of the system auto- lem’s relationships between input and output data
gradmatically warns in case of a performance slump, retrains ually [11]. With more focus on the issues relevant to the
the model, and deploys the most recent model. current paper, the detection of concept drifts is to be
performed in the data streams over time. While concept drift
2.2. Related Work detection can be performed by some statistical process
control as DDM [12], or temporal window [13]
distriMajor relevant literature refers to auto-adaptive machine bution as ADWIN [14], the remediation of concept drift
learning and concept drift. can be collected by the taxonomy presented by Gama at</p>
        <p>
          Auto-adaptive machine learning [
          <xref ref-type="bibr" rid="ref4">4</xref>
          ] is a reference ar- al. [15]: retrain, i.e., use more recent data; ensembles, i.e.,
chitecture where ML models can be deployed and do not keep a collection of learners and merge their decisions
need to be manually maintained. While several products to take a general conclusion.
are in this direction, the motivation of the major ones of Baier presents a switching adaptation strategy [16] for
these systems is smoothing the path to production. The dealing with concept drift in real-world datasets. The
focus is on the supervision of the model once deployment initial model is updated incrementally with the most
has ensued. Fast deployment without constant vigilance recent samples for a specific time to adjust to the most
would worsen technical debt [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ], while the problem of current concepts. However, following a particular time
optimal continual learning is NP-hard [
          <xref ref-type="bibr" rid="ref6">6</xref>
          ]. span, updates will not be suficient to adapt the model
        </p>
        <p>
          A first try is from Widmer et al. [
          <xref ref-type="bibr" rid="ref7">7</xref>
          ] with the FLORA to the most recent data shifts since the concept changed,
framework. Major features are: holding only one win- which means that the current model is obsolete. Thus,
dow of currently trusted samples and beliefs; keeping this needs the retraining of a new model.
concept descriptions and re-using them when a previous In the current paper, we follow the approach of [16],
context re-appears; managing both functions by a heuris- where instead of retraining a new model when the
actic that constantly monitors the system’s behaviour. The tual model becomes outdated, we replace the current
main problem is that the window adjustment heuristic is model with the one that is updated recurrently in the
conditional on parameters. Although the parameter set- background with more recent data.
tings chosen earlier yielded somewhat robust behaviour
in most artificial environments, this is not suficient.
        </p>
        <p>
          The approach by Gomes at al. [
          <xref ref-type="bibr" rid="ref8">8</xref>
          ] is similar to the one 3. Proposed Approach
above. It uses an online learning system that controls
available context information to enhance an existing drift One essential part of concept drift handling is not just the
detection technique in circumstances where previously detection of drifts but even how to re-adjust the
underlyobserved concepts recur. It constructs a context-concepts ing ML model. The model might be commonly adapted
history used to detect and adjust to drift. whenever new labelled data are obtained. Incremental
        </p>
        <p>Another similar approach is also proposed by Nasci- practices update the existing model regarding the most
mento et al. [9]. They suggest a control module that recent data samples [16]. Relevant features of the
underconfigures ML models, monitors the context modifica- lying model are continuously adapted, e.g., the weights
tions, and holds a history of the trained ML-based models of a neural network. Adaptions can either be founded on
that deliver the best result for one of the operational con- triggers, such as precise concept drift detectors, or can
texts. When the context changes, the rate of the outcomes be taken out regularly on an evolving story. Triggered
achieved by the ML model currently in use may drop. transformation methods are defined as knowledgeable
or operational strategies, whereas growing strategies are
viewed as random or inactive. Triggered transformation
methods use a single prediction model based on a drift
detection algorithm (e.g., ADWIN [14]). If a drift warning
is signalled, the ML model is adjusted [17, 18].</p>
        <p>Our approach is based on a detector strategy, where
the system contains a primary neural network for
output prediction and a secondary neural network for the
model update in the background (Figure 1). Thus, we
ifrst identify a model by ML techniques, then we monitor
the up-to-dateness of the model over time.</p>
        <p>primary network</p>
        <p>performace estimator
x (input)
y (predicted)
d
e
t
c
e
t
e
d
itfr
d</p>
        <p>yl (actual)
Data from [t0 - t1] M1inucsoemdintogadnaataly,ze M2inucsoemdintogadnaataly,ze
used to train and to M2 trained and validated M3 trained and validated</p>
        <p>validate M1 during [t1 – t2] during [t2 – t3]
t0
t1
t2</p>
        <p>t3
M1 is no longer a
good performer</p>
        <p>M2 is no longer a
good performer</p>
        <p>Real-world datasets usually do not include details
regarding the exact starting time and ending time of the
drift, since they are usually afected by hidden aspects
that cannot be calculated. Thus, comparing the general
predictive accuracy of other drift-handling techniques
on real-world datasets is a prevalent practice. Metrics
such as accuracy or Area Under the Curve (AUC) are
used for classification problems, and the Mean Absolute
Error (MAE) is used for regression ones.</p>
        <sec id="sec-1-1-1">
          <title>3.2. Model Up-to-dateness Monitoring</title>
        </sec>
      </sec>
      <sec id="sec-1-2">
        <title>The performance estimator (Figure 1) aims at detecting</title>
        <p>the performance slump, so that, if a performance
degradation is detected, the currently deployed neural network
(initially, it is the primary network of Figure 1) is replaced
by an updated neural network (the secondary network of
Figure 1). Thus, whenever a revision of the model is
evaluated as necessary, the optimizer (e.g., Adam or Stochastic
Gradient Descent – SGD) revises the secondary model
parameters   after a time window has elapsed. The
optimization is a stochastic gradient descent method and
minimizes the loss function (i.e., cross-entropy in our
approach)</p>
        <sec id="sec-1-2-1">
          <title>3.1. Model Identification</title>
        </sec>
      </sec>
      <sec id="sec-1-3">
        <title>We use  to represent an array having the feature of a</title>
        <p>dataset instance i. The primary neural network (Figure 1)
accepts  as input, builds up a first model, receives a
new incoming value , and delivers a predicted result .</p>
        <p>After the actual outcome ′ is observed, it is used
to update the model of the secondary neural network
(Figure 1). A performance estimator (Figure 1) follows Cross-entropy:
the predicted () and ground truth (′) results. −  log  (;  ) + (1 − ) log(1 −  (;  ))</p>
        <p>The primary neural network  (;  ) takes instance
measurements as inputs to predict outcomes. We use   We use a batch task collecting the recently gathered
to represent the weights and biases of the primary neural data (, ) of size  (number of samples in the
considnetwork, initially trained using the training dataset. ered time span). We perform some batch SGD updates</p>
        <p>The secondary neural network  (;  ) is being up- times:  is suitably chosen (see Section 5.1).The
perfordated behind the scenes by an online optimizer.   is mance estimator signals the degradation of the operating
initialized to the same parameters as the initial param- neural network and activates a replacement.
eters  . Afterward, at the evaluation of new incoming Our proposed approach initially requires the primary
samples,   is constantly updated, using new incoming network to identify a model based on data collected over
data within the latest time window, as the time window a time span; the identified model is then deployed. Next,
occasionally slides forward (Figure 2). the approach compares the results () predicted by the
deployed model (which at the beginning is the model</p>
      </sec>
    </sec>
    <sec id="sec-2">
      <title>4. Implementation Details</title>
      <sec id="sec-2-1">
        <title>We now describe the implementation details of the proposed approach: tool selection and dataset selection.</title>
        <sec id="sec-2-1-1">
          <title>4.1. Tool Selection - MLOPs</title>
          <p>Algorithm 1 Online evaluation
1: Input:  ,  , collected data {, }
2: # stores results predicted by the network
3: #′ stores results actually observed
4: for  in incoming data do
5: . add(,  (;  )) # update predicted results
6: ′ . add(, ′ ) # update observed results
7: end for
8: if Detector(, ′ ) then
9:   ←   # replace the primary neural network
10: end if</p>
        </sec>
      </sec>
      <sec id="sec-2-2">
        <title>Any MLOPs relies on several steps and software modules.</title>
        <p>The plain ML workflow has a streamlined structure and it
is set up by three major steps: data acquisition and
preparation (DAP), to process and augment data for use by
models; model development and training (MDT), to build
11:   ← ( , ′ ) the model based on a set of goals; and model deployment
and operations (MDO), for integrating model predictions
into the business and build some system-wide features.
from the primary network) with the actual ones (′), us- The market ofers several very good tools, some of them
ing a specific metric based on the problem we are solving. taking care of all three steps: however, in most cases, one
According to the metric (line 8 of Algorithm 1), if the per- tool performs very well on one step (DAP, or MDT or
formance of the currently deployed model is worse than MDO), only, and to date, no tool performs very well on
the performance of that same model during the previous all the steps. Thus, to select the proper tools, we build up
time span (i.e., we observe a model drift), the currently de- an evaluation matrix of the major open-source tools.
ployed model is getting worse, and it needs to be replaced. In our approach, we enrich the plain ML workflow
The model from the secondary network is continuously to fulfill the requirements of Figure 1, which includes a
retrained with new incoming data, keeping this replace- re-training and a re-deployment of the process model.
ment model ready to jump in: when requested, the model The resulting enriched workflow is depicted by Figure 3,
from the secondary network (the one continuously re- where the steps are suitably orchestrated.
trained) replaces the previously deployed model, thus
tbheecodmetiencgtotrhceonmepwalryesdtehpelomyeetdrimcwo ditehli.nInthoetahcetruawl otirmdse: inizMiaotdiliezlaAtion traMtineoisdnteginlgaAnd Peesrftoimrmataionnce MuopddealteB
smpeatnriwciftohr tthhee mine-tursice fmroomdetlhdeepcrreeavsioeus,stthimeiens-upasen.mIfotdheel Log mSoadveelA luP lsedoAm andB tsbeagT lfroeodm itrcnuodpo
is replaced by the continuously retrained model from the Pul
secondary network. Algorithm 1 resumes the implemen- Model promdoudcetilon Model
tation in each time span. registry deployment</p>
        <p>
          The critical issue is now about the selection of the met- Figure 3: The enriched workflow, derived from Figure 1, where
ric according to which a drift is detected . Usually, it is re- the steps are suitably orchestrated.
quired to select a decision threshold for a deployed model
to achieve some action (e.g., to predict true or false). One
traditional method in ML is picking a threshold from a set As a result, we choose the following tools (Figure 3):
of potential thresholds to get good tradeofs on specific
metrics, such as accuracy and sensitivity. Nonetheless,
frequently such thresholds are manually set. Therefore,
if a model updates new samples, the previously manually
set threshold may be weak. Manually correcting multiple
thresholds across numerous models is breakable. One
mitigation approach for this issue occurs in [
          <xref ref-type="bibr" rid="ref5">5</xref>
          ], in which
thresholds are learned via straightforward evaluation on
holdout validation data.
        </p>
        <p>In our approach, we detect drifts by measuring all the
performances via AUC, which is a benchmark for binary</p>
        <p>classification. Given that:  =   +  and</p>
        <p>=   +  , the Area Under the Curve AUC
is computed as:  − (1 −  ) Thus,
according to the metrics, to detect drifts correctly AUC
has to be evaluated as new data are processed.
• Airflow orchestrator: Airflow is a platform
created to write, plan and monitor workflows
programmatically. Airflow features scalability,
dynamicity for pipeline generation, and
extensibility to define own operators. Airflow orchestrates
Model A initialization, Model A training and
testing, Performance estimation, Model B update.
• MLflow model registry: MLflow is an
opensource platform for end-to-end ML lifecycle
management. It allows one to track experiments,
manage and deploy models, and host MLflow
templates as a REST endpoint. MLflow is the
repository of all the identified models ( Model registry).
• BentoML deployment: BentoML is a
highperformance framework for serving and
deploying ML models either in an ofline or online
fashion. It supports multiple ML frameworks, such as
Tensorflow, Keras, and many others. BentoML is
used to deploy the model in the online production
system (Model deployment).</p>
        <sec id="sec-2-2-1">
          <title>4.2. Tool Selection - The Dataset</title>
        </sec>
      </sec>
      <sec id="sec-2-3">
        <title>We need a dataset to train, validate, and test the model</title>
        <p>in a binary classification problem: predicting an output
value according to some incoming values.</p>
        <p>
          Given the current CoViD-19 pandemics and also in the
light of [19, 20], we choose a dataset containing data from
blood examinations from the Hospital Israelita Albert
Einstein in São Paulo, Brazil [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ]. The dataset has one
instance per patient, with no missing data, and collects
data about age, sex, hematocrit, hemoglobin, red cell
count, etc. for a total of some 111 parameters. The dataset
also collects one boolean output value (RT-PCR test result,
1 if CoViD-19 detected, 0 if CoViD-19 not detected). We
want our model to classify the patients and, moving from
the values measured in the blood sample, to predict the
test outcome , i.e., if the patient is/is NOT afected by
CoViD-19. The dataset includes data acquired:
cross-validation with 10-fold. The performance metric is
an AUC-score as a compromise between precision and
sensitivity. The performance evaluation is the best model
performance on outer folds. Also, data are scaled to have
a mean value of 0 and a variance of 1, so that many ML
algorithms can work at their optimal implementation.
        </p>
        <p>We select the hyperparameters of our neural network
based on a grid search using the Keras Tuner library [21].
In particular, we use a HyperBand Tuner [22], an
algorithm designed for hyperparameter optimization with
early stopping for fast convergence.</p>
        <p>As shown in Table 1, we discover some potential
hyperparameters for our one-hidden-layer neural network.
The model is, however, supported by a learning rate
scheduler with a patience level of 15, monitoring the
degradation of the validation loss.</p>
        <p>Hyperparameter</p>
        <p>Learning rate</p>
        <p>Neurons
Activation function</p>
        <p>Optimizer
Dropout</p>
        <p>Value
1e-4
224
Relu
Adam
0.2</p>
        <sec id="sec-2-3-1">
          <title>5.2. Model Evaluation over CoViD-19 Data</title>
        </sec>
      </sec>
    </sec>
    <sec id="sec-3">
      <title>5. Experimental Study</title>
      <sec id="sec-3-1">
        <title>We now describe the experimental study: we apply the</title>
        <p>
          approach to blood examinations from [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ]; we build up a
predictive model which classifies if the patient is afected
by CoViD-19 or not; we evaluate the performances.
        </p>
        <sec id="sec-3-1-1">
          <title>5.1. Model Identification over CoViD-19</title>
        </sec>
        <sec id="sec-3-1-2">
          <title>Data</title>
        </sec>
      </sec>
      <sec id="sec-3-2">
        <title>We split the dataset into two parts by entry date: model</title>
        <p>training and validation data are from Feb 25ℎ, 2020 to
Mar 25ℎ, 2020 (validation split is 0.8); model testing
data are from Mar 26ℎ, 2020 to Aug 11ℎ, 2020.
Approximately, 5 months of the evaluation samples include the
evolution of the CoViD-19 virus and a concentration of
RT-PCR positive test results.</p>
        <p>The algorithm for model identification is a neural
network, which uses a grid search. The data split is a K-fold</p>
      </sec>
      <sec id="sec-3-3">
        <title>Once the first version model has been identified, we de</title>
        <p>ploy it and run it on new incoming data, i.e., from Mar
26ℎ, 2020 to Aug 11ℎ, 2020. As the model drifts away
from the ground truth, we mark that timestamp as 1
drift, 2 drift etc., and update the model consequently.</p>
        <p>Figure 4 reports drift detections over time, where drifts
are gradual and not recursive or sudden [11]. The more
data come in, the higher the chance that the model must
be replaced by a more recent one. This is particularly
true in the earlier stages of the experiment: then, drifts
become less “dense”. Whenever the AUC detects a drift,
the new model continuously retrained by the secondary
network replaces the previously deployed one.</p>
        <p>We compare our model with some classic ofline and
online models: we consider the same training data and
the same validation data. We consider here some current
ML models for binary classification, including Logistic
Regression (LR), Random Forest (RF), XGBoost [23], and
other ofline artificial neural networks; we also compare
model (0.745) and 5% better than that of the best
online model (0.756). A comprehensive view of the models
indicates the primacy of online strategies.
our approach with some standard online learning
methods that are functional, including online LR and adaptive 5.3. Discussion
RF [16, 24]. The base neural network of our approach We now explore the shifts in patient attributes over the
comprises one hidden layer with a RELU activation func- pandemic, explaining the need for online models. Again,
tion connected to a dropout layer to limit the overfitting. in the light of explainable AI [25, 26], we examine the
Figure 5 reports about our approach, one online model advantages of a model replacement mechanism and the
(online LR), and two ofline models ( RF and XGBoost), impacts of hyperparameters of the neural network.
measuring their respective AUC. Figure 6 depicts the hemoglobin (Hgb) count during
the 2 and 3 time spans, i.e. after the 2 and the
3 drift. During the 2 time span, positive (CoViD-19
0.85 = “yes”) and negative (CoViD-19 = “no”) outcomes are
coupled to balanced Hgb count: i.e., positive and
neg0.8 ative patients feature similar levels of Hgb counts. In
CU the 3 time span, the Hgb counts of patients with a
A negative outcome difer from the Hgb counts of patients
0.75 with a positive outcome: thus, during the 3 drift, the
Hgb count can be a diferentiating feature between
positive and negative patients. Because of the deteriorating
0.7 1 2 3 4 likeness of the patients during the 2 time span, the
Drift detection instance trained models are instantaneously impaired, including
our initial neural network. The rationale for this shift
requires further investigation:however, a first guess could
probably be in the direction of variants on the side of the
CoViD-19 virus, where variants lead to changes in the
hematological examinations.</p>
      </sec>
    </sec>
    <sec id="sec-4">
      <title>6. Conclusions</title>
      <sec id="sec-4-1">
        <title>The application and deployment of machine learning</title>
        <p>However, our approach and the online logistic regres- (ML) to infer knowledge from huge amounts of data is
sion model support a robust AUC over time despite oscil- a challenging endeavour. In this context, significantly
lations. The proposed approach yields the most elevated altered data – aka concept drift – and their efects on the
AUC in the third frame. A comprehensive comparison of forecast quality are limiting a more widespread of ML.
all the models used is presented in Table 2. In this paper, we focus on a novel concept of the
drift</p>
        <p>For the average AUC over all the time spans, our ap- handling methodology for ML systems in a real-world
proach (0.806) performs 3% better than the best ofline environment. We build an online deep learning system
and the best online models (0.782). The distinctions are for forecasting outcomes, using MLOPs practices and
more relevant in the third frame, where our approach tools, and aim at keeping the in-use model constantly
(AUC 0.794) is 6% higher than that of the best ofline up-to-date. Typically, a vital issue of the approach is
)
L
d
/
gm15
(
n
i
b
o
l
g
o
m
eH10
2 drift</p>
        <p>No</p>
        <p>Yes
3 drift
the choice of the time interval between two successive
updates of the in-use model. Manual decisions regarding
the length of the windows are uncertain and impractical.</p>
        <p>Thus, we keep a secondary network constantly updated
by new incoming data: as the performance of the in-use
model, measured in terms of area under the curve (AUC),
are worsening, the model from the secondary networks
jumps in, replacing the currently in-use model.</p>
        <p>
          As a validation scenario, we deploy our approach on
real-world clinical data collected during the CoViD-19
pandemics by the Hospital Israelita Albert Einstein in
São Paulo, Brazil [
          <xref ref-type="bibr" rid="ref2">2</xref>
          ]; over a five-month-long evaluation
time span, we achieve a more promising performance
than standard online and ofline learning techniques.
        </p>
        <p>The generality of our approach contains some
particular restrictions. Despite these favorable outcomes, the
results are based on one dataset, only. Identifying other
real-world datasets with incremental concept drift
practices will add value and reliability to our approach. Due
to its nature, our approach is appropriate for handling
incremental concept drift. Sudden or reoccurring
concept drifts will likely demand a diverse strategy, such as
changing between two utterly distinct forecasting
models, e.g., one model for the everyday problems and one
for the harsh circumstances [16], or one forecast model
for summertime and one for wintertime, respectively.</p>
        <p>Consequently, more analysis is required to explore
the correct matching of drift-handling scenarioes. Also,
developing diferently-sized detection windows on the
forecast implementation requires additional study.
Finally, the triggered adaption method executed in this
work is founded on the belief that actual labels are
obtained soon after the model computes a forecast, but this
assumption may be not always valid or feasible.</p>
        <p>Acknowledgments
G.P. is partially funded by the EU H2020 program: “PERISCOPE:
Pan European Response to the ImpactS of CoViD-19 and future
Pandemics and Epidemics” (grant n. 101016233).</p>
      </sec>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          [1]
          <string-name>
            <given-names>C.</given-names>
            <surname>Combi</surname>
          </string-name>
          ,
          <article-title>Editorial from the new editor-in-chief: Artificial intelligence in medicine and the forthcoming challenges</article-title>
          ,
          <source>Artif. Intell. Medicine</source>
          <volume>76</volume>
          (
          <year>2017</year>
          )
          <fpage>37</fpage>
          -
          <lpage>39</lpage>
          . URL: https://doi.org/10.1016/j.artmed.
          <year>2017</year>
          .
          <volume>01</volume>
          .003. doi:
          <volume>10</volume>
          .1016/j.artmed.
          <year>2017</year>
          .
          <volume>01</volume>
          .003.
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          [2]
          <string-name>
            <surname>Kaggle</surname>
          </string-name>
          , CoViD-19 open research dataset challenge (CORD-19)
          <article-title>- website</article-title>
          , May 12th,
          <year>2022</year>
          . https: //www.kaggle.com/datasets/allen-institute-for-ai/ CORD-19
          <string-name>
            <surname>-</surname>
          </string-name>
          research-challenge/discussion/139347.
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          [3]
          <string-name>
            <surname>G. I. Webb</surname>
          </string-name>
          ,
          <string-name>
            <given-names>R.</given-names>
            <surname>Hyde</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Cao</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Nguyen</surname>
          </string-name>
          ,
          <string-name>
            <given-names>F.</given-names>
            <surname>Petitjean</surname>
          </string-name>
          , Characterizing concept drift,
          <source>Data Min. Knowl. Discov</source>
          .
          <volume>30</volume>
          (
          <year>2016</year>
          )
          <fpage>964</fpage>
          -
          <lpage>994</lpage>
          . URL: https:// doi.org/10.1007/s10618-015-0448-4. doi:
          <volume>10</volume>
          .1007/ s10618-015-0448-4.
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          [4]
          <string-name>
            <given-names>T.</given-names>
            <surname>Diethe</surname>
          </string-name>
          ,
          <string-name>
            <given-names>T.</given-names>
            <surname>Borchert</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E.</given-names>
            <surname>Thereska</surname>
          </string-name>
          ,
          <string-name>
            <given-names>B.</given-names>
            <surname>Balle</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            <surname>Lawrence</surname>
          </string-name>
          ,
          <article-title>Continual learning in practice</article-title>
          , CoRR abs/
          <year>1903</year>
          .05202 (
          <year>2019</year>
          ). URL: http://arxiv.org/abs/
          <year>1903</year>
          .05202. arXiv:
          <year>1903</year>
          .05202.
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          [5]
          <string-name>
            <given-names>D.</given-names>
            <surname>Sculley</surname>
          </string-name>
          ,
          <string-name>
            <given-names>G.</given-names>
            <surname>Holt</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Golovin</surname>
          </string-name>
          , E. Davydov,
          <string-name>
            <given-names>T.</given-names>
            <surname>Phillips</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Ebner</surname>
          </string-name>
          ,
          <string-name>
            <given-names>V.</given-names>
            <surname>Chaudhary</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Young</surname>
          </string-name>
          ,
          <string-name>
            <given-names>J.</given-names>
            <surname>Crespo</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            <surname>Dennison</surname>
          </string-name>
          ,
          <article-title>Hidden technical debt in Machine Learning systems</article-title>
          , in: C.
          <string-name>
            <surname>Cortes</surname>
            ,
            <given-names>N. D.</given-names>
          </string-name>
          <string-name>
            <surname>Lawrence</surname>
            ,
            <given-names>D. D.</given-names>
          </string-name>
          <string-name>
            <surname>Lee</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          <string-name>
            <surname>Sugiyama</surname>
          </string-name>
          , R. Garnett (Eds.),
          <source>Advances in Neural Information Processing Systems 28: Annual Conference on Neural Information Processing Systems</source>
          <year>2015</year>
          , December 7-
          <issue>12</issue>
          ,
          <year>2015</year>
          , Montreal, Quebec, Canada,
          <year>2015</year>
          , pp.
          <fpage>2503</fpage>
          -
          <lpage>2511</lpage>
          . URL: https://proceedings.neurips.cc/paper/2015/hash/ 86df7dcfd896fcaf2674f757a2463eba-Abstract.html.
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          [6]
          <string-name>
            <given-names>J.</given-names>
            <surname>Knoblauch</surname>
          </string-name>
          ,
          <string-name>
            <given-names>H.</given-names>
            <surname>Husain</surname>
          </string-name>
          , T. Diethe,
          <article-title>Optimal continual learning has perfect memory and is NPhard</article-title>
          ,
          <source>in: Proceedings of the 37th International Conference on Machine Learning</source>
          ,
          <string-name>
            <surname>ICML</surname>
          </string-name>
          <year>2020</year>
          ,
          <volume>13</volume>
          -
          <issue>18</issue>
          <year>July 2020</year>
          ,
          <string-name>
            <given-names>Virtual</given-names>
            <surname>Event</surname>
          </string-name>
          , volume
          <volume>119</volume>
          <source>of Proceedings of Machine Learning Research, PMLR</source>
          ,
          <year>2020</year>
          , pp.
          <fpage>5327</fpage>
          -
          <lpage>5337</lpage>
          . URL: http://proceedings.mlr.press/v119/ knoblauch20a.html.
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          [7]
          <string-name>
            <given-names>G.</given-names>
            <surname>Widmer</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            <surname>Kubat</surname>
          </string-name>
          ,
          <article-title>Learning in the presence of concept drift and hidden contexts</article-title>
          ,
          <source>Mach. Learn</source>
          .
          <volume>23</volume>
          (
          <year>1996</year>
          )
          <fpage>69</fpage>
          -
          <lpage>101</lpage>
          . URL: https://doi.org/10. 1007/BF00116900. doi:
          <volume>10</volume>
          .1007/BF00116900.
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          [8]
          <string-name>
            <given-names>J. B.</given-names>
            <surname>Gomes</surname>
          </string-name>
          ,
          <string-name>
            <given-names>E. M.</given-names>
            <surname>Ruiz</surname>
          </string-name>
          ,
          <string-name>
            <given-names>P. A. C.</given-names>
            <surname>Sousa</surname>
          </string-name>
          , CALDS:
          <article-title>Context-aware learning from data streams</article-title>
          ,
          <source>in: Proceedings of the First International Workshop on Novel Data Stream Pattern Mining Techniques</source>
          , StreamKDD '10,
          <string-name>
            <surname>Association</surname>
          </string-name>
          for Computing Machinery, New York, NY, USA,
          <year>2010</year>
          , p.
          <fpage>16</fpage>
          -
          <lpage>24</lpage>
          . URL: https://doi.org/10.1145/1833280. 1833283. doi:
          <volume>10</volume>
          .1145/1833280.1833283.
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>