Supervised Learning

From Bitnami MediaWiki
Revision as of 02:15, 1 March 2021 by User (talk | contribs)
Jump to navigation Jump to search
  • 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]