-->

Sabtu, 02 September 2017

Statistical learning theory is a framework for machine learning drawing from the fields of statistics and functional analysis. Statistical learning theory deals with the problem of finding a predictive function based on data. Statistical learning theory has led to successful applications in fields such as computer vision, speech recognition, bioinformatics and baseball.

Introduction



source : www.amazon.co.uk

The goals of learning are understanding and prediction. Learning falls into many categories, including supervised learning, unsupervised learning, online learning, and reinforcement learning. From the perspective of statistical learning theory, supervised learning is best understood. Supervised learning involves learning from a training set of data. Every point in the training is an input-output pair, where the input maps to an output. The learning problem consists of inferring the function that maps between the input and the output, such that the learned function can be used to predict output from future input.

Depending on the type of output, supervised learning problems are either problems of regression or problems of classification. If the output takes a continuous range of values, it is a regression problem. Using Ohm's Law as an example, a regression could be performed with voltage as input and current as output. The regression would find the functional relationship between voltage and current to be 1 R {\displaystyle {\frac {1}{R}}} , such that

I = 1 R V {\displaystyle I={\frac {1}{R}}V}

Classification problems are those for which the output will be an element from a discrete set of labels. Classification is very common for machine learning applications. In facial recognition, for instance, a picture of a person's face would be the input, and the output label would be that person's name. The input would be represented by a large multidimensional vector whose elements represent pixels in the picture.

After learning a function based on the training set data, that function is validated on a test set of data, data that did not appear in the training set.

Formal description



source : web.stanford.edu

