<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">AM</journal-id><journal-title-group><journal-title>Applied Mathematics</journal-title></journal-title-group><issn pub-type="epub">2152-7385</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/am.2022.132018</article-id><article-id pub-id-type="publisher-id">AM-115554</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Physics&amp;Mathematics</subject></subj-group></article-categories><title-group><article-title>
 
 
  Construction and Update of an Online Ensemble Score Involving Linear Discriminant Analysis and Logistic Regression
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Beno&amp;#238;t</surname><given-names>Lalloué</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Jean-Marie</surname><given-names>Monnez</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Eliane</surname><given-names>Albuisson</given-names></name><xref ref-type="aff" rid="aff3"><sup>3</sup></xref></contrib></contrib-group><aff id="aff2"><addr-line>Inserm U1116, Centre d’Investigation Clinique Plurithématique 1433, Université de Lorraine, Nancy, France</addr-line></aff><aff id="aff3"><addr-line>IECL (Institut Elie Cartan de Lorraine), Centre National de la Recherche Scientifique (CNRS), Université de Lorraine, Nancy, France</addr-line></aff><aff id="aff1"><addr-line>IECL (Institut Elie Cartan de Lorraine), Inria (Project-Team BIGS), Centre National de la Recherche Scientifique (CNRS), Université de Lorraine, Nancy, France</addr-line></aff><pub-date pub-type="epub"><day>09</day><month>02</month><year>2022</year></pub-date><volume>13</volume><issue>02</issue><fpage>228</fpage><lpage>242</lpage><history><date date-type="received"><day>22,</day>	<month>December</month>	<year>2021</year></date><date date-type="rev-recd"><day>25,</day>	<month>February</month>	<year>2022</year>	</date><date date-type="accepted"><day>28,</day>	<month>February</month>	<year>2022</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  The present aim is to update, upon arrival of new learning data, the parameters of a score constructed with an ensemble method involving linear discriminant analysis and logistic regression in an online setting, without the need to store all of the previously obtained data. Poisson bootstrap and stochastic approximation processes were used with online standardized data to avoid numerical explosions, the convergence of which has been established theoretically. This empirical convergence of online ensemble scores to a reference “batch” score was studied on five different datasets from which data streams were simulated, comparing six different processes to construct the online scores. For each score, 50 replications using a total of 10
  <em>N</em> observations (
  <em>N</em> being the size of the dataset) were performed to assess the convergence and the stability of the method, computing the mean and standard deviation of a convergence criterion. A complementary study using 100
  <em>N</em> observations was also performed. All tested processes on all datasets converged after 
  <em>N</em> iterations, except for one process on one dataset. The best processes were averaged processes using online standardized data and a piecewise constant step-size.
 
