

Studia grazie alle numerose risorse presenti su Docsity
Guadagna punti aiutando altri studenti oppure acquistali con un piano Premium
Questa pagina non è visibile nell’anteprima
Non perderti parti importanti!


Artificial neuron An artificial neuron is the basic element of the neural network. It calculates a weighed sum of the inputs. The output is one (we say that the neuron fires ) if this sum is greater than a certain threshold, otherwise zero. Obviously, it is a very simplified model of the biological neuron. Neural network A neural network is a computing model used in machine learning. It is based on a collection of computing^1 units or nodes called neurons. In this model, the output of each neuron is the input for the other (connected) neurons. McCullough and Pitts showed that a neural network is computationally equivalent to a Turing Machine. There are many kinds of neural networks: Hopfield nets, Self Organizing Maps (SOM) nets, Elman nets, Perceptron. We focused on Perceptron that is a neural network for supervised learning of classifiers. Perceptron Learning paradigm The Perceptron Learning paradigm is supervised, that is for each input pattern is known the desired output (labeled training data). Thus, in the learning phase, the synaptic weighs are modified based on the difference between output and desired output. In other words, we can imagine:
Multi-layer Perceptron After the Perceptron was abandoned, the Multi-layer Perceptron(MLP) was created. A MLP is a layered feedforward neural network. Layered means that the neurons are organized by level. Feedforward means that there are no back-edges in the net. There are no connections among neurons. The MLP overcomes the limit of Perceptron, but it has other drawbacks: there is no Convergence theorem and the learning process can fall in the local minima trap. Finally, the Kolmogorov theorem states that 3-layer are sufficient to classify patterns belonging to arbitrairly complex regions, but it is not constructive (it doesn't tell us how to build the MLP). Support Vector Machine In its most general definition, a SVM is an universal learning machine able to classify data optimizing the generalization ability, that is the ability to classify patterns not used in the training phase. The training of a SVM is a process equivalent to solve a convex quadratic programming (QP) problem with linear constraints, finding the optimal decision surface. The SVM overcomes the MLP limit by the so called “kernel trick”: a kernel function transforms the input space in a higher dimension feature space where the patterns are linearly separable, that is a hyperplane that separates the patterns belonging to different classes in the features space. Many algorithms were developed to solve the SVM training problem with different strategies. In particular, Sequential Minimal Optimization (SMO) decomposition algorithms breaks large QP problem in smaller problems, and optimizes at each step only a subset of the training data patterns. This subset is called the working set. Created by Platt and improved by Keerthi , SMO is one of the most popular and fast decomposition algorithm. It uses a two-dimensional working set and it allows an analytical solution with respect to a numerical one. This is the reason of its main characteristics, i.e. SMO scales quadratically in the number of training data patterns, while the other algorithms scale cubically or more.