Take X {\displaystyle X} to be the vector space of all possible inputs, and Y {\displaystyle Y} to be the vector space of all possible outputs. Statistical learning theory takes the perspective that there is some unknown probability distribution over the product space Z = X × Y {\displaystyle Z=X\times Y} , i.e. there exists some unknown p ( z ) = p ( x â†' , y ) {\displaystyle p(z)=p({\vec {x}},y)} . The training set is made up of n {\displaystyle n} samples from this probability distribution, and is notated

S = { ( x â†' 1 , y 1 ) , … , ( x â†' n , y n ) } = { z â†' 1 , … , z â†' n } {\displaystyle S=\{({\vec {x}}_{1},y_{1}),\dots ,({\vec {x}}_{n},y_{n})\}=\{{\vec {z}}_{1},\dots ,{\vec {z}}_{n}\}}

Every x â†' i {\displaystyle {\vec {x}}_{i}} is an input vector from the training data, and y i {\displaystyle y_{i}} is the output that corresponds to it.

In this formalism, the inference problem consists of finding a function f : X ↦ Y {\displaystyle f:X\mapsto Y} such that f ( x â†' ) ∼ y {\displaystyle f({\vec {x}})\sim y} . Let H {\displaystyle {\mathcal {H}}} be a space of functions f : X â†' Y {\displaystyle f:X\to Y} called the hypothesis space. The hypothesis space is the space of functions the algorithm will search through. Let V ( f ( x â†' ) , y ) {\displaystyle V(f({\vec {x}}),y)} be the loss function, a metric for the difference between the predicted value f ( x â†' ) {\displaystyle f({\vec {x}})} and the actual value y {\displaystyle y} . The expected risk is defined to be

I [ f ] = ∫ X × Y V ( f ( x â†' ) , y ) p ( x â†' , y ) d x â†' d y {\displaystyle I[f]=\displaystyle \int _{X\times Y}V(f({\vec {x}}),y)\,p({\vec {x}},y)\,d{\vec {x}}\,dy}

The target function, the best possible function f {\displaystyle f} that can be chosen, is given by the f {\displaystyle f} that satisfies

I [ f ] = inf h ∈ H I [ h ] {\displaystyle I[f]=\inf _{h\in {\mathcal {H}}}I[h]}

Because the probability distribution p ( x â†' , y ) {\displaystyle p({\vec {x}},y)} is unknown, a proxy measure for the expected risk must be used. This measure is based on the training set, a sample from this unknown probability distribution. It is called the empirical risk

I S [ f ] = 1 n âˆ' i = 1 n V ( f ( x â†' i ) , y i ) {\displaystyle I_{S}[f]={\frac {1}{n}}\displaystyle \sum _{i=1}^{n}V(f({\vec {x}}_{i}),y_{i})}

A learning algorithm that chooses the function f S {\displaystyle f_{S}} that minimizes the empirical risk is called empirical risk minimization.

Loss functions



source : www.kobo.com

The choice of loss function is a determining factor on the function f S {\displaystyle f_{S}} that will be chosen by the learning algorithm. The loss function also affects the convergence rate for an algorithm. It is important for the loss function to be convex.

Different loss functions are used depending on whether the problem is one of regression or one of classification.

Regression

The most common loss function for regression is the square loss function (also known as the L2-norm). This familiar loss function is used in ordinary least squares regression. The form is:

V ( f ( x â†' ) , y ) = ( y âˆ' f ( x â†' ) ) 2 {\displaystyle V(f({\vec {x}}),y)=(y-f({\vec {x}}))^{2}}

The absolute value loss (also known as the L1-norm) is also sometimes used:

V ( f ( x â†' ) , y ) = | y âˆ' f ( x â†' ) | {\displaystyle V(f({\vec {x}}),y)=|y-f({\vec {x}})|}

Classification

In some sense the 0-1 indicator function is the most natural loss function for classification. It takes the value 0 if the predicted output is the same as the actual output, and it takes the value 1 if the predicted output is different from the actual output. For binary classification with Y = { âˆ' 1 , 1 } {\displaystyle Y=\{-1,1\}} , this is:

V ( f ( x â†' ) , y ) = θ ( âˆ' y f ( x â†' ) ) {\displaystyle V(f({\vec {x}}),y)=\theta (-yf({\vec {x}}))}

where θ {\displaystyle \theta } is the Heaviside step function.

Regularization



source : link.springer.com

In machine learning problems, a major problem that arises is that of overfitting. Because learning is a prediction problem, the goal is not to find a function that most closely fits the (previously observed) data, but to find one that will most accurately predict output from future input. Empirical risk minimization runs this risk of overfitting: finding a function that matches the data exactly but does not predict future output well.

Overfitting is symptomatic of unstable solutions; a small perturbation in the training set data would cause a large variation in the learned function. It can be shown that if the stability for the solution can be guaranteed, generalization and consistency are guaranteed as well. Regularization can solve the overfitting problem and give the problem stability.

Regularization can be accomplished by restricting the hypothesis space H {\displaystyle {\mathcal {H}}} . A common example would be restricting H {\displaystyle {\mathcal {H}}} to linear functions: this can be seen as a reduction to the standard problem of linear regression. H {\displaystyle {\mathcal {H}}} could also be restricted to polynomial of degree p {\displaystyle p} , exponentials, or bounded functions on L1. Restriction of the hypothesis space avoids overfitting because the form of the potential functions are limited, and so does not allow for the choice of a function that gives empirical risk arbitrarily close to zero.

One example of regularization is Tikhonov regularization. This consists of minimizing

1 n âˆ' i = 1 n V ( f ( x â†' i , y i ) ) + γ ∥ f ∥ H 2 {\displaystyle {\frac {1}{n}}\displaystyle \sum _{i=1}^{n}V(f({\vec {x}}_{i},y_{i}))+\gamma \|f\|_{\mathcal {H}}^{2}}

where γ {\displaystyle \gamma } is a fixed and positive parameter, the regularization parameter. Tikhonov regularization ensures existence, uniqueness, and stability of the solution.

See also



source : www.amazon.in

  • Reproducing kernel Hilbert spaces are a useful choice for H {\displaystyle {\mathcal {H}}} .
  • Proximal gradient methods for learning

References



source : link.springer.com



source : compare.buyhatke.com

 
Sponsored Links