</p></abstract><kwd-group><kwd>Learning for Big Data</kwd><kwd> Stochastic Approximation</kwd><kwd> Medicine</kwd><kwd> Ensemble Method</kwd><kwd> Online Score</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>When considering the problem of predicting the values of a dependent variable y, whether continuous (in the case of regression) or categorical (in the case of classification), from observed variables x 1 , ⋯ , x p , which are themselves continuous or categorical, many different predictors can be constructed to address this problem. The principle of ensemble methods is to construct a set of “basic” individual predictors (using classical methods) whose predictions are then aggregated by average or by vote. Provided that the individual predictors are relatively good and sufficiently different from each other, ensemble methods generally yield more stable predictors than individual predictors [<xref ref-type="bibr" rid="scirp.115554-ref1">1</xref>].</p><p>This set of individual predictors can be constructed through different means, used separately or in combination, in order to obtain differences between them. Various types of regressions or rules of classification can be used as well as different samples (e.g. bootstrap), different variable selection methods (random, stepwise selection, shrinkage methods, etc.) or more generally by introducing a random element in the construction of predictors. Bagging [<xref ref-type="bibr" rid="scirp.115554-ref2">2</xref>], boosting [<xref ref-type="bibr" rid="scirp.115554-ref3">3</xref>], random forests [<xref ref-type="bibr" rid="scirp.115554-ref1">1</xref>] or Random Generalized Linear Models (RGLM) [<xref ref-type="bibr" rid="scirp.115554-ref4">4</xref>] are examples of ensemble methods. Another method for constructing an ensemble score in seven steps was recently proposed in Duarte et al. [<xref ref-type="bibr" rid="scirp.115554-ref5">5</xref>], used in Lallou&#233; et al. [<xref ref-type="bibr" rid="scirp.115554-ref6">6</xref>] and will be used as a reference in this article:</p><p>1) Selection of n 1 classification rules.</p><p>2) Generation of n 2 bootstrap samples which are the same as for the n 1 rules.</p><p>3) Choice of n 3 modalities of a random selection of variables. For each bootstrap sample, selection of m variables according to these modalities.</p><p>4) Selection of m * variables among m by a classical method (stepwise, shrinkage, etc.).</p><p>5) For each classification rule, construction of the n 2 n 3 predictors corresponding to the bootstrap sample and the selected variables.</p><p>6) For each classification rule, aggregation of predictors into an intermediate score.</p><p>7) Aggregation of the n 1 intermediate scores from the previous step by averaging or voting.</p><p>Herein, we consider the case where y is a binary variable and the classification rules are linear discriminant analysis (LDA) and logistic regression (LR).</p><p>In the context of online data, i.e. a flow of data arriving continuously, one wishes to be able to update such an ensemble score when new data becomes available, without having to store all of the previously obtained data and without performing the entire analysis. To achieve this goal, stochastic approximation processes [<xref ref-type="bibr" rid="scirp.115554-ref7">7</xref>] [<xref ref-type="bibr" rid="scirp.115554-ref8">8</xref>] [<xref ref-type="bibr" rid="scirp.115554-ref9">9</xref>] can be used. In particular, processes that we have previously studied theoretically [<xref ref-type="bibr" rid="scirp.115554-ref10">10</xref>] [<xref ref-type="bibr" rid="scirp.115554-ref11">11</xref>] will be detailed in Section 2.</p><p>However, the theoretical guarantees of convergence already demonstrated for this type of process provide little information on the practical choices to be made in order to obtain the best performances: e.g. “classical” or averaged processes [<xref ref-type="bibr" rid="scirp.115554-ref8">8</xref>] [<xref ref-type="bibr" rid="scirp.115554-ref10">10</xref>] [<xref ref-type="bibr" rid="scirp.115554-ref11">11</xref>], continuously decreasing step-size or decreasing piecewise constant step-size [<xref ref-type="bibr" rid="scirp.115554-ref11">11</xref>] [<xref ref-type="bibr" rid="scirp.115554-ref12">12</xref>] or constant step-size [<xref ref-type="bibr" rid="scirp.115554-ref10">10</xref>], use at each step of a mini-batch of observations or all observations up to the current step in the case of LDA [<xref ref-type="bibr" rid="scirp.115554-ref10">10</xref>]. Therefore, Section 3 is dedicated to the empirical testing of several online ensemble scores on several datasets, using several stochastic approximation processes for each classifier and comparing the accuracy of the estimations. To avoid a numerical explosion in the presence of heterogeneous data or outliers, an online standardization of the data is used as tested in [<xref ref-type="bibr" rid="scirp.115554-ref10">10</xref>] [<xref ref-type="bibr" rid="scirp.115554-ref11">11</xref>]. Moreover, an inadequate choice of the step-size can also lead to a numerical explosion in the non-asymptotic phase of the process or slow down its convergence. Thus, several types of step-sizes are tested. A conclusion of this study is that processes which have the best performance among those tested are not the classical processes with a continuously decreasing step-size and a mini-batch of observations at each step in the case of LDA.</p></sec><sec id="s2"><title>2. Theoretical Construction and Update of an Online Ensemble Score</title><p>In order to be able to update online the ensemble score defined in [<xref ref-type="bibr" rid="scirp.115554-ref5">5</xref>] based on linear discriminant analysis and logistic regression, each bootstrap sample and each predictor must be updated when new data arrive [<xref ref-type="bibr" rid="scirp.115554-ref13">13</xref>]. Once the predictors are updated, the intermediate scores and the resulting final ensemble score are obtained using the same aggregation rules as for the offline ensemble method.</p><sec id="s2_1"><title>2.1. Updating the Bootstrap Samples</title><p>Starting from a sample size of n, the usual construction of a bootstrap sample consists in drawing at random with replacement n elements of the sample. In the case of a data stream, the Poisson bootstrap method proposed by Oza and Russell [<xref ref-type="bibr" rid="scirp.115554-ref14">14</xref>] can be used to update a bootstrap sample: for any new data, for each bootstrap sample b i ( i = 1 , ⋯ , n 2 ) , a realization k i of a random variable under a Poisson law with parameter 1 is simulated, and the new data is added k i times to sample b i . These new data can then be used to update the predictors defined using sample b i .</p></sec><sec id="s2_2"><title>2.2. Updating the Predictors</title><p>Recursive stochastic approximation algorithms which take into account a mini-batch of new data at each step can be used to update the predictors. Such algorithms have been developed to estimate linear [<xref ref-type="bibr" rid="scirp.115554-ref10">10</xref>] or logistic [<xref ref-type="bibr" rid="scirp.115554-ref11">11</xref>] regression parameters, or to estimate the class centers in unsupervised classification [<xref ref-type="bibr" rid="scirp.115554-ref15">15</xref>] or the principal components of a factor analysis [<xref ref-type="bibr" rid="scirp.115554-ref16">16</xref>]. These algorithms do not require storing data and can, within a fixed timeframe, process more data than offline methods. Stochastic approximation algorithms able to update predictors obtained by linear discriminant analysis (LDA, equivalent to linear regression in the case of a binary dependent variable) and logistic regression (LR) are described below.</p><sec id="s2_2_1"><title>2.2.1. Updating Logistic and Linear Regressions Using a Mini-Batch of Observations at Each Step</title><p>Note that all stochastic approximation algorithms described in this section use an online standardization of the data. Indeed, in practical applications, an inadequate choice of step-size of these processes or the presence of heterogeneous data or outliers can lead to numerical explosion issues in the non-asymptotic phase of the stochastic approximation process. To avoid numerical explosions in the presence of heterogeneous data, an online standardization of the data is proposed [<xref ref-type="bibr" rid="scirp.115554-ref10">10</xref>] [<xref ref-type="bibr" rid="scirp.115554-ref11">11</xref>]; in the case of a data stream, the moments of the regression variables are a priori not known, but can be estimated online in order to perform the standardization. However, in this instance, the convergence of the stochastic approximation process is not ensured by classical theorems and was therefore proven in [<xref ref-type="bibr" rid="scirp.115554-ref10">10</xref>] in the case of linear regression, and in [<xref ref-type="bibr" rid="scirp.115554-ref11">11</xref>] in the case of logistic regression. Moreover, a too rapid decrease in step-size may reduce the speed of convergence in the non-asymptotic phase of the process. For this reason, following [<xref ref-type="bibr" rid="scirp.115554-ref12">12</xref>], the use of a decreasing piecewise constant step-size has been tested in [<xref ref-type="bibr" rid="scirp.115554-ref11">11</xref>].</p><p>Consider first the case of logistic regression. Let S be a random variable taking its values in { 0 , 1 } and R = ( R 1 ⋯ R p   1 ) ′ with R 1 , ⋯ , R p being random variables taking values in ℝ , m = ( E [ R 1 ] ⋯ E [ R p ] 0 ) ′ , R c = R − m , σ k the standard deviation of R k , Γ the diagonal square matrix with diagonal elements 1 σ 1 , ⋯ , 1 σ p , 1 , Z = Γ R c the standardized R vector, θ ( p + 1 , 1 ) the vector of parameters and h ( u ) = e u 1 + e u . The vector θ is the unique solution of the system of equations E [ ∇ x ln ( 1 + e Z ′ x e Z ′ x S ) ] = 0 , and thus of</p><p>E [ Z ( h ( Z ′ x ) − S ) ] = 0. (1)</p><p>Let ( ( R n , S n ) , n ≥ 1 ) denote an i.i.d. sample of ( R , S ) and for k ∈ { 1 , ⋯ , p } , R &#175; n k denote the average of the sample ( R 1 k , ⋯ , R n k ) of R k and ( V n k ) 2 = 1 n ∑ i = 1 n ( R i k − R &#175; n k ) 2 its variance (both computed recursively), R &#175; n the vector ( R &#175; n 1 ⋯ R &#175; n p   0 ) ′ and Γ n the diagonal matrix with diagonal elements 1 n n − 1 V n 1 , ⋯ , 1 n n − 1 V n p , 1 .</p><p>Assume that a mini-batch of m n new observatons ( R i , S i ) constituting an i.i.d sample of ( R , S ) is taken into account at step n. Denote M n = ∑ i = 1 n m i and I n = { M n − 1 + 1 , ⋯ , M n } . Define for j ∈ I n , Z ˜ j = Γ M n − 1 ( R j − R &#175; M n − 1 ) the vector R j standardized with respect to estimations of the means and variances of the components of R at step n − 1 . Recursively define the stochastic approximation process ( X n , n ≥ 1 ) and the averaged process ( X &#175; n , n ≥ 1 ) :</p><p>X n + 1 = X n − a n 1 m n ∑ j ∈ I n     Z ˜ j ( h ( Z ˜ ′ j X n ) − S j ) (2)</p><p>X &#175; n + 1 = 1 n + 1 ∑ i = 1 n + 1     X i = X &#175; n − 1 n + 1 ( X &#175; n − X n + 1 ) (3)</p><p>In the case of linear regression, the same type of process is used in [<xref ref-type="bibr" rid="scirp.115554-ref10">10</xref>] taking h ( u ) = u .</p><p>The following theorem is established for linear regression in [<xref ref-type="bibr" rid="scirp.115554-ref10">10</xref>] and for logistic regression in [<xref ref-type="bibr" rid="scirp.115554-ref11">11</xref>]. Assume:</p><p>(H1a) There is no affine relation between the components of R. (H1b) The moments of order 4 of R exist.</p><p>(H2a) a n &gt; 0 , ∑ n = 1 ∞ a n = ∞ , ∑ n = 1 ∞ a n n &lt; ∞ , ∑ n = 1 ∞ a n 2 &lt; ∞ .</p><p>Theorem. Under H1a, H1b and H2a, ( X n , n ≥ 1 ) and ( X &#175; n , n ≥ 1 ) converge almost surely to θ .</p><p>In [<xref ref-type="bibr" rid="scirp.115554-ref10">10</xref>] and [<xref ref-type="bibr" rid="scirp.115554-ref11">11</xref>], these processes were compared to others (with or without online standardization, and with or without averaging) on real or simulated data. Empirical results showed the interest of using online standardization of the data to avoid numerical explosions as well as the better performance of averaged processes using a piecewise constant step-size (see Section 3).</p></sec><sec id="s2_2_2"><title>2.2.2. Updating Linear Regression Using All Observations up to the Current Step</title><p>Recursively define the stochastic approximation processes ( X n , n ≥ 1 ) and ( X &#175; n , n ≥ 1 ) :</p><p>X n + 1 = X n − a n 1 M n ∑ i = 1 n   ∑ j ∈ I i     Z ˜ j ( Z ˜ ′ j X n − S j ) ,   Z ˜ j = Γ M n ( R j − R &#175; M n ) (4)</p><p>X n + 1 = 1 n + 1 ∑ i = 1 n + 1     X i = X &#175; n − 1 n + 1 ( X &#175; n − X n + 1 ) (5)</p><p>Note that 1 M n ∑ i = 1 n ∑ j ∈ I i Z ˜ j Z ˜ ′ j = Γ M n ( 1 M n ∑ i = 1 n ∑ j ∈ I i R j R ′ j − R &#175; M n R &#175; ′ M n ) Γ M n and 1 M n ∑ i = 1 n ∑ j ∈ I i Z ˜ j S j = Γ M n ( 1 M n ∑ i = 1 n ∑ j ∈ I i R j S j − R &#175; M n S &#175; M n ) ,</p><p>S &#175; M n = 1 M n ∑ i = 1 M n S i . Thus, the updating does not necessitate storing previous data</p><p>since all empirical means and variances can be recursively computed. The same type of process would not be possible without storing the data for logistic regression, since in this case, Z ˜ j in Z ˜ j h ( Z ˜ ′ j X n ) should be updated for all j.</p><p>Denote by λ max the largest eigenvalue of the covariance matrix of R. Assume:</p><p>(H2b) ( a n = a &lt; 1 λ max ) or ( a n → 0 , ∑ 1 ∞ a n = ∞ ) .</p><p>Theorem. Under H1a, H1b and H2b, ( X n , n ≥ 1 ) and ( X &#175; n , n ≥ 1 ) converge almost surely to θ .</p><p>This theorem was also proven in [<xref ref-type="bibr" rid="scirp.115554-ref10">10</xref>]. Empirical results again showed the interest of using online standardization of the data as well as all observations up to the current step to avoid numerical explosions and to increase the speed of convergence.</p><p>It is therefore possible to use the processes described in this section to update the predictors by linear discriminant analysis and logistic regression in the ensemble score, taking into account the sample of new data generated by the Poisson bootstrap at each step for each predictor.</p></sec></sec></sec><sec id="s3"><title>3. Empirical Study of Convergence</title><sec id="s3_1"><title>3.1. Material and Methods</title><sec id="s3_1_1"><title>3.1.1. Datasets</title><p>Four datasets available on the Internet and one dataset derived from the EPHESUS study [<xref ref-type="bibr" rid="scirp.115554-ref17">17</xref>] were used, all of which have previously been utilized to test the performance of stochastic approximation processes with online standardized data in the case of online linear regression [<xref ref-type="bibr" rid="scirp.115554-ref10">10</xref>] and online logistic regression [<xref ref-type="bibr" rid="scirp.115554-ref11">11</xref>]. The Twonorm, Ringnorm, Quantum and Adult datasets are commonly used to test classification methods. Twonorm and Ringnorm, introduced by Breiman [<xref ref-type="bibr" rid="scirp.115554-ref18">18</xref>], contain simulated data with homogeneous variables. Quantum contains observed “clean” data, without outliers and with most of its variables on a similar scale. Adult and HOSPHF30D contain observed data with outliers, as well as heterogeneous variables of different types and scales. A summary of these datasets is provided in <xref ref-type="table" rid="table1">Table 1</xref>.</p><p>The following preprocessing was performed on the data:</p><p>&#183; Twonorm and Ringnorm: no preprocessing.</p><p>&#183; Quantum: a stepwise variable selection (using AIC) was performed on the 6197 observations without any missing value. The dataset with complete observations for the 12 selected variables was used.</p><p>&#183; Adult2: from the Adult dataset, modalities of several categorical variables were merged (in order to obtain a larger number of observations for each modality) and all categorical variables were then replaced by sets of binary variables, leading to a dataset with 38 variables.</p><p>&#183; HOSPHF30D: 13 variables were selected using a stepwise selection.</p><p>From each dataset, a data stream was simulated step by step by randomly drawing, with replacement, 100 new observations at each step. Online scores were then constructed and updated from these data streams.</p></sec><sec id="s3_1_2"><title>3.1.2. Reference Batch Score</title><p>For each dataset, a batch ensemble score was constructed using an adapted method from Duarte et al. [<xref ref-type="bibr" rid="scirp.115554-ref5">5</xref>] with the following parameters:</p><p>1) Two classification rules were used: linear discriminant analysis (LDA) and logistic regression (LR).</p><p>2) A total of 100 bootstrap samples were drawn for both rules (i.e. the same samples were used by each rule).</p><p>3) All available variables were included.</p><p>4) For each classification rule, the 100 associated predictors were aggregated by arithmetic mean and the coefficients subsequently normalized such that the score varied between 0 and 100 (as described in [<xref ref-type="bibr" rid="scirp.115554-ref5">5</xref>], Subsection 4.4.2).</p><p>5) The aggregation between the two intermediate scores S LDA and S LR was achieved by arithmetic mean: S = λ S LDA + ( 1 − λ ) S LR with λ = 0.5 .</p><p>The score obtained for each dataset was used as a “gold standard” to assess the convergence of the tested online processes (<xref ref-type="fig" rid="fig1">Figure 1</xref>).</p><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Description of the datasets</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Dataset</th><th align="center" valign="middle" >N<sub>a</sub></th><th align="center" valign="middle" >N</th><th align="center" valign="middle" >p<sub>a</sub></th><th align="center" valign="middle" >p</th><th align="center" valign="middle" >Source</th></tr></thead><tr><td align="center" valign="middle" >Twonorm</td><td align="center" valign="middle" >7400</td><td align="center" valign="middle" >7400</td><td align="center" valign="middle" >20</td><td align="center" valign="middle" >20</td><td align="center" valign="middle" >http://www.cs.toronto.edu/~delve/data/datasets.html</td></tr><tr><td align="center" valign="middle" >Ringnorm</td><td align="center" valign="middle" >7400</td><td align="center" valign="middle" >7400</td><td align="center" valign="middle" >20</td><td align="center" valign="middle" >20</td><td align="center" valign="middle" >http://www.cs.toronto.edu/~delve/data/datasets.html</td></tr><tr><td align="center" valign="middle" >Quantum</td><td align="center" valign="middle" >50,000</td><td align="center" valign="middle" >15,798</td><td align="center" valign="middle" >78</td><td align="center" valign="middle" >12</td><td align="center" valign="middle" >derived from https://www.kdd.org/kdd-cup/view/kdd-cup-2004/Data</td></tr><tr><td align="center" valign="middle" >Adult2</td><td align="center" valign="middle" >45,222</td><td align="center" valign="middle" >45,222</td><td align="center" valign="middle" >14</td><td align="center" valign="middle" >38</td><td align="center" valign="middle" >derived from http://www.cs.toronto.edu/~delve/data/datasets.html</td></tr><tr><td align="center" valign="middle" >HOSPHF30D</td><td align="center" valign="middle" >21,382</td><td align="center" valign="middle" >21,382</td><td align="center" valign="middle" >29</td><td align="center" valign="middle" >13</td><td align="center" valign="middle" >derived from EPHESUS study</td></tr></tbody></table></table-wrap><p>N<sub>a</sub>: number of available observations; N: number of selected observations; p<sub>a</sub>: number of available parameters; p: number of selected parameters.</p></sec><sec id="s3_1_3"><title>3.1.3. Tested Processes</title><p>Types of processes: Three different types of stochastic processes ( X n ) were used as defined below.</p><p>1) “Classical” stochastic gradient (notation C_ _ _). At step n, card I n = m n observations ( R j , S j ) were taken into account and the process was updated recursively: X n + 1 = X n − a n 1 m n ∑ j ∈ I n Z ˜ j ( h ( Z ˜ ′ j X n ) − S j ) , with Z ˜ j the vector of standardized explanatory variables, S j ∈ { 0 , 1 } , h ( u ) = u for the LDA, and h ( u ) = e u 1 + e u for the LR.</p><p>2) “Averaged” stochastic gradient (notation A_ _ _): X &#175; n + 1 = 1 n + 1 ∑ i = 1 n + 1 X i .</p><p>3) Only in the case of the LDA: a process taking into account all of the previous observations ( R j , S j ) at each step until the current step, j ∈ I 1 ∪ ⋯ ∪ I n (final mention “all”) [<xref ref-type="bibr" rid="scirp.115554-ref10">10</xref>]: X n + 1 = X n − a n 1 M n ∑ i = 1 n ∑ j ∈ I i Z ˜ j ( Z ˜ ′ j X n − S j ) , Z ˜ j = Γ M n ( R j − R &#175; M n )</p><p>In all cases, the explanatory variables were standardized online (notation _S _ _): the principle and practicality of this method to avoid numerical explosions have already been shown [<xref ref-type="bibr" rid="scirp.115554-ref10">10</xref>] [<xref ref-type="bibr" rid="scirp.115554-ref11">11</xref>]. Indeed, for some datasets (Adult2, HOSPHF30D), processes with raw data led to a numerical explosion, contrary to those with online standardized data.</p><p>Step-size choice: Tested step-sizes a n were either:</p><p>1) Continuously decreasing: a n = c / ( b + n ) α (notation _ _ _V);</p><p>2) Constant: a n = 1 / p (with p the number of explanatory variables) (notation _ _ _C);</p><p>3) Piecewise constant [<xref ref-type="bibr" rid="scirp.115554-ref12">12</xref>]: a n = c / ( b + ⌊ n τ ⌋ ) α ( ⌊ . ⌋ being the integer part, τ the size of the level) (notation _ _ _P).</p><p>In all cases, α = 2 / 3 was taken as suggested by Xu [<xref ref-type="bibr" rid="scirp.115554-ref8">8</xref>] in the case of linear regression, b = 1 and c = 1 .</p><p>Tested processes: Six couples of processes were tested (<xref ref-type="table" rid="table2">Table 2</xref>). The latter were among those which performed best in the studies published for online LDA [<xref ref-type="bibr" rid="scirp.115554-ref10">10</xref>] and for online LR [<xref ref-type="bibr" rid="scirp.115554-ref11">11</xref>], or represented “usual” processes frequently used (apart from online data standardization). A total of 100 new observations were used per step. Each process was applied to each of the streams generated from the datasets.</p><p>In the notation describing a couple of processes, the first term is for the LDA and the second for the LR. For example, AS100Call-AS100P200 is the couple formed using for the LDA an averaged process (A) with online standardization of the data (S), 100 new observations per step (100), constant step-size (C), taking into account all the observations up to the current step (all), and for the LR an averaged process (A) with online standardization of the data (S), 100 new</p><table-wrap id="table2" ><label><xref ref-type="table" rid="table2">Table 2</xref></label><caption><title> List of the couples of processes studied</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Couple</th><th align="center" valign="middle" ></th><th align="center" valign="middle" >Process type</th><th align="center" valign="middle" >Step-size</th><th align="center" valign="middle" >Level size</th><th align="center" valign="middle" >Use of all observations until the current step</th></tr></thead><tr><td align="center" valign="middle"  rowspan="2"  >AS100C-AS100P200</td><td align="center" valign="middle" >LDA process</td><td align="center" valign="middle" >Averaged</td><td align="center" valign="middle" >Constant</td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >No</td></tr><tr><td align="center" valign="middle" >LR process</td><td align="center" valign="middle" >Averaged</td><td align="center" valign="middle" >Piecewise constant</td><td align="center" valign="middle" >200</td><td align="center" valign="middle" >No</td></tr><tr><td align="center" valign="middle"  rowspan="2"  >AS100Call-AS100P200</td><td align="center" valign="middle" >LDA process</td><td align="center" valign="middle" >Averaged</td><td align="center" valign="middle" >Constant</td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >Yes</td></tr><tr><td align="center" valign="middle" >LR process</td><td align="center" valign="middle" >Averaged</td><td align="center" valign="middle" >Piecewise constant</td><td align="center" valign="middle" >200</td><td align="center" valign="middle" >No</td></tr><tr><td align="center" valign="middle"  rowspan="2"  >AS100P50-AS100P50</td><td align="center" valign="middle" >LDA process</td><td align="center" valign="middle" >Averaged</td><td align="center" valign="middle" >Piecewise constant</td><td align="center" valign="middle" >50</td><td align="center" valign="middle" >No</td></tr><tr><td align="center" valign="middle" >LR process</td><td align="center" valign="middle" >Averaged</td><td align="center" valign="middle" >Piecewise constant</td><td align="center" valign="middle" >50</td><td align="center" valign="middle" >No</td></tr><tr><td align="center" valign="middle"  rowspan="2"  >AS100P50all-AS100P50</td><td align="center" valign="middle" >LDA process</td><td align="center" valign="middle" >Averaged</td><td align="center" valign="middle" >Piecewise constant</td><td align="center" valign="middle" >50</td><td align="center" valign="middle" >Yes</td></tr><tr><td align="center" valign="middle" >LR process</td><td align="center" valign="middle" >Averaged</td><td align="center" valign="middle" >Piecewise constant</td><td align="center" valign="middle" >50</td><td align="center" valign="middle" >No</td></tr><tr><td align="center" valign="middle"  rowspan="2"  >CS100V-CS100V</td><td align="center" valign="middle" >LDA process</td><td align="center" valign="middle" >Classical</td><td align="center" valign="middle" >Continuously decreasing</td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >No</td></tr><tr><td align="center" valign="middle" >LR process</td><td align="center" valign="middle" >Classical</td><td align="center" valign="middle" >Continuously decreasing</td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >No</td></tr><tr><td align="center" valign="middle"  rowspan="2"  >CS100Vall-CS100V</td><td align="center" valign="middle" >LDA process</td><td align="center" valign="middle" >Classical</td><td align="center" valign="middle" >Continuously decreasing</td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >Yes</td></tr><tr><td align="center" valign="middle" >LR process</td><td align="center" valign="middle" >Classical</td><td align="center" valign="middle" >Continuously decreasing</td><td align="center" valign="middle" >-</td><td align="center" valign="middle" >No</td></tr></tbody></table></table-wrap><p>All processes used online standardized data and 100 new observations per step.</p><p>observations per step (100) and a piecewise constant step-size with levels of size 200 (P200).</p><p>Note that the six couples of processes can be grouped in three pairs. In each pair, for the LDA part, one couple of processes uses 100 observations at each step and the other all observations up to the current step, the processes for the LR part being the same.</p><p>Convergence criterion: The convergence criterion used was the relative difference of the norms ‖ θ b − θ ^ N ‖ ‖ θ b ‖ between the θ b vector of coefficients obtained for the batch score and the θ ^ N vector of coefficients estimated by a</p><p>process after N iterations, the variables being standardized and the score being normalized to vary between 0 and 100 [<xref ref-type="bibr" rid="scirp.115554-ref5">5</xref>]. Convergence was considered to have occurred when the value of this criterion was less than the arbitrary threshold of 0.05. Three indicators were compared for each couple of processes: the criterion value for the synthetic score S<sub>LDA</sub> obtained by aggregating the LDAs, the criterion value for the synthetic score S<sub>LR</sub> obtained by aggregating the LRs, and the criterion value for the final score S.</p></sec><sec id="s3_1_4"><title>3.1.4. Convergence and Stability Analyses</title><p>In order to study the empirical convergence of the process, an analysis using a total of 10N observations was performed for each couple of processes. Since 100 observations are introduced at each step, the number of iterations of the process is N/10. Due to the stochastic nature of the processes studied, some variability is expected in the results. In order to evaluate this variability, the entire analysis using 10N observations was replicated 50 times for each couple of processes and for each dataset. The mean, standard deviation (SD) and relative standard deviation (RSD), i.e. the standard deviation divided by the mean, of the criterion values were studied for the intermediary and final scores. For each dataset, the average of the criterion values of all couples of processes was also studied.</p><p>For each replication and each dataset, the performance of the couples of processes were ranked from the best (lowest relative difference of the norms for the final score S) to the worst (highest relative difference of the norms for S). Thereafter, the mean rank of each couple and its associated standard deviation over the 50 replications were computed, first by dataset, and finally over all datasets.</p><p>To study the long-term convergence of the process, a single analysis using 100N observations was performed for each couple of processes. Again, for each dataset, the values of the criterion for the intermediary and final scores were studied, and the couples of processes were ranked from the best to the worst. The mean rank over all datasets was used to compare the global performance of the couples. All analyses were performed with R 3.6.2.</p></sec></sec><sec id="s3_2"><title>3.2. Results</title><sec id="s3_2_1"><title>3.2.1. Convergence and Stability Analysis for 10N Observations</title><p>When replicating each couple of processes 50 times, the mean criterion values were lower than 0.05 for all couples of processes applied on Twonorm, Ringnorm and Quantum datasets (<xref ref-type="table" rid="table3">Table 3</xref>). However, only three out of six couples of processes converged for Adult2 (AS100C-AS100P200, AS100P50all-AS100P50 and AS100Call-AS100P200) as well as for HOSPHF30D (AS100P50-AS100P50, AS100P50all-AS100P50 and AS100Call-AS100P200). Note that for Twonorm, Ringnorm and Quantum, the maximum criterion values (not shown) for all couples of processes were always lower than 0.05 (i.e. even the worst performing processes still converged), whereas it was not the case for certain couples applied on Adult2 and HOSPHF30D.</p><p>Generally, intermediate LDA scores had smaller mean values, i.e. a faster convergence, than intermediate LR scores. However, the worst performing intermediary process was the LDA process AS100P50 applied on Adult2. In most cases, the mean criterion value for the final S score was between those of the two intermediate scores S<sub>LDA</sub> and S<sub>LR</sub>. For some couples of processes applied on some datasets (for instance AS100Call-AS100C on Adult2 or AS100C-AS100P200 on HOSPHF30D), this led to a convergence towards the reference of the final score while one of the intermediate scores had not yet converged according to the criterion.</p><p>When studying the rankings of the couples of processes over the 50 replications, the best couple of processes overall was AS100P50all-AS100P50. This couple was consistently among the three best couples, and had the best performance for three datasets. Note that the three best couples of processes across all datasets were those using all observations until the current step for the LDA intermediary scores.</p><table-wrap id="table3" ><label><xref ref-type="table" rid="table3">Table 3</xref></label><caption><title> Mean, standard deviation and relative standard deviation of the criterion after 50 replications</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  colspan="2"   rowspan="2"  ></th><th align="center" valign="middle"  colspan="3"  >Twonorm</th><th align="center" valign="middle"  colspan="3"  >Ringnorm</th><th align="center" valign="middle"  colspan="3"  >Quantum</th><th align="center" valign="middle"  colspan="3"  >Adult2</th><th align="center" valign="middle"  colspan="3"  >HOSPHF30D</th></tr></thead><tr><td align="center" valign="middle" >Mean</td><td align="center" valign="middle" >SD</td><td align="center" valign="middle" >RSD</td><td align="center" valign="middle" >Mean</td><td align="center" valign="middle" >SD</td><td align="center" valign="middle" >RSD</td><td align="center" valign="middle" >Mean</td><td align="center" valign="middle" >SD</td><td align="center" valign="middle" >RSD</td><td align="center" valign="middle" >Mean</td><td align="center" valign="middle" >SD</td><td align="center" valign="middle" >RSD</td><td align="center" valign="middle" >Mean</td><td align="center" valign="middle" >SD</td><td align="center" valign="middle" >RSD</td></tr><tr><td align="center" valign="middle"  rowspan="3"  >AS100C- AS100P200</td><td align="center" valign="middle" >S<sub>LDA</sub></td><td align="center" valign="middle" >0.0042*</td><td align="center" valign="middle" >0.0007</td><td align="center" valign="middle" >15.7%</td><td align="center" valign="middle" >0.0066*</td><td align="center" valign="middle" >0.0012</td><td align="center" valign="middle" >18.4%</td><td align="center" valign="middle" >0.0116*</td><td align="center" valign="middle" >0.0069</td><td align="center" valign="middle" >59.8%</td><td align="center" valign="middle" >0.0542</td><td align="center" valign="middle" >0.0151</td><td align="center" valign="middle" >27.9%</td><td align="center" valign="middle" >0.0669</td><td align="center" valign="middle" >0.0398</td><td align="center" valign="middle" >59.5%</td></tr><tr><td align="center" valign="middle" >S<sub>LR</sub></td><td align="center" valign="middle" >0.0026*</td><td align="center" valign="middle" >0.0004</td><td align="center" valign="middle" >15.2%</td><td align="center" valign="middle" >0.0074*</td><td align="center" valign="middle" >0.0014</td><td align="center" valign="middle" >18.7%</td><td align="center" valign="middle" >0.0104*</td><td align="center" valign="middle" >0.0059</td><td align="center" valign="middle" >56.3%</td><td align="center" valign="middle" >0.0224*</td><td align="center" valign="middle" >0.0138</td><td align="center" valign="middle" >61.9%</td><td align="center" valign="middle" >0.0488*</td><td align="center" valign="middle" >0.0375</td><td align="center" valign="middle" >76.7%</td></tr><tr><td align="center" valign="middle" >S</td><td align="center" valign="middle" >0.0028*</td><td align="center" valign="middle" >0.0004</td><td align="center" valign="middle" >14.6%</td><td align="center" valign="middle" >0.0070*</td><td align="center" valign="middle" >0.0013</td><td align="center" valign="middle" >18.6%</td><td align="center" valign="middle" >0.0108*</td><td align="center" valign="middle" >0.0064</td><td align="center" valign="middle" >59.4%</td><td align="center" valign="middle" >0.0339*</td><td align="center" valign="middle" >0.0164</td><td align="center" valign="middle" >48.3%</td><td align="center" valign="middle" >0.0529</td><td align="center" valign="middle" >0.0382</td><td align="center" valign="middle" >72.3%</td></tr><tr><td align="center" valign="middle"  rowspan="3"  >AS100Call- AS100P200</td><td align="center" valign="middle" >S<sub>LDA</sub></td><td align="center" valign="middle" >0.0011*</td><td align="center" valign="middle" >0.0001</td><td align="center" valign="middle" >12.3%</td><td align="center" valign="middle" >0.0016*</td><td align="center" valign="middle" >0.0003</td><td align="center" valign="middle" >17.4%</td><td align="center" valign="middle" >0.0073*</td><td align="center" valign="middle" >0.0039</td><td align="center" valign="middle" >53.5%</td><td align="center" valign="middle" >0.0564</td><td align="center" valign="middle" >0.0182</td><td align="center" valign="middle" >32.2%</td><td align="center" valign="middle" >0.0444*</td><td align="center" valign="middle" >0.0329</td><td align="center" valign="middle" >74.1%</td></tr><tr><td align="center" valign="middle" >S<sub>LR</sub></td><td align="center" valign="middle" >0.0026*</td><td align="center" valign="middle" >0.0004</td><td align="center" valign="middle" >15.2%</td><td align="center" valign="middle" >0.0074*</td><td align="center" valign="middle" >0.0014</td><td align="center" valign="middle" >18.7%</td><td align="center" valign="middle" >0.0104*</td><td align="center" valign="middle" >0.0059</td><td align="center" valign="middle" >56.3%</td><td align="center" valign="middle" >0.0224*</td><td align="center" valign="middle" >0.0138</td><td align="center" valign="middle" >61.9%</td><td align="center" valign="middle" >0.0488*</td><td align="center" valign="middle" >0.0375</td><td align="center" valign="middle" >76.7%</td></tr><tr><td align="center" valign="middle" >S</td><td align="center" valign="middle" >0.0016*</td><td align="center" valign="middle" >0.0002</td><td align="center" valign="middle" >14.2%</td><td align="center" valign="middle" >0.0038*</td><td align="center" valign="middle" >0.0007</td><td align="center" valign="middle" >17.5%</td><td align="center" valign="middle" >0.0075*</td><td align="center" valign="middle" >0.0039</td><td align="center" valign="middle" >51.5%</td><td align="center" valign="middle" >0.0350*</td><td align="center" valign="middle" >0.0171</td><td align="center" valign="middle" >48.7%</td><td align="center" valign="middle" >0.0434*</td><td align="center" valign="middle" >0.0320</td><td align="center" valign="middle" >73.7%</td></tr><tr><td align="center" valign="middle"  rowspan="3"  >AS100P50- AS100P50</td><td align="center" valign="middle" >S<sub>LDA</sub></td><td align="center" valign="middle" >0.0079*</td><td align="center" valign="middle" >0.0012</td><td align="center" valign="middle" >14.8%</td><td align="center" valign="middle" >0.0127*</td><td align="center" valign="middle" >0.0026</td><td align="center" valign="middle" >20.1%</td><td align="center" valign="middle" >0.0121*</td><td align="center" valign="middle" >0.0072</td><td align="center" valign="middle" >59.8%</td><td align="center" valign="middle" >1.8030</td><td align="center" valign="middle" >0.8576</td><td align="center" valign="middle" >47.6%</td><td align="center" valign="middle" >0.0670</td><td align="center" valign="middle" >0.0403</td><td align="center" valign="middle" >60.1%</td></tr><tr><td align="center" valign="middle" >S<sub>LR</sub></td><td align="center" valign="middle" >0.0021*</td><td align="center" valign="middle" >0.0002</td><td align="center" valign="middle" >12.0%</td><td align="center" valign="middle" >0.0046*</td><td align="center" valign="middle" >0.0008</td><td align="center" valign="middle" >17.7%</td><td align="center" valign="middle" >0.0091*</td><td align="center" valign="middle" >0.0054</td><td align="center" valign="middle" >59.3%</td><td align="center" valign="middle" >0.0371*</td><td align="center" valign="middle" >0.0179</td><td align="center" valign="middle" >48.2%</td><td align="center" valign="middle" >0.0458*</td><td align="center" valign="middle" >0.0319</td><td align="center" valign="middle" >69.8%</td></tr><tr><td align="center" valign="middle" >S</td><td align="center" valign="middle" >0.0042*</td><td align="center" valign="middle" >0.0006</td><td align="center" valign="middle" >13.4%</td><td align="center" valign="middle" >0.0080*</td><td align="center" valign="middle" >0.0016</td><td align="center" valign="middle" >20.0%</td><td align="center" valign="middle" >0.0101*</td><td align="center" valign="middle" >0.0063</td><td align="center" valign="middle" >62.4%</td><td align="center" valign="middle" >1.1174</td><td align="center" valign="middle" >0.5210</td><td align="center" valign="middle" >46.6%</td><td align="center" valign="middle" >0.0493*</td><td align="center" valign="middle" >0.0360</td><td align="center" valign="middle" >72.9%</td></tr><tr><td align="center" valign="middle"  rowspan="3"  >AS100P50all- AS100P50</td><td align="center" valign="middle" >S<sub>LDA</sub></td><td align="center" valign="middle" >0.0011*</td><td align="center" valign="middle" >0.0001</td><td align="center" valign="middle" >12.3%</td><td align="center" valign="middle" >0.0016*</td><td align="center" valign="middle" >0.0003</td><td align="center" valign="middle" >17.5%</td><td align="center" valign="middle" >0.0073*</td><td align="center" valign="middle" >0.0039</td><td align="center" valign="middle" >53.6%</td><td align="center" valign="middle" >0.0175*</td><td align="center" valign="middle" >0.0099</td><td align="center" valign="middle" >56.8%</td><td align="center" valign="middle" >0.0444*</td><td align="center" valign="middle" >0.0329</td><td align="center" valign="middle" >74.4%</td></tr><tr><td align="center" valign="middle" >S<sub>LR</sub></td><td align="center" valign="middle" >0.0021*</td><td align="center" valign="middle" >0.0002</td><td align="center" valign="middle" >12.0%</td><td align="center" valign="middle" >0.0046*</td><td align="center" valign="middle" >0.0008</td><td align="center" valign="middle" >17.7%</td><td align="center" valign="middle" >0.0091*</td><td align="center" valign="middle" >0.0054</td><td align="center" valign="middle" >59.3%</td><td align="center" valign="middle" >0.0371*</td><td align="center" valign="middle" >0.0179</td><td align="center" valign="middle" >48.2%</td><td align="center" valign="middle" >0.0458*</td><td align="center" valign="middle" >0.0319</td><td align="center" valign="middle" >69.8%</td></tr><tr><td align="center" valign="middle" >S</td><td align="center" valign="middle" >0.0014*</td><td align="center" valign="middle" >0.0002</td><td align="center" valign="middle" >12.1%</td><td align="center" valign="middle" >0.0027*</td><td align="center" valign="middle" >0.0005</td><td align="center" valign="middle" >17.1%</td><td align="center" valign="middle" >0.0071*</td><td align="center" valign="middle" >0.0037</td><td align="center" valign="middle" >52.1%</td><td align="center" valign="middle" >0.0205*</td><td align="center" valign="middle" >0.0123</td><td align="center" valign="middle" >59.7%</td><td align="center" valign="middle" >0.0434*</td><td align="center" valign="middle" >0.0287</td><td align="center" valign="middle" >66.1%</td></tr><tr><td align="center" valign="middle"  rowspan="3"  >CS100V- CS100V</td><td align="center" valign="middle" >S<sub>LDA</sub></td><td align="center" valign="middle" >0.0021*</td><td align="center" valign="middle" >0.0004</td><td align="center" valign="middle" >17.6%</td><td align="center" valign="middle" >0.0033*</td><td align="center" valign="middle" >0.0005</td><td align="center" valign="middle" >16.6%</td><td align="center" valign="middle" >0.0206*</td><td align="center" valign="middle" >0.0122</td><td align="center" valign="middle" >59.3%</td><td align="center" valign="middle" >0.0910</td><td align="center" valign="middle" >0.0305</td><td align="center" valign="middle" >33.6%</td><td align="center" valign="middle" >0.0912</td><td align="center" valign="middle" >0.0624</td><td align="center" valign="middle" >68.4%</td></tr><tr><td align="center" valign="middle" >S<sub>LR</sub></td><td align="center" valign="middle" >0.0045*</td><td align="center" valign="middle" >0.0003</td><td align="center" valign="middle" >7.5%</td><td align="center" valign="middle" >0.0016*</td><td align="center" valign="middle" >0.0003</td><td align="center" valign="middle" >16.3%</td><td align="center" valign="middle" >0.0382*</td><td align="center" valign="middle" >0.0044</td><td align="center" valign="middle" >11.5%</td><td align="center" valign="middle" >0.2329</td><td align="center" valign="middle" >0.0233</td><td align="center" valign="middle" >10.0%</td><td align="center" valign="middle" >0.1499</td><td align="center" valign="middle" >0.0353</td><td align="center" valign="middle" >23.5%</td></tr><tr><td align="center" valign="middle" >S</td><td align="center" valign="middle" >0.0026*</td><td align="center" valign="middle" >0.0003</td><td align="center" valign="middle" >10.3%</td><td align="center" valign="middle" >0.0022*</td><td align="center" valign="middle" >0.0004</td><td align="center" valign="middle" >16.5%</td><td align="center" valign="middle" >0.0240*</td><td align="center" valign="middle" >0.0075</td><td align="center" valign="middle" >31.3%</td><td align="center" valign="middle" >0.0554</td><td align="center" valign="middle" >0.0114</td><td align="center" valign="middle" >20.6%</td><td align="center" valign="middle" >0.0918</td><td align="center" valign="middle" >0.0506</td><td align="center" valign="middle" >55.1%</td></tr><tr><td align="center" valign="middle"  rowspan="3"  >CS100Vall- CS100V</td><td align="center" valign="middle" >S<sub>LDA</sub></td><td align="center" valign="middle" >0.0012*</td><td align="center" valign="middle" >0.0002</td><td align="center" valign="middle" >13.3%</td><td align="center" valign="middle" >0.0016*</td><td align="center" valign="middle" >0.0003</td><td align="center" valign="middle" >17.8%</td><td align="center" valign="middle" >0.0074*</td><td align="center" valign="middle" >0.0038</td><td align="center" valign="middle" >51.4%</td><td align="center" valign="middle" >0.0978</td><td align="center" valign="middle" >0.0204</td><td align="center" valign="middle" >20.8%</td><td align="center" valign="middle" >0.0438*</td><td align="center" valign="middle" >0.0322</td><td align="center" valign="middle" >73.7%</td></tr><tr><td align="center" valign="middle" >S<sub>LR</sub></td><td align="center" valign="middle" >0.0045*</td><td align="center" valign="middle" >0.0003</td><td align="center" valign="middle" >7.5%</td><td align="center" valign="middle" >0.0016*</td><td align="center" valign="middle" >0.0003</td><td align="center" valign="middle" >16.3%</td><td align="center" valign="middle" >0.0382*</td><td align="center" valign="middle" >0.0044</td><td align="center" valign="middle" >11.5%</td><td align="center" valign="middle" >0.2329</td><td align="center" valign="middle" >0.0233</td><td align="center" valign="middle" >10.0%</td><td align="center" valign="middle" >0.1499</td><td align="center" valign="middle" >0.0353</td><td align="center" valign="middle" >23.5%</td></tr><tr><td align="center" valign="middle" >S</td><td align="center" valign="middle" >0.0024*</td><td align="center" valign="middle" >0.0002</td><td align="center" valign="middle" >9.9%</td><td align="center" valign="middle" >0.0016*</td><td align="center" valign="middle" >0.0003</td><td align="center" valign="middle" >17.3%</td><td align="center" valign="middle" >0.0206*</td><td align="center" valign="middle" >0.0039</td><td align="center" valign="middle" >19.0%</td><td align="center" valign="middle" >0.0536</td><td align="center" valign="middle" >0.0087</td><td align="center" valign="middle" >16.2%</td><td align="center" valign="middle" >0.0855</td><td align="center" valign="middle" >0.0371</td><td align="center" valign="middle" >43.4%</td></tr><tr><td align="center" valign="middle"  colspan="2"  >Average (for S scores)</td><td align="center" valign="middle" >0.0025</td><td align="center" valign="middle" >0.0003</td><td align="center" valign="middle" >12.4%</td><td align="center" valign="middle" >0.0042</td><td align="center" valign="middle" >0.0008</td><td align="center" valign="middle" >17.8%</td><td align="center" valign="middle" >0.0133</td><td align="center" valign="middle" >0.0053</td><td align="center" valign="middle" >45.9%</td><td align="center" valign="middle" >0.2193</td><td align="center" valign="middle" >0.0978</td><td align="center" valign="middle" >40.0%</td><td align="center" valign="middle" >0.0610</td><td align="center" valign="middle" >0.0371</td><td align="center" valign="middle" >63.9%</td></tr></tbody></table></table-wrap><p>*denotes criteria values &lt; 0.05. SD: standard deviation; RSD: relative standard deviation.</p><p>The observed differences in the average criterion were greater between datasets rather than between couples of processes (<xref ref-type="table" rid="table4">Table 4</xref>). Indeed, the means of each couple of processes were the lowest for Twonorm and Ringnorm compared to the other datasets. Conversely, all couples had their worst results for HOSPHF30D. Generally, all couples of processes performed better when applied on simulated data (Twonorm and Ringnorm) rather than on observed data (Quantum, Adult2, HOSPHF30D). This was also true when comparing the standard deviations and RSDs.</p><p>When comparing the overall variability of the rankings between the couples, AS100P50all-AS100P50 and AS100Call-AS100P200, the two best performing couples of processes on average, also had the lowest standard deviations for the mean overall rank (1.17 and 1.12 respectively), while the couple with the largest standard deviation was CS100Vall-CS100V (1.72). It appears that the two best couples of processes consisted of averaged processes with a piecewise constant or a constant step-size for one process in the case of LDA. It also appears that these two processes in the case of LDA used all observations up to the current step instead of a mini-batch of observations.</p></sec><sec id="s3_2_2"><title>3.2.2. Convergence Analysis for 100N Observations</title><p>When studying the couples of processes after using 100N observations (i.e. N iterations) in order to assess the “long-term” convergence, the final online S score was very similar (criterion value &lt; 0.05) to the reference “batch” score for all of the couples on four of the five datasets tested (<xref ref-type="table" rid="table5">Table 5</xref>).</p><table-wrap id="table4" ><label><xref ref-type="table" rid="table4">Table 4</xref></label><caption><title> Mean (SD) rank of the processes across the 50 replications, by dataset and overall (ordered by overall rank)</title></caption><table><tbody><thead><tr><th align="center" valign="middle" >Dataset</th><th align="center" valign="middle" >Twonorm</th><th align="center" valign="middle" >Ringnorm</th><th align="center" valign="middle" >Quantum</th><th align="center" valign="middle" >Adult2</th><th align="center" valign="middle" >HOSPHF30D</th><th align="center" valign="middle" >Overall</th></tr></thead><tr><td align="center" valign="middle" >AS100P50all-AS100P50</td><td align="center" valign="middle" >1.04 (0.20)</td><td align="center" valign="middle" >3.00 (0.00)</td><td align="center" valign="middle" >1.68 (0.98)</td><td align="center" valign="middle" >1.40 (0.81)</td><td align="center" valign="middle" >2.54 (1.62)</td><td align="center" valign="middle" >1.93 (1.17)</td></tr><tr><td align="center" valign="middle" >AS100Call-AS100P200</td><td align="center" valign="middle" >1.96 (0.20)</td><td align="center" valign="middle" >4.00 (0.00)</td><td align="center" valign="middle" >2.10 (0.84)</td><td align="center" valign="middle" >2.90 (1.15)</td><td align="center" valign="middle" >2.52 (1.27)</td><td align="center" valign="middle" >2.70 (1.12)</td></tr><tr><td align="center" valign="middle" >CS100Vall-CS100V</td><td align="center" valign="middle" >3.40 (0.61)</td><td align="center" valign="middle" >1.06 (0.24)</td><td align="center" valign="middle" >5.24 (0.56)</td><td align="center" valign="middle" >4.08 (1.01)</td><td align="center" valign="middle" >4.60 (1.63)</td><td align="center" valign="middle" >3.68 (1.72)</td></tr><tr><td align="center" valign="middle" >AS100C-AS100P200</td><td align="center" valign="middle" >4.42 (0.81)</td><td align="center" valign="middle" >5.06 (0.24)</td><td align="center" valign="middle" >3.64 (1.03)</td><td align="center" valign="middle" >2.56 (1.05)</td><td align="center" valign="middle" >3.56 (1.43)</td><td align="center" valign="middle" >3.85 (1.30)</td></tr><tr><td align="center" valign="middle" >CS100V-CS100V</td><td align="center" valign="middle" >4.18 (0.66)</td><td align="center" valign="middle" >1.94 (0.24)</td><td align="center" valign="middle" >5.58 (0.70)</td><td align="center" valign="middle" >4.06 (0.98)</td><td align="center" valign="middle" >4.66 (1.62)</td><td align="center" valign="middle" >4.08 (1.53)</td></tr><tr><td align="center" valign="middle" >AS100P50-AS100P50</td><td align="center" valign="middle" >6.00 (0.00)</td><td align="center" valign="middle" >5.94 (0.24)</td><td align="center" valign="middle" >2.76 (0.94)</td><td align="center" valign="middle" >6.00 (0.00)</td><td align="center" valign="middle" >3.12 (1.27)</td><td align="center" valign="middle" >4.76 (1.66)</td></tr></tbody></table></table-wrap><table-wrap id="table5" ><label><xref ref-type="table" rid="table5">Table 5</xref></label><caption><title> Criterion value after 100N observation used for intermediary and final scores</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  colspan="2"  >Processes</th><th align="center" valign="middle" >Twonorm</th><th align="center" valign="middle" >Ringnorm</th><th align="center" valign="middle" >Quantum</th><th align="center" valign="middle" >Adult2</th><th align="center" valign="middle" >HOSPHF30D</th><th align="center" valign="middle" >Mean rank</th></tr></thead><tr><td align="center" valign="middle"  rowspan="3"  >AS100C-AS100P200</td><td align="center" valign="middle" >S<sub>LDA</sub></td><td align="center" valign="middle" >0.0006*</td><td align="center" valign="middle" >0.0007*</td><td align="center" valign="middle" >0.0028*</td><td align="center" valign="middle" >0.0066*</td><td align="center" valign="middle" >0.0165*</td><td align="center" valign="middle"  rowspan="3"  >2.8</td></tr><tr><td align="center" valign="middle" >S<sub>LR</sub></td><td align="center" valign="middle" >0.0007*</td><td align="center" valign="middle" >0.0007*</td><td align="center" valign="middle" >0.0033*</td><td align="center" valign="middle" >0.0069*</td><td align="center" valign="middle" >0.0206*</td></tr><tr><td align="center" valign="middle" >S</td><td align="center" valign="middle" >0.0006*</td><td align="center" valign="middle" >0.0007*</td><td align="center" valign="middle" >0.0030*</td><td align="center" valign="middle" >0.0067*</td><td align="center" valign="middle" >0.0190*</td></tr><tr><td align="center" valign="middle"  rowspan="3"  >AS100Call-AS100P200</td><td align="center" valign="middle" >S<sub>LDA</sub></td><td align="center" valign="middle" >0.0006*</td><td align="center" valign="middle" >0.0007*</td><td align="center" valign="middle" >0.0046*</td><td align="center" valign="middle" >0.0153*</td><td align="center" valign="middle" >0.0060*</td><td align="center" valign="middle"  rowspan="3"  >2.4</td></tr><tr><td align="center" valign="middle" >S<sub>LR</sub></td><td align="center" valign="middle" >0.0007*</td><td align="center" valign="middle" >0.0007*</td><td align="center" valign="middle" >0.0033*</td><td align="center" valign="middle" >0.0069*</td><td align="center" valign="middle" >0.0206*</td></tr><tr><td align="center" valign="middle" >S</td><td align="center" valign="middle" >0.0005*</td><td align="center" valign="middle" >0.0007*</td><td align="center" valign="middle" >0.0039*</td><td align="center" valign="middle" >0.0120*</td><td align="center" valign="middle" >0.0149*</td></tr><tr><td align="center" valign="middle"  rowspan="3"  >AS100P50-AS100P50</td><td align="center" valign="middle" >S<sub>LDA</sub></td><td align="center" valign="middle" >0.0006*</td><td align="center" valign="middle" >0.0007*</td><td align="center" valign="middle" >0.0027*</td><td align="center" valign="middle" >2.756</td><td align="center" valign="middle" >0.0176*</td><td align="center" valign="middle"  rowspan="3"  >3.4</td></tr><tr><td align="center" valign="middle" >S<sub>LR</sub></td><td align="center" valign="middle" >0.0006*</td><td align="center" valign="middle" >0.0007*</td><td align="center" valign="middle" >0.0032*</td><td align="center" valign="middle" >0.0346*</td><td align="center" valign="middle" >0.0203*</td></tr><tr><td align="center" valign="middle" >S</td><td align="center" valign="middle" >0.0005*</td><td align="center" valign="middle" >0.0007*</td><td align="center" valign="middle" >0.0029*</td><td align="center" valign="middle" >1.6968</td><td align="center" valign="middle" >0.0192*</td></tr><tr><td align="center" valign="middle"  rowspan="3"  >AS100P50all-AS100P50</td><td align="center" valign="middle" >S<sub>LDA</sub></td><td align="center" valign="middle" >0.0006*</td><td align="center" valign="middle" >0.0007*</td><td align="center" valign="middle" >0.0046*</td><td align="center" valign="middle" >0.0100*</td><td align="center" valign="middle" >0.0060*</td><td align="center" valign="middle"  rowspan="3"  >1.8</td></tr><tr><td align="center" valign="middle" >S<sub>LR</sub></td><td align="center" valign="middle" >0.0006*</td><td align="center" valign="middle" >0.0007*</td><td align="center" valign="middle" >0.0032*</td><td align="center" valign="middle" >0.0346*</td><td align="center" valign="middle" >0.0203*</td></tr><tr><td align="center" valign="middle" >S</td><td align="center" valign="middle" >0.0005*</td><td align="center" valign="middle" >0.0007*</td><td align="center" valign="middle" >0.0039*</td><td align="center" valign="middle" >0.0193*</td><td align="center" valign="middle" >0.0147*</td></tr><tr><td align="center" valign="middle"  rowspan="3"  >CS100V-CS100V</td><td align="center" valign="middle" >S<sub>LDA</sub></td><td align="center" valign="middle" >0.0010*</td><td align="center" valign="middle" >0.0020*</td><td align="center" valign="middle" >0.0073*</td><td align="center" valign="middle" >0.0076*</td><td align="center" valign="middle" >0.0165*</td><td align="center" valign="middle"  rowspan="3"  >5.2</td></tr><tr><td align="center" valign="middle" >S<sub>LR</sub></td><td align="center" valign="middle" >0.0033*</td><td align="center" valign="middle" >0.0009*</td><td align="center" valign="middle" >0.0168*</td><td align="center" valign="middle" >0.1002</td><td align="center" valign="middle" >0.0566</td></tr><tr><td align="center" valign="middle" >S</td><td align="center" valign="middle" >0.0015*</td><td align="center" valign="middle" >0.0014*</td><td align="center" valign="middle" >0.0083*</td><td align="center" valign="middle" >0.0414*</td><td align="center" valign="middle" >0.0289*</td></tr><tr><td align="center" valign="middle"  rowspan="3"  >CS100Vall-CS100V</td><td align="center" valign="middle" >S<sub>LDA</sub></td><td align="center" valign="middle" >0.0005*</td><td align="center" valign="middle" >0.0006*</td><td align="center" valign="middle" >0.0033*</td><td align="center" valign="middle" >0.0287*</td><td align="center" valign="middle" >0.0153*</td><td align="center" valign="middle"  rowspan="3"  >5.4</td></tr><tr><td align="center" valign="middle" >S<sub>LR</sub></td><td align="center" valign="middle" >0.0033*</td><td align="center" valign="middle" >0.0009*</td><td align="center" valign="middle" >0.0168*</td><td align="center" valign="middle" >0.1002</td><td align="center" valign="middle" >0.0566</td></tr><tr><td align="center" valign="middle" >S</td><td align="center" valign="middle" >0.0017*</td><td align="center" valign="middle" >0.0007*</td><td align="center" valign="middle" >0.0090*</td><td align="center" valign="middle" >0.0281*</td><td align="center" valign="middle" >0.0290*</td></tr><tr><td align="center" valign="middle"  colspan="2"  >Average (for S scores)</td><td align="center" valign="middle" >0.0009</td><td align="center" valign="middle" >0.0008</td><td align="center" valign="middle" >0.0052</td><td align="center" valign="middle" >0.3007</td><td align="center" valign="middle" >0.0210</td><td align="center" valign="middle" ></td></tr></tbody></table></table-wrap><p>*denote criteria values &lt; 0.05. First abbreviation: LDA process; Second abbreviation: LR process. Type of processes: C for classical SGD, A for ASGD. Data: R for raw data, S for online standardization of the data (1st number: number of new data per step). Step-size: V for continuously decreasing, C for constant, P for piecewise constant (2nd number: size of the steps of the piecewise constant step-size).</p><p>Only the AS100P50-AS100P50 couple applied to the Adult2 dataset did not converge after 100N iterations (criterion = 1.697). More precisely, the result for the LDA part of this couple differed substantially from its batch counterpart (criterion = 2.756), whereas the LR part appeared to converge to the batch LR part (criterion = 0.035).</p><p>For each couple of processes, the best performances were achieved for the Twonorm and Ringnorm datasets, which consist of simulated data. The worst performances were obtained for Adult2 and HOSPHF30D datasets, which contain observed data.</p><p>Although these results are not directly comparable with the average results using 10N observations presented in the previous subsection (since there was only one replication using 100N observations), it should be noted that the criterion values of all couples of processes on all datasets were lower after 100N observations than the mean values after 10N observations, except for the LDA and global scores of AS100P50-AS100P50 applied on Adult2.</p><p>When the couples of processes were ranked from best to worst for each dataset and the average ranks were calculated across all datasets (<xref ref-type="table" rid="table5">Table 5</xref>), the two worst performing couples were CS100Vall-CS100V and CS100V-CS100V, i.e. the only two couples using classical processes and a continuously decreasing step-size. The best couple was again AS100P50all-AS100P50. It appears that the two best couples of processes were the same as for 10N observations and that the two worst couples were classical processes with a continuously decreasing step-size.</p></sec></sec></sec><sec id="s4"><title>4. Conclusions</title><p>This study presented the construction of an online ensemble score obtained by aggregation of two rules of classification, LDA and LR, and bagging. The online ensemble score was constructed by using Poisson bootstrap and by associating stochastic approximation processes with online standardized data of different types, averaged or not, using either a mini-batch of data at each step or all observations up to the current step in the case of LDA, and different choices of step-sizes, whose convergence has already been theoretically established. The convergence of this overall online score towards the “batch” score was studied empirically. It appears that the two best processes were averaged processes with a piecewise constant step-size or a constant step-size for one process in the case of LDA and with the use of all observations up to the current step in the case of LDA instead of a mini-batch of observations. Thus, these were not the classical processes with a continuously decreasing step-size and a mini-batch of observations at each step in the case of LDA.</p><p>This study can be extended in several directions. More than two models of classification could be taken into account. Other classification models could be used such as the probit model. Other experiments could be carried out using randomly selected variables with different modalities of random selection [<xref ref-type="bibr" rid="scirp.115554-ref5">5</xref>] [<xref ref-type="bibr" rid="scirp.115554-ref6">6</xref>]. This study can also be extended to the regression framework when y is a continuous variable.</p></sec><sec id="s5"><title>Acknowledgements</title><p>The authors thank Mr. Pierre Pothier for editing this manuscript.</p></sec><sec id="s6"><title>Funding</title><p>This work was supported by the investments for the Future Program under grant ANR-15-RHU-0004.</p></sec><sec id="s7"><title>Conflicts of Interest</title><p>The authors declare no conflicts of interest regarding the publication of this paper.</p></sec><sec id="s8"><title>Cite this paper</title><p>Lallou&#233;, B., Monnez, J.-M. and Albuisson, E. (2022) Construction and Update of an Online Ensemble Score Involving Linear Discriminant Analysis and Logistic Regression. Applied Mathematics, 13, 228-242. https://doi.org/10.4236/am.2022.132018</p></sec></body><back><ref-list><title>References</title><ref id="scirp.115554-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Genuer, R. and Poggi, J.M. (2017) Arbres CART et For&amp;#234;ts aléatoires, Importance et sélection de variables.https://hal.archives-ouvertes.fr/hal-01387654</mixed-citation></ref><ref id="scirp.115554-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Breiman, L. (1996) Bagging Predictors. Machine Learning, 24,123-140. https://doi.org/10.1007/BF00058655</mixed-citation></ref><ref id="scirp.115554-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Freund, Y. and Schapire, R.E. (1996) Experiments with a New Boosting Algorithm. Proceedings of the Thirteenth International Conference on Machine Learning, 148-156.</mixed-citation></ref><ref id="scirp.115554-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Song, L., Langfelder, P. and Horvath, S. (2013) Random Generalized Linear Model: A Highly Accurate and Interpretable Ensemble Predictor. BMC Bioinformatics, 14, Article No. 5. https://doi.org/10.1186/1471-2105-14-5</mixed-citation></ref><ref id="scirp.115554-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Duarte, K., Monnez, J.M. and Albuisson, E. (2018) Methodology for Constructing a Short-Term Event Risk Score in Heart Failure Patients. Applied Mathematics, 9, 954-974. https://doi.org/10.4236/am.2018.98065</mixed-citation></ref><ref id="scirp.115554-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Lalloué, B., Monnez, J.M., Lucci, D. and Albuisson, E. (2021) Construction of Parsimonious Event Risk Scores by an Ensemble Method. An Illustration for Short-Term Predictions in Chronic Heart Failure Patients from the GISSI-HF Trial. Applied Mathematics, 12, 627-653. https://doi.org/10.4236/am.2021.127045</mixed-citation></ref><ref id="scirp.115554-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Ljung, L., Pflug, G.C. and Walk, H. (1992) Stochastic Approximation and Optimization of Random Systems. Birkh&amp;#228;user, Basel. https://doi.org/10.1007/978-3-0348-8609-3</mixed-citation></ref><ref id="scirp.115554-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Xu, W. (2011) Towards Optimal One Pass Large Scale Learning with Averaged Stochastic Gradient Descent. ArXiv11072490 Cs.</mixed-citation></ref><ref id="scirp.115554-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Kek, S.L., Sim, S.Y, Leong, W.J. and Teo, K.L. (2018) Discrete-Time Nonlinear Stochastic Optimal Control Problem Based on Stochastic Approximation Approach. Advances in Pure Mathematics, 8, 232-244. https://doi.org/10.4236/apm.2018.83012</mixed-citation></ref><ref id="scirp.115554-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Duarte, K., Monnez, J.M. and Albuisson, E. (2018) Sequential Linear Regression with Online Standardized Data. PLoS ONE, 13, e0191186. https://doi.org/10.1371/journal.pone.0191186</mixed-citation></ref><ref id="scirp.115554-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Lalloué, B., Monnez, J.M. and Albuisson, E. (2021) Streaming Constrained Binary Logistic Regression with Online Standardized Data. Journal of Applied Statistics. https://doi.org/10.1080/02664763.2020.1870672</mixed-citation></ref><ref id="scirp.115554-ref12"><label>12</label><mixed-citation publication-type="journal" xlink:type="simple"><name name-style="western"><surname>Bach</surname><given-names> F. </given-names></name>,<etal>et al</etal>. (<year>2014</year>)<article-title>Adaptivity of Averaged Stochastic Gradient Descent to Local Strong Convexity for Logistic Regression</article-title><source> Journal of Machine Learning Research</source><volume> 15</volume>,<fpage> 595</fpage>-<lpage>627</lpage>.<pub-id pub-id-type="doi"></pub-id></mixed-citation></ref><ref id="scirp.115554-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Lalloué, B., Monnez, J.M. and Albuisson, E. (2019) Actualisation en ligne d’un score d’ensemble. 51e Journées de Statistique, Nancy, France, Jun 2019. https://hal.archives-ouvertes.fr/hal-02152352</mixed-citation></ref><ref id="scirp.115554-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Oza, N.C. and Russell, S.J. (2001) Online Bagging and Boosting. Proceedings of the Eighth International Workshop on Artificial Intelligence and Statistics, Key West, Florida, USA, 4-7 January 2001, 229-236.</mixed-citation></ref><ref id="scirp.115554-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Cardot, H., Cénac, P. and Monnez, J.M. (2012) A Fast and Recursive Algorithm for Clustering Large Datasets with κ-Medians. Computational Statistics &amp; Data Analysis, 56, 1434-1449. https://doi.org/10.1016/j.csda.2011.11.019</mixed-citation></ref><ref id="scirp.115554-ref16"><label>16</label><mixed-citation publication-type="other" xlink:type="simple">Monnez, J.M. and Skiredj, A. (2021) Widening the Scope of an Eigenvector Stochastic Approximation Process and Application to Streaming PCA and Related Methods. Journal of Multivariate Analysis, 182, Article ID: 104694. https://doi.org/10.1016/j.jmva.2020.104694</mixed-citation></ref><ref id="scirp.115554-ref17"><label>17</label><mixed-citation publication-type="other" xlink:type="simple">Pitt, B., Remme, W., Zannad, F., Neaton, J., Martinez, F., Roniker, B., et al. (2003) Eplerenone, a Selective Aldosterone Blocker, in Patients with Left Ventricular Dysfunction after Myocardial Infarction. The New England Journal of Medicine, 348, 1309-1321. https://doi.org/10.1056/NEJMoa030207</mixed-citation></ref><ref id="scirp.115554-ref18"><label>18</label><mixed-citation publication-type="other" xlink:type="simple">Breiman, L. (1996) Bias, Variance, and Arcing Classifiers. Technical Report 460, University of California, Berkeley.</mixed-citation></ref></ref-list></back></article>