Types of Algorithm That Can Be Used in Machine Learning
Types of Algorithm That Can Be Used in Machine Learning
Euclidean:
( x i y i )2
i=1
Manhattan:
k
|x i yi|
i=1
Minkowski:
k
1
q q
( (|xi y i|) )
i=1
For an instance of discrete variables the Hamming Distance equation must be used. Hamming Distance
equation standardizes the numerical variable between 0 and 1 when there is a combination of numerical
and categorical variables in data set.
Hamming Distance:
k
D H = |x i y i|
i=1
x= y D=0
x y D=1
SOM (Self Organizing Maps) John A. Bullinaria, 2004; Introduction to Neural Networks :
Lecture 17
SOM system also known as Konohen Network has a feed-forward structure with a single computational
layer of neurons arranged in rows and columns. Each neuron is fully connected to all the source units in
the input layer:
G9
One Dimensional Map will just have a single row or column in the computational layer.
Algorithm
The stages of the SOM algorithm that achieves this can be summarized as follows:
1. Initialization Choose random values for the initial weight vectors
wj
2. Sampling Draw a sample training input vector x from the input space.
3. Matching find the winning neuron I(x) that has weight vector closest to the input vector
4. Updating Apply the weight update equation