<?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">
    ojapps
   </journal-id>
   <journal-title-group>
    <journal-title>
     Open Journal of Applied Sciences
    </journal-title>
   </journal-title-group>
   <issn pub-type="epub">
    2165-3917
   </issn>
   <issn publication-format="print">
    2165-3925
   </issn>
   <publisher>
    <publisher-name>
     Scientific Research Publishing
    </publisher-name>
   </publisher>
  </journal-meta>
  <article-meta>
   <article-id pub-id-type="doi">
    10.4236/ojapps.2024.147116
   </article-id>
   <article-id pub-id-type="publisher-id">
    ojapps-134643
   </article-id>
   <article-categories>
    <subj-group subj-group-type="heading">
     <subject>
      Articles
     </subject>
    </subj-group>
    <subj-group subj-group-type="Discipline-v2">
     <subject>
      Biomedical 
     </subject>
     <subject>
       Life Sciences, Chemistry 
     </subject>
     <subject>
       Materials Science, Computer Science 
     </subject>
     <subject>
       Communications, Engineering, Physics 
     </subject>
     <subject>
       Mathematics
     </subject>
    </subj-group>
   </article-categories>
   <title-group>
    Comparative Study of Probabilistic and Least-Squares Methods for Developing Predictive Models
   </title-group>
   <contrib-group>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Boribo Kikunda
      </surname>
      <given-names>
       Philippe
      </given-names>
     </name> 
     <xref ref-type="aff" rid="aff1"> 
      <sup>1</sup>
     </xref> 
     <xref ref-type="aff" rid="aff2"> 
      <sup>2</sup>
     </xref> 
     <xref ref-type="aff" rid="aff3"> 
      <sup>3</sup>
     </xref>
    </contrib>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Thierry
      </surname>
      <given-names>
       Nsabimana
      </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>
       Jules Raymond
      </surname>
      <given-names>
       Kala
      </given-names>
     </name> 
     <xref ref-type="aff" rid="aff2"> 
      <sup>2</sup>
     </xref>
    </contrib>
    <contrib contrib-type="author" xlink:type="simple">
     <name name-style="western">
      <surname>
       Jeremie
      </surname>
      <given-names>
       Ndikumagenge
      </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>
       Longin
      </surname>
      <given-names>
       Ndayisaba
      </given-names>
     </name> 
     <xref ref-type="aff" rid="aff1"> 
      <sup>1</sup>
     </xref>
    </contrib>
   </contrib-group> 
   <aff id="aff1">
    <addr-line>
     aCentre de Recherche en Infrastructure Environnement et Technologie (CRIET), Faculty of Engineering Sciences, Université du Burundi, Bujumbura, Burundi
    </addr-line> 
   </aff> 
   <aff id="aff2">
    <addr-line>
     aFaculty of Sciences, Université Catholique de Bukavu (UCB), Bukavu, DR Congo
    </addr-line> 
   </aff> 
   <aff id="aff3">
    <addr-line>
     aManagement Computer Department, Institut supérieur Pédagogique de bukavu (ISP/Bukavu), Bukavu, DR Congo
    </addr-line> 
   </aff> 
   <pub-date pub-type="epub">
    <day>
     04
    </day> 
    <month>
     07
    </month>
    <year>
     2024
    </year>
   </pub-date> 
   <volume>
    14
   </volume> 
   <issue>
    07
   </issue>
   <fpage>
    1775
   </fpage>
   <lpage>
    1787
   </lpage>
   <history>
    <date date-type="received">
     <day>
      6,
     </day>
     <month>
      May
     </month>
     <year>
      2024
     </year>
    </date>
    <date date-type="published">
     <day>
      16,
     </day>
     <month>
      May
     </month>
     <year>
      2024
     </year> 
    </date> 
    <date date-type="accepted">
     <day>
      16,
     </day>
     <month>
      July
     </month>
     <year>
      2024
     </year> 
    </date>
   </history>
   <permissions>
    <copyright-statement>
     © 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>
    This article explores the comparison between the probability method and the least squares method in the design of linear predictive models. It points out that these two approaches have distinct theoretical foundations and can lead to varied or similar results in terms of precision and performance under certain assumptions. The article underlines the importance of comparing these two approaches to choose the one best suited to the context, available data and modeling objectives.
   </abstract>
   <kwd-group> 
    <kwd>
     Predictive Models
    </kwd> 
    <kwd>
      Least Squares
    </kwd> 
    <kwd>
      Bayesian Estimation Methods
    </kwd>
   </kwd-group>
  </article-meta>
 </front>
 <body>
  <sec id="s1">
   <title>1. Introduction</title>
   <p>Predictive modeling is an essential step in data analysis and data science, aimed at developing models capable of predicting future events or behaviors based on historical data <xref ref-type="bibr" rid="scirp.134643-1">
     [1]
    </xref>. In other words, it represents the process by which a mathematical model synthesizing a reality is found. This model can then be used to make decisions in the face of new data, which would not normally have been used to develop it <xref ref-type="bibr" rid="scirp.134643-2">
     [2]
    </xref>.</p>
   <p>It is used in many fields such as finance, healthcare, marketing, education and many others.</p>
   <p>The choice of an efficient algorithm in the process of designing a model can sometimes be very time-consuming. Knowledge of the general properties of algorithms and of problems can be a major asset in choosing the right algorithm. Today, there are several algorithms available for setting up models. These can be grouped into two approaches especially in the case of linear models: the maximum likelihood approach and the Bayesian approach. The choice of a linear model is often motivated by the need to understand the relationship between the factors influencing a phenomenon and the phenomenon itself <xref ref-type="bibr" rid="scirp.134643-3">
     [3]
    </xref>.</p>
   <p>These two approaches offer distinct theoretical frameworks for modeling and predicting phenomena based on observed data. This can often lead to debate as to which is more effective at predicting future outcomes. The probabilistic method relies on concepts of statistics and probability to estimate the parameters of a model <xref ref-type="bibr" rid="scirp.134643-4">
     [4]
    </xref>. In this perspective, the parameter is considered as a random variable whose probability distribution must be estimated <xref ref-type="bibr" rid="scirp.134643-5">
     [5]
    </xref>, whereas the least-squares method is based on minimizing the differences between observed and predicted values. Some authors, such as Legendre, describe it as an algebraic method for solving an incompatible system of n equations with m unknowns <xref ref-type="bibr" rid="scirp.134643-6">
     [6]
    </xref>.</p>
   <p>The comparison between the two approaches will enable us to highlight the assumptions that would lead to the choice of one algorithm over another to solve a given problem. In this article, we will explore these two approaches in detail, highlighting their theoretical foundations, strengths, limitations and application in the design of predictive models to enable researchers and practitioners to choose the most appropriate method for their specific needs.</p>
  </sec><sec id="s2">
   <title>2. Least Squares Method</title>
   <p>The method of least squares was introduced by Karl Gauss in 1809. It is used to estimate the parameters of a mathematical model by minimizing the sum of the deviations between the observed values and the values predicted by the model <xref ref-type="bibr" rid="scirp.134643-7">
     [7]
    </xref>. In other words, it seeks to find the best approximation to a linear relationship between variables by adjusting the model coefficients so that the mean square error is minimal.</p>
   <sec id="s2_1">
    <title>2.1. Principle</title>
    <p>First, let’s remember that a model is said to be linear if it is linear with respect to its parameters <xref ref-type="bibr" rid="scirp.134643-4">
      [4]
     </xref>. This means it can be represented either by a straight line or by a curve. This is the case, for example, with a polynomial model, which is classified as a linear model. In this case, the general form of a linear model is given by the following formula:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         g 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           z 
         </mi> 
         <mo>
           , 
         </mo> 
         <mi>
           w 
         </mi> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mstyle displaystyle="true"> 
        <munderover> 
         <mo>
           ∑ 
         </mo> 
         <mrow> 
          <mi>
            i 
          </mi> 
          <mo>
            = 
          </mo> 
          <mn>
            1 
          </mn> 
         </mrow> 
         <mi>
           p 
         </mi> 
        </munderover> 
       </mstyle> 
       <mtext>
           
       </mtext> 
       <msub> 
        <mi>
          w 
        </mi> 
        <mi>
          i 
        </mi> 
       </msub> 
       <msub> 
        <mi>
          f 
        </mi> 
        <mi>
          i 
        </mi> 
       </msub> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          z 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> (1)</p>
    <p>where the functions 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          f 
        </mi> 
        <mi>
          i 
        </mi> 
       </msub> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          z 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> are non-parametric functions of the variables. We can replace them with 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          x 
        </mi> 
        <mi>
          i 
        </mi> 
       </msub> 
      </mrow> 
     </math> and we obtain the form:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         g 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           x 
         </mi> 
         <mn>
           , 
         </mn> 
         <mi>
           w 
         </mi> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mi>
         w 
       </mi> 
       <mo>
         ⋅ 
       </mo> 
       <mi>
         x 
       </mi> 
      </mrow> 
     </math> (2)</p>
    <p>In the formula (2), w represents the parameter vector and x represents a row of data. If we have n rows of data, we can define the observation matrix X, which will have n rows and p columns. Thus, the linear model becomes:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         g 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           X 
         </mi> 
         <mn>
           , 
         </mn> 
         <mi>
           w 
         </mi> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mi>
         X 
       </mi> 
       <mo>
         ⋅ 
       </mo> 
       <mi>
         w 
       </mi> 
      </mrow> 
     </math> (3)</p>
    <p>Notation Given the data matrix X and y vector of data representing the phenomenon to be modeled, the problem therefore comes down to estimating the parameters w of the linear model of the g function. Least squares proposes the function to be minimized</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         J 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          w 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mstyle displaystyle="true"> 
        <munderover> 
         <mo>
           ∑ 
         </mo> 
         <mrow> 
          <mi>
            k 
          </mi> 
          <mo>
            = 
          </mo> 
          <mn>
            1 
          </mn> 
         </mrow> 
         <mrow> 
          <msub> 
           <mi>
             N 
           </mi> 
           <mi>
             A 
           </mi> 
          </msub> 
         </mrow> 
        </munderover> 
       </mstyle> 
       <msup> 
        <mrow> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <msubsup> 
            <mi>
              y 
            </mi> 
            <mi>
              k 
            </mi> 
            <mi>
              p 
            </mi> 
           </msubsup> 
           <mo>
             − 
           </mo> 
           <mi>
             g 
           </mi> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mrow> 
             <msub> 
              <mi>
                x 
              </mi> 
              <mi>
                k 
              </mi> 
             </msub> 
             <mo>
               , 
             </mo> 
             <mi>
               w 
             </mi> 
            </mrow> 
            <mo>
              ) 
            </mo> 
           </mrow> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mn>
          2 
        </mn> 
       </msup> 
      </mrow> 
     </math></p>
    <p>où 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          N 
        </mi> 
        <mi>
          A 
        </mi> 
       </msub> 
      </mrow> 
     </math> is the data sample size, 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          x 
        </mi> 
        <mi>
          k 
        </mi> 
       </msub> 
      </mrow> 
     </math> is the vector of variables for the data k, and 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msubsup> 
        <mi>
          y 
        </mi> 
        <mi>
          k 
        </mi> 
        <mi>
          p 
        </mi> 
       </msubsup> 
      </mrow> 
     </math> is the value of the quantity to be modeled for the data k. To find parameter values w for which this function is minimal, it suffices to write that its first derivative is zero:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mo>
          ∇ 
        </mo> 
        <mi>
          w 
        </mi> 
       </msub> 
       <mi>
         J 
       </mi> 
       <mo>
         = 
       </mo> 
       <mfrac> 
        <mrow> 
         <mo>
           ∂ 
         </mo> 
         <mi>
           J 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mi>
            w 
          </mi> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mrow> 
         <mi>
           d 
         </mi> 
         <mi>
           w 
         </mi> 
        </mrow> 
       </mfrac> 
       <mo>
         = 
       </mo> 
       <mn>
         0 
       </mn> 
      </mrow> 
     </math></p>
    <p>which take a set of p equations, whose p unknowns are the parameters 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          w 
        </mi> 
        <mi>
          i 
        </mi> 
       </msub> 
      </mrow> 
     </math>, 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         i 
       </mi> 
       <mo>
         = 
       </mo> 
       <mn>
         1 
       </mn> 
      </mrow> 
     </math>? p. These equations are called normal equations. We show that</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          w 
        </mi> 
        <mrow> 
         <mi>
           m 
         </mi> 
         <mi>
           c 
         </mi> 
        </mrow> 
       </msub> 
       <mo>
         = 
       </mo> 
       <msup> 
        <mrow> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <msup> 
            <mi>
              X 
            </mi> 
            <mtext>
              T 
            </mtext> 
           </msup> 
           <mi>
             X 
           </mi> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mrow> 
         <mo>
           − 
         </mo> 
         <mn>
           1 
         </mn> 
        </mrow> 
       </msup> 
       <msup> 
        <mi>
          X 
        </mi> 
        <mtext>
          T 
        </mtext> 
       </msup> 
       <msup> 
        <mi>
          y 
        </mi> 
        <mi>
          p 
        </mi> 
       </msup> 
      </mrow> 
     </math> (4)</p>
    <p>When X has a large dimension, recursive least squares is used <xref ref-type="bibr" rid="scirp.134643-8">
      [8]
     </xref>. The numerical method to be used can be either singular value separation or gradient descent <xref ref-type="bibr" rid="scirp.134643-9">
      [9]
     </xref>.</p>
   </sec>
   <sec id="s2_2">
    <title>2.2. Geometric Interpretation of the Least-Squares Solution</title>
    <p>This solution can be obtained using a geometric method, which is an elegant interpretation of the method of least squares <xref ref-type="bibr" rid="scirp.134643-10">
      [10]
     </xref>. Determining the w coefficients of formula 3 is equivalent to solving the system 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         X 
       </mi> 
       <mo>
         ⋅ 
       </mo> 
       <mi>
         w 
       </mi> 
       <mo>
         = 
       </mo> 
       <mi>
         y 
       </mi> 
      </mrow> 
     </math>. This system is incompatible because it has more equations than unknowns. Since a solution cannot be found because 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         y 
       </mi> 
       <mo>
         ∉ 
       </mo> 
       <mi>
         I 
       </mi> 
       <mi>
         m 
       </mi> 
       <mi>
         X 
       </mi> 
      </mrow> 
     </math>, we’re forced to settle for finding a w’ such that 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         X 
       </mi> 
       <mo>
         ⋅ 
       </mo> 
       <msup> 
        <mi>
          w 
        </mi> 
        <mo>
          ′ 
        </mo> 
       </msup> 
       <mo>
         = 
       </mo> 
       <msup> 
        <mi>
          y 
        </mi> 
        <mo>
          ′ 
        </mo> 
       </msup> 
      </mrow> 
     </math> with y’ as close as possible to y. This means that 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mo>
         ∀ 
       </mo> 
       <msup> 
        <msup> 
         <mi>
           y 
         </mi> 
         <mo>
           ′ 
         </mo> 
        </msup> 
        <mo>
          ′ 
        </mo> 
       </msup> 
       <mn>
         , 
       </mn> 
       <mo>
         ∃ 
       </mo> 
       <msup> 
        <mi>
          y 
        </mi> 
        <mo>
          ′ 
        </mo> 
       </msup> 
      </mrow> 
     </math> of 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         I 
       </mi> 
       <mi>
         m 
       </mi> 
       <mi>
         X 
       </mi> 
      </mrow> 
     </math>, 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mrow> 
        <mo>
          ‖ 
        </mo> 
        <mrow> 
         <mi>
           X 
         </mi> 
         <msup> 
          <mi>
            w 
          </mi> 
          <mo>
            ′ 
          </mo> 
         </msup> 
         <mo>
           − 
         </mo> 
         <msup> 
          <msup> 
           <mi>
             y 
           </mi> 
           <mo>
             ′ 
           </mo> 
          </msup> 
          <mo>
            ′ 
          </mo> 
         </msup> 
        </mrow> 
        <mo>
          ‖ 
        </mo> 
       </mrow> 
       <mo>
         &gt; 
       </mo> 
       <mrow> 
        <mo>
          ‖ 
        </mo> 
        <mrow> 
         <mi>
           X 
         </mi> 
         <msup> 
          <mi>
            w 
          </mi> 
          <mo>
            ′ 
          </mo> 
         </msup> 
         <mo>
           − 
         </mo> 
         <msup> 
          <mi>
            y 
          </mi> 
          <mo>
            ′ 
          </mo> 
         </msup> 
        </mrow> 
        <mo>
          ‖ 
        </mo> 
       </mrow> 
      </mrow> 
     </math>. From a geometric point of view, y’ closest to y is that which is the orthogonal project of y in the image of the matrix X. Therefore, all column vectors of X are orthogonal to the vector 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         y 
       </mi> 
       <mo>
         − 
       </mo> 
       <msup> 
        <mi>
          y 
        </mi> 
        <mo>
          ′ 
        </mo> 
       </msup> 
      </mrow> 
     </math>. Thus,</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msup> 
        <mi>
          X 
        </mi> 
        <mtext>
          T 
        </mtext> 
       </msup> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           y 
         </mi> 
         <mo>
           − 
         </mo> 
         <msup> 
          <mi>
            y 
          </mi> 
          <mo>
            ′ 
          </mo> 
         </msup> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mn>
         0 
       </mn> 
      </mrow> 
     </math></p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msup> 
        <mi>
          X 
        </mi> 
        <mtext>
          T 
        </mtext> 
       </msup> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           X 
         </mi> 
         <msup> 
          <mi>
            w 
          </mi> 
          <mo>
            ′ 
          </mo> 
         </msup> 
         <mo>
           − 
         </mo> 
         <msup> 
          <mi>
            y 
          </mi> 
          <mo>
            ′ 
          </mo> 
         </msup> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mn>
         0 
       </mn> 
      </mrow> 
     </math></p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msup> 
        <mi>
          X 
        </mi> 
        <mtext>
          T 
        </mtext> 
       </msup> 
       <mi>
         X 
       </mi> 
       <msup> 
        <mi>
          w 
        </mi> 
        <mo>
          ′ 
        </mo> 
       </msup> 
       <mo>
         − 
       </mo> 
       <msup> 
        <mi>
          X 
        </mi> 
        <mtext>
          T 
        </mtext> 
       </msup> 
       <msup> 
        <mi>
          y 
        </mi> 
        <mo>
          ′ 
        </mo> 
       </msup> 
       <mo>
         = 
       </mo> 
       <mn>
         0 
       </mn> 
      </mrow> 
     </math></p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msup> 
        <mi>
          X 
        </mi> 
        <mtext>
          T 
        </mtext> 
       </msup> 
       <mi>
         X 
       </mi> 
       <msup> 
        <mi>
          w 
        </mi> 
        <mo>
          ′ 
        </mo> 
       </msup> 
       <mo>
         = 
       </mo> 
       <msup> 
        <mi>
          X 
        </mi> 
        <mtext>
          T 
        </mtext> 
       </msup> 
       <msup> 
        <mi>
          y 
        </mi> 
        <mo>
          ′ 
        </mo> 
       </msup> 
      </mrow> 
     </math></p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msup> 
        <mi>
          w 
        </mi> 
        <mo>
          ′ 
        </mo> 
       </msup> 
       <mo>
         = 
       </mo> 
       <msup> 
        <mrow> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <msup> 
            <mi>
              X 
            </mi> 
            <mtext>
              T 
            </mtext> 
           </msup> 
           <mi>
             X 
           </mi> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mrow> 
         <mo>
           − 
         </mo> 
         <mn>
           1 
         </mn> 
        </mrow> 
       </msup> 
       <msup> 
        <mi>
          X 
        </mi> 
        <mtext>
          T 
        </mtext> 
       </msup> 
       <mi>
         y 
       </mi> 
      </mrow> 
     </math> (5)</p>
    <p>We note that the solution of the formula 4 is the same as that obtained by the formula 5.</p>
    <p>However, most of the time, researchers manipulate very limited data in the form of a sample, tainted by noise. The fact that a sample is drawn at random means that the solution may vary with respect to the sample drawn. Hence the need to formulate the problem of estimating the parameters of a model from a probabilistic point of view.</p>
   </sec>
  </sec><sec id="s3">
   <title>3. Probabilistic Approach</title>
   <p>Probability is defined according to two schools of thought <xref ref-type="bibr" rid="scirp.134643-11">
     [11]
    </xref>:</p>
   <sec id="s3_1">
    <title>3.1. Parameter Estimation Using the Frequentist Approach</title>
    <p>The frequentist method for estimating model parameters is maximum likelihood estimation <xref ref-type="bibr" rid="scirp.134643-12">
      [12]
     </xref>. It seeks to find the parameter values that make the observed data more probable within the framework of the model under consideration.</p>
    <p>Thus the probability density of y knowing x is given by:</p>
    <p>Let 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          ε 
        </mi> 
        <mi>
          k 
        </mi> 
       </msub> 
      </mrow> 
     </math> be the deviation between the predicted value of the model for data k in the sample and the observed value of the measurement to be modeled 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          y 
        </mi> 
        <mi>
          k 
        </mi> 
       </msub> 
      </mrow> 
     </math> i.e. 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          ε 
        </mi> 
        <mi>
          k 
        </mi> 
       </msub> 
       <mo>
         = 
       </mo> 
       <msub> 
        <mi>
          y 
        </mi> 
        <mi>
          k 
        </mi> 
       </msub> 
       <mo>
         − 
       </mo> 
       <mi>
         g 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           w 
         </mi> 
         <mn>
           , 
         </mn> 
         <mi>
           x 
         </mi> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>. Suppose that 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          ε 
        </mi> 
        <mi>
          k 
        </mi> 
       </msub> 
      </mrow> 
     </math> follows a normal distribution with mean 0 and variance 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msup> 
        <mi>
          δ 
        </mi> 
        <mn>
          2 
        </mn> 
       </msup> 
      </mrow> 
     </math> i.e. 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         ε 
       </mi> 
       <mo>
         ~ 
       </mo> 
       <mi>
         N 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mn>
           0, 
         </mn> 
         <msup> 
          <mi>
            δ 
          </mi> 
          <mn>
            2 
          </mn> 
         </msup> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> et 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
        ε 
      </mi> 
     </math> are independent.</p>
    <p>This implies that y knowing x follows a normal distribution with mean 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         g 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           x 
         </mi> 
         <mn>
           , 
         </mn> 
         <mi>
           w 
         </mi> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> and variance 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msup> 
        <mi>
          σ 
        </mi> 
        <mn>
          2 
        </mn> 
       </msup> 
      </mrow> 
     </math>.</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         P 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mrow> 
          <mi>
            y 
          </mi> 
          <mo>
            / 
          </mo> 
          <mi>
            x 
          </mi> 
         </mrow> 
         <mn>
           , 
         </mn> 
         <mi>
           w 
         </mi> 
         <mn>
           , 
         </mn> 
         <msup> 
          <mi>
            σ 
          </mi> 
          <mn>
            2 
          </mn> 
         </msup> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mi>
         N 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           g 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <mi>
             x 
           </mi> 
           <mn>
             , 
           </mn> 
           <mi>
             w 
           </mi> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
         <mn>
           , 
         </mn> 
         <msup> 
          <mi>
            σ 
          </mi> 
          <mn>
            2 
          </mn> 
         </msup> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mfrac> 
        <mn>
          1 
        </mn> 
        <mrow> 
         <msqrt> 
          <mrow> 
           <mn>
             2 
           </mn> 
           <mi>
             π 
           </mi> 
           <msup> 
            <mi>
              σ 
            </mi> 
            <mn>
              2 
            </mn> 
           </msup> 
          </mrow> 
         </msqrt> 
        </mrow> 
       </mfrac> 
       <mi>
         exp 
       </mi> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mrow> 
         <mo>
           − 
         </mo> 
         <mfrac> 
          <mrow> 
           <msup> 
            <mrow> 
             <mrow> 
              <mo>
                ( 
              </mo> 
              <mrow> 
               <mi>
                 y 
               </mi> 
               <mo>
                 − 
               </mo> 
               <mi>
                 g 
               </mi> 
               <mrow> 
                <mo>
                  ( 
                </mo> 
                <mrow> 
                 <mi>
                   x 
                 </mi> 
                 <mn>
                   , 
                 </mn> 
                 <mi>
                   w 
                 </mi> 
                </mrow> 
                <mo>
                  ) 
                </mo> 
               </mrow> 
              </mrow> 
              <mo>
                ) 
              </mo> 
             </mrow> 
            </mrow> 
            <mn>
              2 
            </mn> 
           </msup> 
          </mrow> 
          <mrow> 
           <mn>
             2 
           </mn> 
           <msup> 
            <mi>
              σ 
            </mi> 
            <mn>
              2 
            </mn> 
           </msup> 
          </mrow> 
         </mfrac> 
        </mrow> 
        <mo>
          ] 
        </mo> 
       </mrow> 
      </mrow> 
     </math> (6)</p>
    <p>The maximum likelihood function L for n independent observations following a normal distribution of 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         μ 
       </mi> 
       <mo>
         = 
       </mo> 
       <mi>
         g 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           w 
         </mi> 
         <mn>
           , 
         </mn> 
         <mi>
           x 
         </mi> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> with variance 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msup> 
        <mi>
          σ 
        </mi> 
        <mn>
          2 
        </mn> 
       </msup> 
      </mrow> 
     </math> will be written as the product of the individual probability density of each observation.</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         L 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mrow> 
          <mi>
            y 
          </mi> 
          <mo>
            / 
          </mo> 
          <mi>
            X 
          </mi> 
         </mrow> 
         <mn>
           , 
         </mn> 
         <mi>
           w 
         </mi> 
         <mn>
           , 
         </mn> 
         <msup> 
          <mi>
            σ 
          </mi> 
          <mn>
            2 
          </mn> 
         </msup> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mstyle displaystyle="true"> 
        <munderover> 
         <mo>
           ∏ 
         </mo> 
         <mrow> 
          <mi>
            k 
          </mi> 
          <mo>
            = 
          </mo> 
          <mn>
            1 
          </mn> 
         </mrow> 
         <mi>
           N 
         </mi> 
        </munderover> 
       </mstyle> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mrow> 
         <mi>
           N 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <mi>
             g 
           </mi> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mrow> 
             <msub> 
              <mi>
                x 
              </mi> 
              <mi>
                k 
              </mi> 
             </msub> 
             <mn>
               , 
             </mn> 
             <mi>
               w 
             </mi> 
            </mrow> 
            <mo>
              ) 
            </mo> 
           </mrow> 
           <mn>
             , 
           </mn> 
           <msup> 
            <mi>
              σ 
            </mi> 
            <mn>
              2 
            </mn> 
           </msup> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mo>
          ] 
        </mo> 
       </mrow> 
      </mrow> 
     </math> (7)</p>
    <p>To simplify the calculation, we introduce the logarithm into the likelihood function, and obtain:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mtable> 
       <mtr> 
        <mtd> 
         <mi>
           ln 
         </mi> 
         <mi>
           L 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <mrow> 
            <mi>
              y 
            </mi> 
            <mo>
              / 
            </mo> 
            <mi>
              X 
            </mi> 
           </mrow> 
           <mo>
             , 
           </mo> 
           <mi>
             w 
           </mi> 
           <mo>
             , 
           </mo> 
           <msup> 
            <mi>
              σ 
            </mi> 
            <mn>
              2 
            </mn> 
           </msup> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
         <mo>
           = 
         </mo> 
         <mi>
           ln 
         </mi> 
         <mstyle displaystyle="true"> 
          <munderover> 
           <mo>
             ∏ 
           </mo> 
           <mrow> 
            <mi>
              k 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              1 
            </mn> 
           </mrow> 
           <mi>
             N 
           </mi> 
          </munderover> 
         </mstyle> 
         <mrow> 
          <mo>
            [ 
          </mo> 
          <mrow> 
           <mi>
             N 
           </mi> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mrow> 
             <mi>
               g 
             </mi> 
             <mrow> 
              <mo>
                ( 
              </mo> 
              <mrow> 
               <msub> 
                <mi>
                  x 
                </mi> 
                <mi>
                  k 
                </mi> 
               </msub> 
               <mo>
                 , 
               </mo> 
               <mi>
                 w 
               </mi> 
              </mrow> 
              <mo>
                ) 
              </mo> 
             </mrow> 
             <mo>
               , 
             </mo> 
             <msup> 
              <mi>
                δ 
              </mi> 
              <mn>
                2 
              </mn> 
             </msup> 
            </mrow> 
            <mo>
              ) 
            </mo> 
           </mrow> 
          </mrow> 
          <mo>
            ] 
          </mo> 
         </mrow> 
        </mtd> 
       </mtr> 
       <mtr> 
        <mtd> 
         <mo>
           = 
         </mo> 
         <mstyle displaystyle="true"> 
          <munderover> 
           <mo>
             ∑ 
           </mo> 
           <mrow> 
            <mi>
              k 
            </mi> 
            <mo>
              = 
            </mo> 
            <mn>
              1 
            </mn> 
           </mrow> 
           <mi>
             N 
           </mi> 
          </munderover> 
         </mstyle> 
         <mi>
           ln 
         </mi> 
         <mrow> 
          <mo>
            [ 
          </mo> 
          <mrow> 
           <mfrac> 
            <mn>
              1 
            </mn> 
            <mrow> 
             <msqrt> 
              <mrow> 
               <mn>
                 2 
               </mn> 
               <mi>
                 π 
               </mi> 
               <msup> 
                <mi>
                  σ 
                </mi> 
                <mn>
                  2 
                </mn> 
               </msup> 
              </mrow> 
             </msqrt> 
            </mrow> 
           </mfrac> 
           <mi>
             exp 
           </mi> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mrow> 
             <mo>
               − 
             </mo> 
             <mfrac> 
              <mrow> 
               <msub> 
                <mi>
                  y 
                </mi> 
                <mi>
                  k 
                </mi> 
               </msub> 
               <mo>
                 − 
               </mo> 
               <mi>
                 w 
               </mi> 
               <msub> 
                <mi>
                  x 
                </mi> 
                <mi>
                  k 
                </mi> 
               </msub> 
              </mrow> 
              <mrow> 
               <mn>
                 2 
               </mn> 
               <msup> 
                <mi>
                  σ 
                </mi> 
                <mn>
                  2 
                </mn> 
               </msup> 
              </mrow> 
             </mfrac> 
            </mrow> 
            <mo>
              ) 
            </mo> 
           </mrow> 
          </mrow> 
          <mo>
            ] 
          </mo> 
         </mrow> 
        </mtd> 
       </mtr> 
      </mtable> 
     </math> (8)</p>
    <p>Let 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         β 
       </mi> 
       <mo>
         = 
       </mo> 
       <mfrac> 
        <mn>
          1 
        </mn> 
        <mrow> 
         <msup> 
          <mi>
            σ 
          </mi> 
          <mn>
            2 
          </mn> 
         </msup> 
        </mrow> 
       </mfrac> 
      </mrow> 
     </math></p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         ln 
       </mi> 
       <mi>
         L 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mrow> 
          <mi>
            y 
          </mi> 
          <mo>
            / 
          </mo> 
          <mi>
            X 
          </mi> 
         </mrow> 
         <mn>
           , 
         </mn> 
         <mi>
           w 
         </mi> 
         <mn>
           , 
         </mn> 
         <msup> 
          <mi>
            σ 
          </mi> 
          <mn>
            2 
          </mn> 
         </msup> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mfrac> 
        <mi>
          N 
        </mi> 
        <mn>
          2 
        </mn> 
       </mfrac> 
       <mi>
         ln 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mn>
           2 
         </mn> 
         <mi>
           π 
         </mi> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         − 
       </mo> 
       <mfrac> 
        <mi>
          N 
        </mi> 
        <mn>
          2 
        </mn> 
       </mfrac> 
       <mi>
         ln 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          β 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         − 
       </mo> 
       <mfrac> 
        <mi>
          β 
        </mi> 
        <mn>
          2 
        </mn> 
       </mfrac> 
       <mstyle displaystyle="true"> 
        <munder> 
         <mo>
           ∑ 
         </mo> 
         <mrow> 
          <mi>
            k 
          </mi> 
          <mo>
            = 
          </mo> 
          <mn>
            1 
          </mn> 
         </mrow> 
        </munder> 
       </mstyle> 
       <mtext>
           
       </mtext> 
       <mi>
         N 
       </mi> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mrow> 
         <msup> 
          <mrow> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mrow> 
             <mi>
               y 
             </mi> 
             <mo>
               − 
             </mo> 
             <mi>
               f 
             </mi> 
             <mrow> 
              <mo>
                ( 
              </mo> 
              <mrow> 
               <msub> 
                <mi>
                  x 
                </mi> 
                <mi>
                  k 
                </mi> 
               </msub> 
               <mo>
                 , 
               </mo> 
               <mi>
                 w 
               </mi> 
              </mrow> 
              <mo>
                ) 
              </mo> 
             </mrow> 
            </mrow> 
            <mo>
              ) 
            </mo> 
           </mrow> 
          </mrow> 
          <mn>
            2 
          </mn> 
         </msup> 
        </mrow> 
        <mo>
          ] 
        </mo> 
       </mrow> 
      </mrow> 
     </math></p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mo>
         − 
       </mo> 
       <mi>
         ln 
       </mi> 
       <mi>
         L 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mrow> 
          <mi>
            y 
          </mi> 
          <mo>
            / 
          </mo> 
          <mi>
            X 
          </mi> 
         </mrow> 
         <mn>
           , 
         </mn> 
         <mi>
           w 
         </mi> 
         <mn>
           , 
         </mn> 
         <msup> 
          <mi>
            σ 
          </mi> 
          <mn>
            2 
          </mn> 
         </msup> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mfrac> 
        <mi>
          β 
        </mi> 
        <mn>
          2 
        </mn> 
       </mfrac> 
       <mstyle displaystyle="true"> 
        <munder> 
         <mo>
           ∑ 
         </mo> 
         <mrow> 
          <mi>
            k 
          </mi> 
          <mo>
            = 
          </mo> 
          <mn>
            1 
          </mn> 
         </mrow> 
        </munder> 
       </mstyle> 
       <mtext>
           
       </mtext> 
       <mi>
         N 
       </mi> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mrow> 
         <msup> 
          <mrow> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mrow> 
             <mi>
               y 
             </mi> 
             <mo>
               − 
             </mo> 
             <mi>
               f 
             </mi> 
             <mrow> 
              <mo>
                ( 
              </mo> 
              <mrow> 
               <msub> 
                <mi>
                  x 
                </mi> 
                <mi>
                  k 
                </mi> 
               </msub> 
               <mo>
                 , 
               </mo> 
               <mi>
                 w 
               </mi> 
              </mrow> 
              <mo>
                ) 
              </mo> 
             </mrow> 
            </mrow> 
            <mo>
              ) 
            </mo> 
           </mrow> 
          </mrow> 
          <mn>
            2 
          </mn> 
         </msup> 
        </mrow> 
        <mo>
          ] 
        </mo> 
       </mrow> 
       <mo>
         − 
       </mo> 
       <mfrac> 
        <mi>
          N 
        </mi> 
        <mn>
          2 
        </mn> 
       </mfrac> 
       <mi>
         ln 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mn>
           2 
         </mn> 
         <mi>
           π 
         </mi> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         + 
       </mo> 
       <mfrac> 
        <mi>
          N 
        </mi> 
        <mn>
          2 
        </mn> 
       </mfrac> 
       <mi>
         ln 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          β 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> (9)</p>
    <p>Since 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         ln 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mn>
           2 
         </mn> 
         <mi>
           π 
         </mi> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> and 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         ln 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          β 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> are constant, formula (9) can be written as:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mo>
         − 
       </mo> 
       <mi>
         ln 
       </mi> 
       <mi>
         L 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mrow> 
          <mi>
            y 
          </mi> 
          <mo>
            / 
          </mo> 
          <mi>
            X 
          </mi> 
         </mrow> 
         <mn>
           , 
         </mn> 
         <mi>
           w 
         </mi> 
         <mn>
           , 
         </mn> 
         <msup> 
          <mi>
            σ 
          </mi> 
          <mn>
            2 
          </mn> 
         </msup> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mfrac> 
        <mi>
          β 
        </mi> 
        <mn>
          2 
        </mn> 
       </mfrac> 
       <mstyle displaystyle="true"> 
        <munderover> 
         <mo>
           ∑ 
         </mo> 
         <mrow> 
          <mi>
            k 
          </mi> 
          <mo>
            = 
          </mo> 
          <mn>
            1 
          </mn> 
         </mrow> 
         <mi>
           N 
         </mi> 
        </munderover> 
       </mstyle> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mrow> 
         <msup> 
          <mrow> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mrow> 
             <mi>
               y 
             </mi> 
             <mo>
               − 
             </mo> 
             <mi>
               f 
             </mi> 
             <mrow> 
              <mo>
                ( 
              </mo> 
              <mrow> 
               <msub> 
                <mi>
                  x 
                </mi> 
                <mi>
                  k 
                </mi> 
               </msub> 
               <mo>
                 , 
               </mo> 
               <mi>
                 w 
               </mi> 
              </mrow> 
              <mo>
                ) 
              </mo> 
             </mrow> 
            </mrow> 
            <mo>
              ) 
            </mo> 
           </mrow> 
          </mrow> 
          <mn>
            2 
          </mn> 
         </msup> 
        </mrow> 
        <mo>
          ] 
        </mo> 
       </mrow> 
       <mo>
         + 
       </mo> 
       <mtext>
         constant 
       </mtext> 
      </mrow> 
     </math> (10)</p>
    <p>Now, maximizing (-y) is equivalent to minimizing (y). This being the case, formula (10) corresponds exactly to the minimization of deviations obtained by the algebraic approach to formula (4). So the least squares method is the result of the frequentist approach to solving the problem of estimating the parameters of a linear model under the assumption of a normal noise distribution <xref ref-type="bibr" rid="scirp.134643-12">
      [12]
     </xref>. But maximum likelihood estimation of the variance of noise sigma<sup>2</sup> is often underestimated or overestimated <xref ref-type="bibr" rid="scirp.134643-13">
      [13]
     </xref>. If the number of parameters and data evolve simultaneously, or if the density function is not convex, this phenomenon is at the root of overlearning or underlearning, a key property of this approach.</p>
    <p>Having determined the optimal value of the parameters w and 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
        β 
      </mi> 
     </math>, we can now make a prediction for a new value of x. The probability distribution of y knowing 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         x 
       </mi> 
       <mn>
         , 
       </mn> 
       <mi>
         w 
       </mi> 
       <mn>
         , 
       </mn> 
       <mi>
         β 
       </mi> 
      </mrow> 
     </math> can then be formulated as follows:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         P 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           t 
         </mi> 
         <mn> 
          <mo>
            | 
          </mo> 
         </mn> 
         <mi>
           x 
         </mi> 
         <mn>
           , 
         </mn> 
         <msup> 
          <mi>
            w 
          </mi> 
          <mn> 
           <mo>
             * 
           </mo> 
          </mn> 
         </msup> 
         <mn>
           , 
         </mn> 
         <msup> 
          <mi>
            β 
          </mi> 
          <mn> 
           <mo>
             * 
           </mo> 
          </mn> 
         </msup> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mi>
         N 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           t 
         </mi> 
         <mn> 
          <mo>
            | 
          </mo> 
         </mn> 
         <mi>
           y 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <mi>
             x 
           </mi> 
           <mn>
             , 
           </mn> 
           <msup> 
            <mi>
              w 
            </mi> 
            <mn> 
             <mo>
               * 
             </mo> 
            </mn> 
           </msup> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
         <mn>
           , 
         </mn> 
         <msup> 
          <mi>
            β 
          </mi> 
          <mrow> 
           <mo>
             − 
           </mo> 
           <mn>
             1 
           </mn> 
          </mrow> 
         </msup> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> (11)</p>
    <p>This approach provides good results when we have a large quantity of data and the relationship between the variables x and y are linear. But when the sample size is very small, it can lead to overlearning and poor prediction results <xref ref-type="bibr" rid="scirp.134643-1">
      [1]
     </xref>. That’s why another approach is possible in such circumstances.</p>
    <p>In practice, we’ll be using python’s scikit-learn package for least-squares parameter estimation.</p>
   </sec>
   <sec id="s3_2">
    <title>3.2. Hypothesis and Limitations of Using Least Squares</title>
    <p>The least-squares approach produces good results when the properties contained in the data exist, including linearity, independence of observations, constant variance of the error term and normality of the latter. However, this method can be ineffective if the data sample contains outliers, multicollinearity between variables and small data size. The latter characteristic results in overfitting.</p>
   </sec>
   <sec id="s3_3">
    <title>3.3. Parameter Estimation Using the Bayesian Approach</title>
    <p>We can also take a Bayesian approach to parameter estimation. In this case, it is important to define an a priori probability for the parameters and an a posteriori probability obtained by Bayes’ theorem. The maximum a posteriori method will be used to incorporate the a priori distribution into parameter estimation.</p>
    <p>The a priori probability distribution on the parameters is the probability on the parameters before having observed the data. It will be denoted by</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         P 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           w 
         </mi> 
         <mn> 
          <mo>
            | 
          </mo> 
         </mn> 
         <mtext>
           alpha 
         </mtext> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mi>
         N 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mn>
           0, 
         </mn> 
         <msup> 
          <mi>
            α 
          </mi> 
          <mrow> 
           <mo>
             − 
           </mo> 
           <mn>
             1 
           </mn> 
          </mrow> 
         </msup> 
         <mi>
           I 
         </mi> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>.</p>
    <p>The a posteriori distribution is an update of the beliefs or parameter distribution after taking into account the a priori distribution and the observed data. Using Bayes’ theorem, we can express it as follows:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         P 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           w 
         </mi> 
         <mn> 
          <mo>
            | 
          </mo> 
         </mn> 
         <mi>
           X 
         </mi> 
         <mn>
           , 
         </mn> 
         <mi>
           α 
         </mi> 
         <mn>
           , 
         </mn> 
         <msup> 
          <mi>
            β 
          </mi> 
          <mrow> 
           <mo>
             − 
           </mo> 
           <mn>
             1 
           </mn> 
          </mrow> 
         </msup> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mfrac> 
        <mrow> 
         <mi>
           L 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <mrow> 
            <mi>
              Y 
            </mi> 
            <mo>
              / 
            </mo> 
            <mi>
              X 
            </mi> 
           </mrow> 
           <mn>
             , 
           </mn> 
           <mi>
             w 
           </mi> 
           <mn>
             , 
           </mn> 
           <msup> 
            <mi>
              β 
            </mi> 
            <mrow> 
             <mo>
               − 
             </mo> 
             <mn>
               1 
             </mn> 
            </mrow> 
           </msup> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
         <mo>
           ⋅ 
         </mo> 
         <mi>
           P 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <mi>
             w 
           </mi> 
           <mn> 
            <mo>
              | 
            </mo> 
           </mn> 
           <mi>
             α 
           </mi> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mrow> 
         <mi>
           P 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <mrow> 
            <mi>
              Y 
            </mi> 
            <mo>
              / 
            </mo> 
            <mi>
              X 
            </mi> 
           </mrow> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
       </mfrac> 
      </mrow> 
     </math></p>
    <p>The a posteriori distribution is directly proportional to the a priori distribution and likelihood.</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         P 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           w 
         </mi> 
         <mn> 
          <mo>
            | 
          </mo> 
         </mn> 
         <mi>
           X 
         </mi> 
         <mn>
           , 
         </mn> 
         <mi>
           α 
         </mi> 
         <mn>
           , 
         </mn> 
         <msup> 
          <mi>
            β 
          </mi> 
          <mrow> 
           <mo>
             − 
           </mo> 
           <mn>
             1 
           </mn> 
          </mrow> 
         </msup> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         ∝ 
       </mo> 
       <mi>
         L 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mrow> 
          <mi>
            Y 
          </mi> 
          <mo>
            / 
          </mo> 
          <mi>
            X 
          </mi> 
         </mrow> 
         <mn>
           , 
         </mn> 
         <mi>
           w 
         </mi> 
         <mn>
           , 
         </mn> 
         <msup> 
          <mi>
            β 
          </mi> 
          <mrow> 
           <mo>
             − 
           </mo> 
           <mn>
             1 
           </mn> 
          </mrow> 
         </msup> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         ⋅ 
       </mo> 
       <mi>
         P 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           w 
         </mi> 
         <mn> 
          <mo>
            | 
          </mo> 
         </mn> 
         <mi>
           α 
         </mi> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math></p>
    <p>We can thus determine w by looking for the most probable value of w given the observed data, i.e. by maximum a posteriori (MAP). By introducing the logarithm into formula (11), we obtain:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msup> 
        <mi>
          w 
        </mi> 
        <mo>
          * 
        </mo> 
       </msup> 
       <mo>
         = 
       </mo> 
       <mi>
         ln 
       </mi> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mrow> 
         <mi>
           L 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <mi>
             Y 
           </mi> 
           <mo>
             | 
           </mo> 
           <mi>
             X 
           </mi> 
           <mo>
             , 
           </mo> 
           <mi>
             w 
           </mi> 
           <mo>
             , 
           </mo> 
           <msup> 
            <mi>
              β 
            </mi> 
            <mrow> 
             <mo>
               − 
             </mo> 
             <mn>
               1 
             </mn> 
            </mrow> 
           </msup> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mo>
          ] 
        </mo> 
       </mrow> 
       <mi>
         P 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           w 
         </mi> 
         <mo>
           | 
         </mo> 
         <mi>
           α 
         </mi> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math></p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msup> 
        <mi>
          w 
        </mi> 
        <mo>
          * 
        </mo> 
       </msup> 
       <mo>
         = 
       </mo> 
       <mi>
         ln 
       </mi> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mrow> 
         <mi>
           L 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <mi>
             Y 
           </mi> 
           <mo>
             | 
           </mo> 
           <mi>
             X 
           </mi> 
           <mo>
             , 
           </mo> 
           <mi>
             w 
           </mi> 
           <mo>
             , 
           </mo> 
           <msup> 
            <mi>
              β 
            </mi> 
            <mrow> 
             <mo>
               − 
             </mo> 
             <mn>
               1 
             </mn> 
            </mrow> 
           </msup> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mo>
          ] 
        </mo> 
       </mrow> 
       <mi>
         N 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mn>
           0 
         </mn> 
         <mo>
           , 
         </mo> 
         <msup> 
          <mi>
            α 
          </mi> 
          <mrow> 
           <mo>
             − 
           </mo> 
           <mn>
             1 
           </mn> 
          </mrow> 
         </msup> 
         <mi>
           I 
         </mi> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math></p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msup> 
        <mi>
          w 
        </mi> 
        <mo>
          * 
        </mo> 
       </msup> 
       <mo>
         = 
       </mo> 
       <mi>
         ln 
       </mi> 
       <mrow> 
        <mo>
          [ 
        </mo> 
        <mrow> 
         <mi>
           L 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <mi>
             Y 
           </mi> 
           <mo>
             | 
           </mo> 
           <mi>
             X 
           </mi> 
           <mo>
             , 
           </mo> 
           <mi>
             w 
           </mi> 
           <mo>
             , 
           </mo> 
           <msup> 
            <mi>
              β 
            </mi> 
            <mrow> 
             <mo>
               − 
             </mo> 
             <mn>
               1 
             </mn> 
            </mrow> 
           </msup> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mo>
          ] 
        </mo> 
       </mrow> 
       <mo>
         + 
       </mo> 
       <mi>
         ln 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           N 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <mn>
             0 
           </mn> 
           <mo>
             , 
           </mo> 
           <msup> 
            <mi>
              α 
            </mi> 
            <mrow> 
             <mo>
               − 
             </mo> 
             <mn>
               1 
             </mn> 
            </mrow> 
           </msup> 
           <mi>
             I 
           </mi> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math></p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msup> 
        <mi>
          w 
        </mi> 
        <mo>
          * 
        </mo> 
       </msup> 
       <mo>
         = 
       </mo> 
       <mo>
         − 
       </mo> 
       <mfrac> 
        <mi>
          β 
        </mi> 
        <mn>
          2 
        </mn> 
       </mfrac> 
       <mstyle displaystyle="true"> 
        <munderover> 
         <mo>
           ∑ 
         </mo> 
         <mrow> 
          <mi>
            k 
          </mi> 
          <mo>
            = 
          </mo> 
          <mn>
            1 
          </mn> 
         </mrow> 
         <mi>
           N 
         </mi> 
        </munderover> 
       </mstyle> 
       <msup> 
        <mrow> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <mi>
             y 
           </mi> 
           <mo>
             − 
           </mo> 
           <mi>
             g 
           </mi> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mrow> 
             <msub> 
              <mi>
                x 
              </mi> 
              <mi>
                k 
              </mi> 
             </msub> 
             <mo>
               , 
             </mo> 
             <mi>
               w 
             </mi> 
            </mrow> 
            <mo>
              ) 
            </mo> 
           </mrow> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mn>
          2 
        </mn> 
       </msup> 
       <mo>
         + 
       </mo> 
       <mfrac> 
        <mi>
          α 
        </mi> 
        <mn>
          2 
        </mn> 
       </mfrac> 
       <msup> 
        <mi>
          w 
        </mi> 
        <mtext>
          T 
        </mtext> 
       </msup> 
       <mi>
         w 
       </mi> 
      </mrow> 
     </math></p>
    <p>If we refer to Equation (1), Formula (13) becomes:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mo>
         − 
       </mo> 
       <mfrac> 
        <mi>
          β 
        </mi> 
        <mn>
          2 
        </mn> 
       </mfrac> 
       <mstyle displaystyle="true"> 
        <munderover> 
         <mo>
           ∑ 
         </mo> 
         <mrow> 
          <mi>
            k 
          </mi> 
          <mo>
            = 
          </mo> 
          <mn>
            1 
          </mn> 
         </mrow> 
         <mi>
           N 
         </mi> 
        </munderover> 
       </mstyle> 
       <msup> 
        <mrow> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <mi>
             y 
           </mi> 
           <mo>
             − 
           </mo> 
           <msup> 
            <mi>
              w 
            </mi> 
            <mtext>
              T 
            </mtext> 
           </msup> 
           <mi>
             ϕ 
           </mi> 
           <mrow> 
            <mo>
              ( 
            </mo> 
            <mrow> 
             <msub> 
              <mi>
                x 
              </mi> 
              <mi>
                k 
              </mi> 
             </msub> 
            </mrow> 
            <mo>
              ) 
            </mo> 
           </mrow> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mn>
          2 
        </mn> 
       </msup> 
       <mo>
         + 
       </mo> 
       <mfrac> 
        <mi>
          α 
        </mi> 
        <mn>
          2 
        </mn> 
       </mfrac> 
       <msup> 
        <mi>
          w 
        </mi> 
        <mtext>
          T 
        </mtext> 
       </msup> 
       <mi>
         w 
       </mi> 
      </mrow> 
     </math></p>
    <p>With 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         ϕ 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          x 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> a basis function that transforms the initial sample data so that a linear model can be used in the problem formulation. We also note that maximizing the posterior probability is equivalent to minimizing the sum of squared regularized errors.</p>
    <p>This has the effect of reducing the phenomenon of overfitting observed in the frequentist approach. Probabilities thus prove to be a powerful tool for estimating the parameters of a linear model.</p>
    <p>Formula (15) is used to make a point estimate of the w parameter values. It corresponds to the Ridge regression of L<sub>2</sub>. When the error distribution follows a Laplace distribution in formula 14, we obtain the Ridge regression of L<sub>1</sub> <xref ref-type="bibr" rid="scirp.134643-3">
      [3]
     </xref>. But if we want to make an estimate in terms of an interval, we’ll use Bayes’ approach in all its completeness, taking into account the multiplication and sum rule in probability.</p>
    <p>This involves representing (15) as a probability distribution. This distribution is the predictive distribution. Consider X and 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
        y 
      </mi> 
     </math> the training data. Given a new point x, the task is to predict the value y. We need to formulate and calculate the expression 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         P 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           y 
         </mi> 
         <mn> 
          <mo>
            | 
          </mo> 
         </mn> 
         <mi>
           x 
         </mi> 
         <mn>
           , 
         </mn> 
         <mi>
           X 
         </mi> 
         <mn>
           , 
         </mn> 
         <mi>
           y 
         </mi> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>. The parameters 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
        α 
      </mi> 
     </math> and 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mi>
        β 
      </mi> 
     </math> are known in advance, as they can be calculated from the data.</p>
    <p>The predictive probability distribution is given by applying Bayes’ theorem using the multiplication and sum rule in probability theory:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         P 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           y 
         </mi> 
         <mn> 
          <mo>
            | 
          </mo> 
         </mn> 
         <mi>
           x 
         </mi> 
         <mn>
           , 
         </mn> 
         <mi>
           X 
         </mi> 
         <mn>
           , 
         </mn> 
         <mi>
           y 
         </mi> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mstyle displaystyle="true"> 
        <mrow> 
         <mo>
           ∫ 
         </mo> 
         <mrow> 
          <mi>
            P 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <mi>
              y 
            </mi> 
            <mn> 
             <mo>
               | 
             </mo> 
            </mn> 
            <mi>
              x 
            </mi> 
            <mn>
              , 
            </mn> 
            <mi>
              w 
            </mi> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
          <mi>
            P 
          </mi> 
          <mrow> 
           <mo>
             ( 
           </mo> 
           <mrow> 
            <mi>
              w 
            </mi> 
            <mn> 
             <mo>
               | 
             </mo> 
            </mn> 
            <mi>
              X 
            </mi> 
            <mn>
              , 
            </mn> 
            <mi>
              y 
            </mi> 
           </mrow> 
           <mo>
             ) 
           </mo> 
          </mrow> 
          <mtext>
            d 
          </mtext> 
          <mi>
            w 
          </mi> 
         </mrow> 
        </mrow> 
       </mstyle> 
      </mrow> 
     </math> (12)</p>
    <p>This expression can be calculated analytically by:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         P 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           y 
         </mi> 
         <mn> 
          <mo>
            | 
          </mo> 
         </mn> 
         <mi>
           x 
         </mi> 
         <mn>
           , 
         </mn> 
         <mi>
           X 
         </mi> 
         <mn>
           , 
         </mn> 
         <mi>
           y 
         </mi> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mi>
         N 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           y 
         </mi> 
         <mn> 
          <mo>
            | 
          </mo> 
         </mn> 
         <mi>
           m 
         </mi> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mi>
            x 
          </mi> 
          <mo>
            ) 
          </mo> 
         </mrow> 
         <mn>
           , 
         </mn> 
         <msup> 
          <mi>
            s 
          </mi> 
          <mn>
            2 
          </mn> 
         </msup> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mi>
            x 
          </mi> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> (13)</p>
    <p>The probability distribution 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         P 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           y 
         </mi> 
         <mn> 
          <mo>
            | 
          </mo> 
         </mn> 
         <mi>
           x 
         </mi> 
         <mn>
           , 
         </mn> 
         <mi>
           X 
         </mi> 
         <mn>
           , 
         </mn> 
         <mi>
           y 
         </mi> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> is equivalent to 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         P 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mi>
           w 
         </mi> 
         <mn> 
          <mo>
            | 
          </mo> 
         </mn> 
         <mi>
           y 
         </mi> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math>.</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         m 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          x 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mo>
         = 
       </mo> 
       <mi>
         β 
       </mi> 
       <mi>
         ϕ 
       </mi> 
       <msup> 
        <mrow> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mi>
            x 
          </mi> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mtext>
          T 
        </mtext> 
       </msup> 
       <mi>
         S 
       </mi> 
       <mstyle displaystyle="true"> 
        <munderover> 
         <mo>
           ∑ 
         </mo> 
         <mrow> 
          <mi>
            n 
          </mi> 
          <mo>
            = 
          </mo> 
          <mn>
            1 
          </mn> 
         </mrow> 
         <mi>
           N 
         </mi> 
        </munderover> 
       </mstyle> 
       <mtext>
           
       </mtext> 
       <mi>
         ϕ 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mi>
            n 
          </mi> 
         </msub> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <msub> 
        <mi>
          y 
        </mi> 
        <mi>
          n 
        </mi> 
       </msub> 
      </mrow> 
     </math> (14)</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msup> 
        <mi>
          s 
        </mi> 
        <mn>
          2 
        </mn> 
       </msup> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          x 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mn> 
        <mo>
          = 
        </mo> 
       </mn> 
       <msup> 
        <mi>
          β 
        </mi> 
        <mrow> 
         <mo>
           − 
         </mo> 
         <mn>
           1 
         </mn> 
        </mrow> 
       </msup> 
       <mo>
         + 
       </mo> 
       <mi>
         ϕ 
       </mi> 
       <msup> 
        <mrow> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mi>
            x 
          </mi> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mtext>
          T 
        </mtext> 
       </msup> 
       <mi>
         S 
       </mi> 
       <mi>
         ϕ 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mi>
          x 
        </mi> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> (15)</p>
    <p>With the matrix S equal to:</p>
    <p>
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msup> 
        <mi>
          S 
        </mi> 
        <mrow> 
         <mo>
           − 
         </mo> 
         <mn>
           1 
         </mn> 
        </mrow> 
       </msup> 
       <mo>
         = 
       </mo> 
       <mi>
         α 
       </mi> 
       <mi>
         I 
       </mi> 
       <mo>
         + 
       </mo> 
       <mi>
         β 
       </mi> 
       <mstyle displaystyle="true"> 
        <munderover> 
         <mo>
           ∑ 
         </mo> 
         <mrow> 
          <mi>
            n 
          </mi> 
          <mo>
            = 
          </mo> 
          <mn>
            1 
          </mn> 
         </mrow> 
         <mi>
           N 
         </mi> 
        </munderover> 
       </mstyle> 
       <mtext>
           
       </mtext> 
       <mi>
         ϕ 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <msub> 
          <mi>
            x 
          </mi> 
          <mi>
            n 
          </mi> 
         </msub> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
       <mi>
         ϕ 
       </mi> 
       <msup> 
        <mrow> 
         <mrow> 
          <mo>
            ( 
          </mo> 
          <mrow> 
           <msub> 
            <mi>
              x 
            </mi> 
            <mi>
              n 
            </mi> 
           </msub> 
          </mrow> 
          <mo>
            ) 
          </mo> 
         </mrow> 
        </mrow> 
        <mtext>
          T 
        </mtext> 
       </msup> 
      </mrow> 
     </math> (16)</p>
    <p>Applying Bayes’ approach to estimating the parameters of a linear model yields the same results as minimizing the variance of the regularized errors. But the Bayes approach has the advantage of using only the training sample <xref ref-type="bibr" rid="scirp.134643-1">
      [1]
     </xref>. Given a small sample size and prior knowledge of the parameter distribution, it gives excellent results. Minimization by the regularized error function requires another validation sample for hyper-parameter optimization <xref ref-type="bibr" rid="scirp.134643-14">
      [14]
     </xref>.</p>
    <p>In practice, the Monte Carlo Chain Markov algorithm and the variational inference algorithm, which we won’t be presenting here, are available for estimating the probability a posteriori. These two algorithms can be used to approximate the integral of formula (16). In Python, they are contained in the pycm3 and Bayepy packages respectively.</p>
   </sec>
   <sec id="s3_4">
    <title>3.4. Hypothesis and Limitations of Using the Bayesian Approach</title>
    <p>The following assumptions must be met in order to use the Bayes approach:</p>
    <p>The results of the Bayesian approach can be sensitive to the choice of a priori distributions. Inappropriate a priori specifications can lead to biased estimates. This approach is also influenced by outliers if the a priori specifications are not well chosen.</p>
   </sec>
   <sec id="s3_5">
    <title>3.5. Comparative Summary of the Two Approaches</title>
    <p>
     <xref ref-type="table" rid="table1">
      Table 1
     </xref> presents the advantages and disadvantages of the two approaches, after having elucidated the characteristics of each of them.</p>
    <table-wrap id="table1">
     <label>
      <xref ref-type="table" rid="table1">
       Table 1
      </xref></label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.134643-"></xref>Table 1. Comparative summary of the two approaches.</title>
     </caption>
     <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
      <tr> 
       <td class="custom-bottom-td acenter" width="17.02%"><p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="41.49%"><p style="text-align:center">Advantages</p></td> 
       <td class="custom-bottom-td acenter" width="41.49%"><p style="text-align:center">Disadvantages</p></td> 
      </tr> 
      <tr> 
       <td class="custom-top-td acenter" width="17.02%"><p style="text-align:center">Bayesian approach</p></td> 
       <td class="custom-top-td acenter" width="41.49%"><p style="text-align:center">When data size is reduced <xref ref-type="bibr" rid="scirp.134643-10">
          [10]
         </xref>;</p></td> 
       <td class="custom-top-td acenter" width="41.49%"><p style="text-align:center">Model inference can be time-consuming;</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="17.02%"><p style="text-align:center"></p></td> 
       <td class="acenter" width="41.49%"><p style="text-align:center">When a priori knowledge of parameter distributions is available <xref ref-type="bibr" rid="scirp.134643-11">
          [11]
         </xref>;</p></td> 
       <td class="acenter" width="41.49%"><p style="text-align:center">The Bayesian method can lead to poor results if a wrong choice has been made on the a priori distribution.</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="17.02%"><p style="text-align:center"></p></td> 
       <td class="acenter" width="41.49%"><p style="text-align:center">To quantify the uncertainty of estimates <xref ref-type="bibr" rid="scirp.134643-8">
          [8]
         </xref>;</p></td> 
       <td class="acenter" width="41.49%"><p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="17.02%"><p style="text-align:center"></p></td> 
       <td class="acenter" width="41.49%"><p style="text-align:center">When data is heterogeneous or has complex structures;</p></td> 
       <td class="acenter" width="41.49%"><p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="custom-bottom-td acenter" width="17.02%"><p style="text-align:center"></p></td> 
       <td class="custom-bottom-td acenter" width="41.49%"><p style="text-align:center">Suitable for e-learning that doesn’t require full data storage <xref ref-type="bibr" rid="scirp.134643-13">
          [13]
         </xref>.</p></td> 
       <td class="custom-bottom-td acenter" width="41.49%"><p style="text-align:center"></p></td> 
      </tr> 
      <tr> 
       <td class="custom-top-td acenter" width="17.02%"><p style="text-align:center">Frequentist approach</p></td> 
       <td class="custom-top-td acenter" width="41.49%"><p style="text-align:center">When data size is large <xref ref-type="bibr" rid="scirp.134643-9">
          [9]
         </xref>;</p></td> 
       <td class="custom-top-td acenter" width="41.49%"><p style="text-align:center">Overfitting in the case of small amounts of data;</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="17.02%"><p style="text-align:center"></p></td> 
       <td class="acenter" width="41.49%"><p style="text-align:center">Suitable for batch learning <xref ref-type="bibr" rid="scirp.134643-13">
          [13]
         </xref>;</p></td> 
       <td class="acenter" width="41.49%"><p style="text-align:center">Based solely on data and not on other sources of knowledge;</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="17.02%"><p style="text-align:center"></p></td> 
       <td class="acenter" width="41.49%"><p style="text-align:center">When errors follow a normal distribution.</p></td> 
       <td class="acenter" width="41.49%"><p style="text-align:center">Makes a point estimate and does not quantify uncertainties in the estimated values.</p></td> 
      </tr> 
     </table>
    </table-wrap>
   </sec>
  </sec><sec id="s4">
   <title>4. Méthodologie</title>
   <p>Predictive analysis is the final step in a modeling study. To get there, there are several other preliminary steps, such as cleaning, transformations, visualization, etc., which are carried out on the data <xref ref-type="bibr" rid="scirp.134643-14">
     [14]
    </xref>. For this reason, we will use a simulation example to randomly generate a sample of data with two input variables 
    <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         x 
       </mi> 
       <mi>
         i 
       </mi> 
      </msub> 
     </mrow> 
    </math> and one output variable y. The two variables must follow different laws of probability for them to be decorrelated.</p>
   <p>The values of y will be obtained from the assumption of a linear model existing between the latter and the input variables, to which a small random value will be added.</p>
   <p>[language = Python]</p>
   <p>np.random.seed (0)</p>
   <p>X1 = np.linspace (0, 10, 500)</p>
   <p>X2 = np.random.normal (2, 10, size = 500)</p>
   <p>true_beta0 = 4</p>
   <p>true_beta1 = 2</p>
   <p>true_beta2 = 5</p>
   <p>Y = true_beta0 + true_beta1 * X1 + true_beta2 * X2+ np.random.normal (0, 1, size = 500)</p>
   <p>X = pandas. DataFrame (‘X1’: X1, ’X2’:X2, columns = [‘X1’, ’X2’])</p>
   <p>Then we’ll proceed in two stages:</p>
   <p>Each time, the calculated parameter values will be compared with the true known values, which are assumed to have generated the sample.</p>
   <p>Consider the following model:</p>
   <p>
    <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         y 
       </mi> 
       <mi>
         i 
       </mi> 
      </msub> 
      <mo>
        = 
      </mo> 
      <msub> 
       <mi>
         β 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
      <mo>
        + 
      </mo> 
      <msub> 
       <mi>
         β 
       </mi> 
       <mn>
         1 
       </mn> 
      </msub> 
      <msub> 
       <mi>
         x 
       </mi> 
       <mn>
         1 
       </mn> 
      </msub> 
      <mo>
        + 
      </mo> 
      <msub> 
       <mi>
         β 
       </mi> 
       <mn>
         2 
       </mn> 
      </msub> 
      <msub> 
       <mi>
         x 
       </mi> 
       <mn>
         2 
       </mn> 
      </msub> 
      <mo>
        + 
      </mo> 
      <msub> 
       <mi>
         ε 
       </mi> 
       <mi>
         i 
       </mi> 
      </msub> 
     </mrow> 
    </math> (17)</p>
   <p>with 
    <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <msub> 
       <mi>
         β 
       </mi> 
       <mn>
         0 
       </mn> 
      </msub> 
      <mo>
        = 
      </mo> 
      <mn>
        4 
      </mn> 
      <mo>
        , 
      </mo> 
      <mtext>
          
      </mtext> 
      <msub> 
       <mi>
         β 
       </mi> 
       <mn>
         1 
       </mn> 
      </msub> 
      <mo>
        = 
      </mo> 
      <mn>
        2 
      </mn> 
      <mo>
        , 
      </mo> 
      <mtext>
          
      </mtext> 
      <msub> 
       <mi>
         β 
       </mi> 
       <mn>
         2 
       </mn> 
      </msub> 
      <mo>
        = 
      </mo> 
      <mn>
        5 
      </mn> 
     </mrow> 
    </math>, 
    <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        ε 
      </mi> 
      <mo>
        ~ 
      </mo> 
      <mi mathvariant="script">
        N 
      </mi> 
      <mrow> 
       <mo>
         ( 
       </mo> 
       <mrow> 
        <mn>
          0,1 
        </mn> 
       </mrow> 
       <mo>
         ) 
       </mo> 
      </mrow> 
     </mrow> 
    </math>.</p>
   <p>Formula (21) can be implemented using previous python code and generates a sample of the data.</p>
   <p>On the other hand, we’ll take the same approach by considering the estimation of the function 
    <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
      <mi>
        sin 
      </mi> 
      <mi>
        x 
      </mi> 
      <mo>
        + 
      </mo> 
      <mi>
        ε 
      </mi> 
     </mrow> 
    </math> by a polynomial function, which is also a linear form with respect to its parameters. This example can also be found in <xref ref-type="bibr" rid="scirp.134643-13">
     [13]
    </xref>.</p>
  </sec><sec id="s5">
   <title>5. Comparison of the Two Approaches</title>
   <sec id="s5_1">
    <title>5.1. Results Presentation</title>
    <p>We’re going to estimate the parameters of a linear model using least squares on the one hand, and the Bayesian approach on the other. To do this, we have chosen to use the Python language. The sklearn package will be used to implement least squares, while the pymc3 and Bayespy packages will be used to implement the Bayesian approach.</p>
    <p>Let’s consider formula (21) and estimate the parameters. Here are the results:</p>
    <table-wrap id="table2">
     <label>
      <xref ref-type="table" rid="table2">
       Table 2
      </xref></label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.134643-"></xref>Table 2. Comparison results with reduced size.</title>
     </caption>
     <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
      <tr> 
       <td class="custom-bottom-td acenter" width="31.51%" colspan="4"><p style="text-align:center">Least squares</p></td> 
       <td class="custom-bottom-td acenter" width="22.83%" colspan="3"><p style="text-align:center">Regression Ridge</p></td> 
       <td class="custom-bottom-td acenter" width="22.83%" colspan="3"><p style="text-align:center">MCMC</p></td> 
       <td class="custom-bottom-td acenter" width="22.83%" colspan="3"><p style="text-align:center">BayesPy</p></td> 
      </tr> 
      <tr> 
       <td class="custom-bottom-td custom-top-td acenter" width="8.65%"><p style="text-align:center">Size</p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="7.62%"><p style="text-align:center"> 
         <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
           <msub> 
            <mi>
              β 
            </mi> 
            <mn>
              0 
            </mn> 
           </msub> 
          </mrow> 
         </math></p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="7.62%"><p style="text-align:center"> 
         <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
           <msub> 
            <mi>
              β 
            </mi> 
            <mn>
              1 
            </mn> 
           </msub> 
          </mrow> 
         </math></p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="7.62%"><p style="text-align:center"> 
         <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
           <msub> 
            <mi>
              β 
            </mi> 
            <mn>
              2 
            </mn> 
           </msub> 
          </mrow> 
         </math></p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="7.61%"><p style="text-align:center"> 
         <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
           <msub> 
            <mi>
              β 
            </mi> 
            <mn>
              0 
            </mn> 
           </msub> 
          </mrow> 
         </math></p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="7.61%"><p style="text-align:center"> 
         <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
           <msub> 
            <mi>
              β 
            </mi> 
            <mn>
              1 
            </mn> 
           </msub> 
          </mrow> 
         </math></p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="7.61%"><p style="text-align:center"> 
         <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
           <msub> 
            <mi>
              β 
            </mi> 
            <mn>
              2 
            </mn> 
           </msub> 
          </mrow> 
         </math></p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="7.61%"><p style="text-align:center"> 
         <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
           <msub> 
            <mi>
              β 
            </mi> 
            <mn>
              0 
            </mn> 
           </msub> 
          </mrow> 
         </math></p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="7.61%"><p style="text-align:center"> 
         <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
           <msub> 
            <mi>
              β 
            </mi> 
            <mn>
              1 
            </mn> 
           </msub> 
          </mrow> 
         </math></p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="7.61%"><p style="text-align:center"> 
         <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
           <msub> 
            <mi>
              β 
            </mi> 
            <mn>
              2 
            </mn> 
           </msub> 
          </mrow> 
         </math></p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="7.61%"><p style="text-align:center"> 
         <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
           <msub> 
            <mi>
              β 
            </mi> 
            <mn>
              0 
            </mn> 
           </msub> 
          </mrow> 
         </math></p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="7.61%"><p style="text-align:center"> 
         <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
           <msub> 
            <mi>
              β 
            </mi> 
            <mn>
              1 
            </mn> 
           </msub> 
          </mrow> 
         </math></p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="7.61%"><p style="text-align:center"> 
         <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
           <msub> 
            <mi>
              β 
            </mi> 
            <mn>
              2 
            </mn> 
           </msub> 
          </mrow> 
         </math></p></td> 
      </tr> 
      <tr> 
       <td class="custom-top-td acenter" width="8.65%"><p style="text-align:center">N = 5</p></td> 
       <td class="custom-top-td acenter" width="7.62%"><p style="text-align:center">4.63</p></td> 
       <td class="custom-top-td acenter" width="7.62%"><p style="text-align:center">1.88</p></td> 
       <td class="custom-top-td acenter" width="7.62%"><p style="text-align:center">6.98</p></td> 
       <td class="custom-top-td acenter" width="7.61%"><p style="text-align:center">4.89</p></td> 
       <td class="custom-top-td acenter" width="7.61%"><p style="text-align:center">1.85</p></td> 
       <td class="custom-top-td acenter" width="7.61%"><p style="text-align:center">6.97</p></td> 
       <td class="custom-top-td acenter" width="7.61%"><p style="text-align:center">4.55</p></td> 
       <td class="custom-top-td acenter" width="7.61%"><p style="text-align:center">1.90</p></td> 
       <td class="custom-top-td acenter" width="7.61%"><p style="text-align:center">6.98</p></td> 
       <td class="custom-top-td acenter" width="7.61%"><p style="text-align:center">4.63</p></td> 
       <td class="custom-top-td acenter" width="7.61%"><p style="text-align:center">1.88</p></td> 
       <td class="custom-top-td acenter" width="7.61%"><p style="text-align:center">6.98</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="8.65%"><p style="text-align:center">N = 15</p></td> 
       <td class="acenter" width="7.62%"><p style="text-align:center">3.83</p></td> 
       <td class="acenter" width="7.62%"><p style="text-align:center">2.01</p></td> 
       <td class="acenter" width="7.62%"><p style="text-align:center">7.02</p></td> 
       <td class="acenter" width="7.61%"><p style="text-align:center">3.98</p></td> 
       <td class="acenter" width="7.61%"><p style="text-align:center">1.99</p></td> 
       <td class="acenter" width="7.61%"><p style="text-align:center">7.01</p></td> 
       <td class="acenter" width="7.61%"><p style="text-align:center">3.84</p></td> 
       <td class="acenter" width="7.61%"><p style="text-align:center">2.01</p></td> 
       <td class="acenter" width="7.61%"><p style="text-align:center">7.02</p></td> 
       <td class="acenter" width="7.61%"><p style="text-align:center">3.83</p></td> 
       <td class="acenter" width="7.61%"><p style="text-align:center">2.01</p></td> 
       <td class="acenter" width="7.61%"><p style="text-align:center">7.02</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="8.65%"><p style="text-align:center">N = 30</p></td> 
       <td class="acenter" width="7.62%"><p style="text-align:center">4.15</p></td> 
       <td class="acenter" width="7.62%"><p style="text-align:center">2.02</p></td> 
       <td class="acenter" width="7.62%"><p style="text-align:center">7.00</p></td> 
       <td class="acenter" width="7.61%"><p style="text-align:center">4.20</p></td> 
       <td class="acenter" width="7.61%"><p style="text-align:center">2.01</p></td> 
       <td class="acenter" width="7.61%"><p style="text-align:center">7.00</p></td> 
       <td class="acenter" width="7.61%"><p style="text-align:center">4.14</p></td> 
       <td class="acenter" width="7.61%"><p style="text-align:center">2.02</p></td> 
       <td class="acenter" width="7.61%"><p style="text-align:center">7.00</p></td> 
       <td class="acenter" width="7.61%"><p style="text-align:center">4.15</p></td> 
       <td class="acenter" width="7.61%"><p style="text-align:center">2.02</p></td> 
       <td class="acenter" width="7.61%"><p style="text-align:center">7.00</p></td> 
      </tr> 
     </table>
    </table-wrap>
    <table-wrap id="table3">
     <label>
      <xref ref-type="table" rid="table3">
       Table 3
      </xref></label>
     <caption>
      <title>
       <xref ref-type="bibr" rid="scirp.134643-"></xref>Table 3. Comparison results with large size.</title>
     </caption>
     <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
      <tr> 
       <td class="custom-bottom-td acenter" width="31.45%" colspan="4"><p style="text-align:center">Least square</p></td> 
       <td class="custom-bottom-td acenter" width="21.86%" colspan="3"><p style="text-align:center">Regression Ridge</p></td> 
       <td class="custom-bottom-td acenter" width="21.86%" colspan="3"><p style="text-align:center">MCMC</p></td> 
       <td class="custom-bottom-td acenter" width="21.86%" colspan="3"><p style="text-align:center">BayesPy</p></td> 
      </tr> 
      <tr> 
       <td class="custom-bottom-td custom-top-td acenter" width="9.61%"><p style="text-align:center">Taille</p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="7.28%"><p style="text-align:center"> 
         <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
           <msub> 
            <mi>
              β 
            </mi> 
            <mn>
              0 
            </mn> 
           </msub> 
          </mrow> 
         </math></p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="7.28%"><p style="text-align:center"> 
         <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
           <msub> 
            <mi>
              β 
            </mi> 
            <mn>
              1 
            </mn> 
           </msub> 
          </mrow> 
         </math></p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="7.29%"><p style="text-align:center"> 
         <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
           <msub> 
            <mi>
              β 
            </mi> 
            <mn>
              2 
            </mn> 
           </msub> 
          </mrow> 
         </math></p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="7.29%"><p style="text-align:center"> 
         <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
           <msub> 
            <mi>
              β 
            </mi> 
            <mn>
              0 
            </mn> 
           </msub> 
          </mrow> 
         </math></p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="7.29%"><p style="text-align:center"> 
         <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
           <msub> 
            <mi>
              β 
            </mi> 
            <mn>
              1 
            </mn> 
           </msub> 
          </mrow> 
         </math></p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="7.29%"><p style="text-align:center"> 
         <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
           <msub> 
            <mi>
              β 
            </mi> 
            <mn>
              2 
            </mn> 
           </msub> 
          </mrow> 
         </math></p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="7.29%"><p style="text-align:center"> 
         <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
           <msub> 
            <mi>
              β 
            </mi> 
            <mn>
              0 
            </mn> 
           </msub> 
          </mrow> 
         </math></p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="7.29%"><p style="text-align:center"> 
         <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
           <msub> 
            <mi>
              β 
            </mi> 
            <mn>
              1 
            </mn> 
           </msub> 
          </mrow> 
         </math></p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="7.29%"><p style="text-align:center"> 
         <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
           <msub> 
            <mi>
              β 
            </mi> 
            <mn>
              2 
            </mn> 
           </msub> 
          </mrow> 
         </math></p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="7.29%"><p style="text-align:center"> 
         <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
           <msub> 
            <mi>
              β 
            </mi> 
            <mn>
              0 
            </mn> 
           </msub> 
          </mrow> 
         </math></p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="7.29%"><p style="text-align:center"> 
         <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
           <msub> 
            <mi>
              β 
            </mi> 
            <mn>
              1 
            </mn> 
           </msub> 
          </mrow> 
         </math></p></td> 
       <td class="custom-bottom-td custom-top-td acenter" width="7.29%"><p style="text-align:center"> 
         <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
           <msub> 
            <mi>
              β 
            </mi> 
            <mn>
              2 
            </mn> 
           </msub> 
          </mrow> 
         </math></p></td> 
      </tr> 
      <tr> 
       <td class="custom-top-td acenter" width="9.61%"><p style="text-align:center">N = 75</p></td> 
       <td class="custom-top-td acenter" width="7.28%"><p style="text-align:center">4.04</p></td> 
       <td class="custom-top-td acenter" width="7.28%"><p style="text-align:center">1.99</p></td> 
       <td class="custom-top-td acenter" width="7.29%"><p style="text-align:center">7.01</p></td> 
       <td class="custom-top-td acenter" width="7.29%"><p style="text-align:center">4.06</p></td> 
       <td class="custom-top-td acenter" width="7.29%"><p style="text-align:center">1.98</p></td> 
       <td class="custom-top-td acenter" width="7.29%"><p style="text-align:center">7.00</p></td> 
       <td class="custom-top-td acenter" width="7.29%"><p style="text-align:center">4.04</p></td> 
       <td class="custom-top-td acenter" width="7.29%"><p style="text-align:center">1.99</p></td> 
       <td class="custom-top-td acenter" width="7.29%"><p style="text-align:center">7.01</p></td> 
       <td class="custom-top-td acenter" width="7.29%"><p style="text-align:center">4.04</p></td> 
       <td class="custom-top-td acenter" width="7.29%"><p style="text-align:center">1.99</p></td> 
       <td class="custom-top-td acenter" width="7.29%"><p style="text-align:center">7.01</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="9.61%"><p style="text-align:center">N = 120</p></td> 
       <td class="acenter" width="7.28%"><p style="text-align:center">4.10</p></td> 
       <td class="acenter" width="7.28%"><p style="text-align:center">1.97</p></td> 
       <td class="acenter" width="7.29%"><p style="text-align:center">6.99</p></td> 
       <td class="acenter" width="7.29%"><p style="text-align:center">4.11</p></td> 
       <td class="acenter" width="7.29%"><p style="text-align:center">1.97</p></td> 
       <td class="acenter" width="7.29%"><p style="text-align:center">6.99</p></td> 
       <td class="acenter" width="7.29%"><p style="text-align:center">4.10</p></td> 
       <td class="acenter" width="7.29%"><p style="text-align:center">1.97</p></td> 
       <td class="acenter" width="7.29%"><p style="text-align:center">6.99</p></td> 
       <td class="acenter" width="7.29%"><p style="text-align:center">4.10</p></td> 
       <td class="acenter" width="7.29%"><p style="text-align:center">1.97</p></td> 
       <td class="acenter" width="7.29%"><p style="text-align:center">6.99</p></td> 
      </tr> 
      <tr> 
       <td class="acenter" width="9.61%"><p style="text-align:center">N = 300</p></td> 
       <td class="acenter" width="7.28%"><p style="text-align:center">4.18</p></td> 
       <td class="acenter" width="7.28%"><p style="text-align:center">1.97</p></td> 
       <td class="acenter" width="7.29%"><p style="text-align:center">6.99</p></td> 
       <td class="acenter" width="7.29%"><p style="text-align:center">4.18</p></td> 
       <td class="acenter" width="7.29%"><p style="text-align:center">1.97</p></td> 
       <td class="acenter" width="7.29%"><p style="text-align:center">6.98</p></td> 
       <td class="acenter" width="7.29%"><p style="text-align:center">4.18</p></td> 
       <td class="acenter" width="7.29%"><p style="text-align:center">1.97</p></td> 
       <td class="acenter" width="7.29%"><p style="text-align:center">6.99</p></td> 
       <td class="acenter" width="7.29%"><p style="text-align:center">4.18</p></td> 
       <td class="acenter" width="7.29%"><p style="text-align:center">1.97</p></td> 
       <td class="acenter" width="7.29%"><p style="text-align:center">4.18</p></td> 
      </tr> 
     </table>
    </table-wrap>
    <p>Let’s now consider the function 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         sin 
       </mi> 
       <mi>
         x 
       </mi> 
       <mo>
         + 
       </mo> 
       <mi>
         ε 
       </mi> 
      </mrow> 
     </math> with 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <mi>
         ε 
       </mi> 
       <mo>
         ~ 
       </mo> 
       <mi mathvariant="script">
         N 
       </mi> 
       <mrow> 
        <mo>
          ( 
        </mo> 
        <mrow> 
         <mn>
           0,0.3 
         </mn> 
        </mrow> 
        <mo>
          ) 
        </mo> 
       </mrow> 
      </mrow> 
     </math> having generated the data sample. This function can be estimated using a polynomial function of degree 3. This degree is obtained after a model selection step such as cross-validation, etc., which we won’t go into here. We will now evaluate the different methods on the function 
     <math display="inline" xmlns="http://www.w3.org/1998/Math/MathML"> <mrow> 
       <msub> 
        <mi>
          a 
        </mi> 
        <mn>
          0 
        </mn> 
       </msub> 
       <mo>
         + 
       </mo> 
       <msub> 
        <mi>
          a 
        </mi> 
        <mn>
          1 
        </mn> 
       </msub> 
       <mi>
         x 
       </mi> 
       <mo>
         + 
       </mo> 
       <msub> 
        <mi>
          a 
        </mi> 
        <mn>
          2 
        </mn> 
       </msub> 
       <msup> 
        <mi>
          x 
        </mi> 
        <mn>
          2 
        </mn> 
       </msup> 
       <mo>
         + 
       </mo> 
       <msub> 
        <mi>
          a 
        </mi> 
        <mn>
          3 
        </mn> 
       </msub> 
       <msup> 
        <mi>
          x 
        </mi> 
        <mn>
          3 
        </mn> 
       </msup> 
      </mrow> 
     </math>.</p>
    <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
     <tr> 
      <td class="custom-bottom-td acenter" width="15.56%"><p style="text-align:center">Size</p></td> 
      <td class="custom-bottom-td acenter" width="15.56%"><p style="text-align:center">Least square</p></td> 
      <td class="custom-bottom-td acenter" width="15.56%"><p style="text-align:center">Regression Ridge</p></td> 
      <td class="custom-bottom-td acenter" width="15.56%"><p style="text-align:center">BayesPy</p></td> 
     </tr> 
     <tr> 
      <td class="custom-top-td acenter" width="15.56%"><p style="text-align:center">N = 5</p></td> 
      <td class="custom-top-td acenter" width="15.56%"><p style="text-align:center"><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2312530-rId202.jpeg?20240719022230" /></p></p></td> 
      <td class="custom-top-td acenter" width="15.56%"><p style="text-align:center"><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2312530-rId203.jpeg?20240719022230" /></p></p></td> 
      <td class="custom-top-td acenter" width="15.56%"><p style="text-align:center"><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2312530-rId204.jpeg?20240719022230" /></p></p></td> 
     </tr> 
     <tr> 
      <td class="acenter" width="15.56%"><p style="text-align:center">N = 15</p></td> 
      <td class="acenter" width="15.56%"><p style="text-align:center"><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2312530-rId205.jpeg?20240719022230" /></p></p></td> 
      <td class="acenter" width="15.56%"><p style="text-align:center"><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2312530-rId206.jpeg?20240719022230" /></p></p></td> 
      <td class="acenter" width="15.56%"><p style="text-align:center"><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2312530-rId204.jpeg?20240719022230" /></p></p></td> 
     </tr> 
     <tr> 
      <td class="acenter" width="15.56%"><p style="text-align:center">N = 30</p></td> 
      <td class="acenter" width="15.56%"><p style="text-align:center"><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2312530-rId207.jpeg?20240719022230" /></p></p></td> 
      <td class="acenter" width="15.56%"><p style="text-align:center"><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2312530-rId208.jpeg?20240719022230" /></p></p></td> 
      <td class="acenter" width="15.56%"><p style="text-align:center"><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2312530-rId209.jpeg?20240719022230" /></p></p></td> 
     </tr> 
    </table>
    <table class="MsoTableGrid custom-table" border="0" cellspacing="0" cellpadding="0"> 
     <tr> 
      <td class="custom-bottom-td acenter" width="13.28%"><p style="text-align:center">Size</p></td> 
      <td class="custom-bottom-td acenter" width="28.16%"><p style="text-align:center">Least square</p></td> 
      <td class="custom-bottom-td acenter" width="28.37%"><p style="text-align:center">Regression Ridge</p></td> 
      <td class="custom-bottom-td acenter" width="30.19%"><p style="text-align:center">BayesPy</p></td> 
     </tr> 
     <tr> 
      <td class="custom-top-td acenter" width="13.28%"><p style="text-align:center">N = 75</p></td> 
      <td class="custom-top-td acenter" width="28.16%"><p style="text-align:center"><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2312530-rId212.jpeg?20240719022230" /></p></p></td> 
      <td class="custom-top-td acenter" width="28.37%"><p style="text-align:center"><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2312530-rId213.jpeg?20240719022230" /></p></p></td> 
      <td class="custom-top-td acenter" width="30.19%"><p style="text-align:center"><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2312530-rId214.jpeg?20240719022230" /></p></p></td> 
     </tr> 
     <tr> 
      <td class="acenter" width="13.28%"><p style="text-align:center">N = 120</p></td> 
      <td class="acenter" width="28.16%"><p style="text-align:center"><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2312530-rId215.jpeg?20240719022230" /></p></p></td> 
      <td class="acenter" width="28.37%"><p style="text-align:center"><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2312530-rId216.jpeg?20240719022230" /></p></p></td> 
      <td class="acenter" width="30.19%"><p style="text-align:center"><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2312530-rId217.jpeg?20240719022230" /></p></p></td> 
     </tr> 
     <tr> 
      <td class="acenter" width="13.28%"><p style="text-align:center">N = 300</p></td> 
      <td class="acenter" width="28.16%"><p style="text-align:center"><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2312530-rId218.jpeg?20240719022230" /></p></p></td> 
      <td class="acenter" width="28.37%"><p style="text-align:center"><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2312530-rId219.jpeg?20240719022230" /></p></p></td> 
      <td class="acenter" width="30.19%"><p style="text-align:center"><p class="imgGroupCss_v"><img class=" imgMarkCss lazy" data-original="https://html.scirp.org/file/2312530-rId220.jpeg?20240719022230" /></p></p></td> 
     </tr> 
    </table>
   </sec>
   <sec id="s5_2">
    <title>5.2. Interpretation of Results</title>
    <p>So the Bayesian approach doesn’t seem to be very effective compared with least squares when faced with reduced data, since only the generated data doesn’t have a complex structure. By contraposition, this may therefore confirm the hypothesis that the Bayesian approach is efficient in the face of reduced data that have a complex structure within them.</p>
   </sec>
  </sec><sec id="s6">
   <title>6. Conclusions</title>
   <p>In conclusion, it’s important to recognize that both the probabilistic approach and the least squares method are powerful and complementary tools in the design of predictive models when the relationship between features and goal is linear. The probabilistic approach takes a more theoretical and rigorous view, quantifying the uncertainty associated with predictions. It represents the theoretical framework that makes it possible to obtain algorithms for estimating the parameters of a model by initially considering certain hypotheses. Least squares, for example, are a method obtained by calculating maximum likelihood while assuming independence of observations and normality of errors between calculated and estimated model values.</p>
   <p>From a technical point of view, the probabilistic approach requires a priori knowledge and sampling algorithms such as Monte Carlo Markov chain to calculate the a posteriori distribution. If a priori distribution is not known, these algorithms calculate the conjugates of a posteriori distribution, and this is fairly resource-intensive. In the case of linear predictive models, the least squares method stands out for its ease of application, making it a practically preferred choice. In our experience, both approaches lead to the same results when estimating the values of a linear model, assuming that we know the form of the estimated function. However, in most cases, this form will not be known initially. Other tasks may be useful beforehand, such as feature selection, data transformations, model selection, etc.</p>
   <p>It is therefore recommended to use least squares even with little data when the form of the function to be estimated is linear and known. However, when the function to be estimated has variations, a large amount of data is required. If the form of the function is not known in advance and we have information on a priori distribution of the parameters, the probabilistic approach will be preferred. If the form of the function to be estimated is not known in advance, and the probability distribution of the parameters is not known, it will be important to consider other techniques, such as neural networks, or to carry out certain processing operations on the data beforehand, if the linear model obtained is not satisfactory.</p>
   <p>Looking ahead, given that numerical methods for calculating a posteriori probability are based on the assumption of knowledge of the relationship between the features and the phenomenon to be predicted, it will also be interesting to study how the Bayesian approach can be integrated into the retroproputation algorithm to solve non-linear problems. On the other hand, a more in-depth study based on real data will be possible, as the artificially created data fulfilled all the assumptions for the use of least squares. This is why the two approaches led to almost similar results. This is just further evidence that the probabilistic approach provides a general framework for generating model design algorithms.</p>
  </sec>
 </body><back>
  <ref-list>
   <title>References</title>
   <ref id="scirp.134643-ref1">
    <label>1</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Bellanger, L. and Tomassone, R. (2014) Exploration de données et Méthodes statistiques: Data analysis&amp;data mining avec R of Références sciences. Ellipses. 
    </mixed-citation>
   </ref>
   <ref id="scirp.134643-ref2">
    <label>2</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Samueli, J.-J. (2010) Legendre et la méthode des moindres carrés. Bibnum. Textes fondateurs de la science. &gt;https://doi.org/10.4000/bibnum.580
    </mixed-citation>
   </ref>
   <ref id="scirp.134643-ref3">
    <label>3</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Gaillard, P. (2019) Régression linéaire. Consommation (GW), 40, 50. 
    </mixed-citation>
   </ref>
   <ref id="scirp.134643-ref4">
    <label>4</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Maddi, A., Guessoum, A., Berkani, D. and Belkina, O. (2005) Etude de la méthode des moindres carrés récursive et application au signal de parole. 3rd International Conference: Sciences of Electronic, Technologies of Information and Telecommunications, Sousse, Tunisia, 27-31 March 2005. 
    </mixed-citation>
   </ref>
   <ref id="scirp.134643-ref5">
    <label>5</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Lay, D.C. (2012) Algèbre linéaire et applications. Pearson. 
    </mixed-citation>
   </ref>
   <ref id="scirp.134643-ref6">
    <label>6</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     James, G., Witten, D., Hastie, T., Tibshirani, R., et al. (2013) An Introduction to Statistical Learning. Vol. 112, Springer. &gt;https://doi.org/10.1007/978-1-4614-7138-7
    </mixed-citation>
   </ref>
   <ref id="scirp.134643-ref7">
    <label>7</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Huber, C. and Nikulin, M.S. (1997) Remarques sur le maximum de vraisemblance. Qüestiió: Quaderns d’estadstica i investigació operativa. &gt;https://www.raco.cat/index.php/Questiio/article/download/26828/26662 
    </mixed-citation>
   </ref>
   <ref id="scirp.134643-ref8">
    <label>8</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Lambert, M. (2020) Quantification de l’incertitude pour l’apprentissage automatique. Actes de la conférence CAID, Rennes, 18-19 November 2020, 110. 
    </mixed-citation>
   </ref>
   <ref id="scirp.134643-ref9">
    <label>9</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Dreyfus, G. (2008) Apprentissage statistique. Editions Eyrolles. 
    </mixed-citation>
   </ref>
   <ref id="scirp.134643-ref10">
    <label>10</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Robert, C. (2005) Le choix bayésien: Principes et pratique. Springer Science&amp;Business Media. 
    </mixed-citation>
   </ref>
   <ref id="scirp.134643-ref11">
    <label>11</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Kuma, J.K. (2019) Estimation par la méthode du Maximum de Vraisemblance: Éléments de Théorie et pratiques sur Logiciel. &gt;https://hal.science/cel-02189969/document 
    </mixed-citation>
   </ref>
   <ref id="scirp.134643-ref12">
    <label>12</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Deudon, M. and Servajean, M. (2020) Régularisation et optimisation des modeles. &gt;https://www.mtpcours.fr/u/TW233MI-Optimisation-regularisation.pdf 
    </mixed-citation>
   </ref>
   <ref id="scirp.134643-ref13">
    <label>13</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Bishop, C.M. (2006) Pattern Recognition and Machine Learning. Springer. 
    </mixed-citation>
   </ref>
   <ref id="scirp.134643-ref14">
    <label>14</label>
    <mixed-citation publication-type="other" xlink:type="simple">
     Cornuéjols, A. and Miclet, L. (2011) Apprentissage artificiel: Concepts et algorithmes. Editions Eyrolles.
    </mixed-citation>
   </ref>
  </ref-list>
 </back>
</article>