Difference between revisions of "Supervised Learning"

From Bitnami MediaWiki
Jump to navigation Jump to search
(Created page with "* Maps an input to an output based on previously seen input-output pairs * An algorithm produces an inferred function (whose parameters may or may not be known) * Generalizati...")
 
Line 4: Line 4:
 
* The error (aka expected loss or risk) <math>I[f]</math> is given by  
 
* The error (aka expected loss or risk) <math>I[f]</math> is given by  
 
:: <math> I[f] = \displaystyle\int_{X\times Y} V(f(\mathbf{x}), y)\,\rho(\mathbf{x},y) d\mathbf{x}dy</math>
 
:: <math> I[f] = \displaystyle\int_{X\times Y} V(f(\mathbf{x}), y)\,\rho(\mathbf{x},y) d\mathbf{x}dy</math>
 +
where <math>V</math> is a loss function and <math>\rho(\mathbf{x}, y)</math> is the unknown joint probability distribution for <math>\mathbf{x}</math> and <math>y</math>
 +
* Lacking the joint probability distribution <math>\rho</math>, the '''empirical error''' is computed on sample data as:
 +
:: <math>I_n[f] = \dfrac{1}{n}\displaystyle\sum^n_{i=1} V(f(\mathbf{x}_i, y_i)</math>

Revision as of 02:15, 1 March 2021

  • Maps an input to an output based on previously seen input-output pairs
  • An algorithm produces an inferred function (whose parameters may or may not be known)
  • Generalization error is the measure of how accurately an algorithm labels new data
  • The error (aka expected loss or risk) [math]\displaystyle{ I[f] }[/math] is given by
[math]\displaystyle{ I[f] = \displaystyle\int_{X\times Y} V(f(\mathbf{x}), y)\,\rho(\mathbf{x},y) d\mathbf{x}dy }[/math]

where [math]\displaystyle{ V }[/math] is a loss function and [math]\displaystyle{ \rho(\mathbf{x}, y) }[/math] is the unknown joint probability distribution for [math]\displaystyle{ \mathbf{x} }[/math] and [math]\displaystyle{ y }[/math]

  • Lacking the joint probability distribution [math]\displaystyle{ \rho }[/math], the empirical error is computed on sample data as:
[math]\displaystyle{ I_n[f] = \dfrac{1}{n}\displaystyle\sum^n_{i=1} V(f(\mathbf{x}_i, y_i) }[/math]