Professional Documents
Culture Documents
Aiml 4
Aiml 4
Linear Kernel
It can be used as a dot product between any two observations. The
formula of linear kernel is as below −
K(x,xi)=sum(x∗xi)K(x,xi)=sum(x∗xi
From the above formula, we can see that the product between two
vectors say & is
Polynomial Kernel
It is more generalized form of linear kernel and distinguish curved or
nonlinear input space. Following is the formula for polynomial kernel −
k(X,Xi)=1+sum(X∗Xi)^dk(X,Xi)=1+sum(X∗Xi)^d
K(x,xi)=exp(−gamma∗sum(x−xi^2))K(x,xi)=exp(−gamma∗sum(x−xi^2))
Here, gamma ranges from 0 to 1. We need to manually specify it in the
learning algorithm.
6. Open Source
The best thing about the machine learning library is that it is open source
so anyone can use it as much as they have internet connectivity. So,
people can manipulate the library and come up with a fantastic variety of
useful products. And it has become another DIY community which has a
massive forum for people getting started with it and those who nd it hard
to use it.
7. Feature Columns
TensorFlow has feature columns which could be thought of as
intermediates between raw data and estimators; accordingly, bridging
input data with our model.
9. Layered Components
TensorFlow produces layered operations of weight and biases from the
function such as tf.contrib.layers and also provides batch normalization,
convolution layer, and dropout layer. So tf.contrib.layers.optimizers have
optimizers such
4. Video Detection
The deep learning algorithm is used for video detection. It is used for
motion detection, real-time threat detection in gaming, security, airports,
and UI/UX eld.
5. Text-Based Applications
Text-based application is also a popular deep learning algorithm.
Sentimental analysis, social media, threat detection, and fraud detection,
are the example of Text-based applications.
The goal of the SVM algorithm is to create the best line or decision
boundary that can segregate n-dimensional space into classes so that we
can easily put the new data point in the correct category in the future.
This best decision boundary is called a hyperplane.
fi
fi
fi
𝑥
𝑥
𝑖
ff
fi
fi
fi
fi
fi
fi
fi
fl
fi
fi
fi
Linearly separable and non-linearly separable data
Linear and non-linear separable data are described in the diagram below.
Linearly separable data is data that is populated in such a way that it can
be
following diagram are the margins and the distance between both these
What is an EM algorithm?
The Expectation-Maximization (EM) algorithm is de ned as the
combination of various unsupervised machine learning algorithms, which
is used to determine the local maximum likelihood estimates (MLE) or
maximum a posteriori estimates (MAP) for unobservable variables in
statistical models. Further, it is a technique to nd maximum likelihood
estimation when the latent variables are present. It is also referred to as
the latent variable model.
The working of the AHC algorithm can be explained using the below
steps:
o Step-1: Create each data point as a single cluster. Let's say there are N
data points, so the number of clusters will also be N.
Step-2: Take two closest data points or clusters and merge them to form
one cluster. So, there will now be N-1 clusters.
Step-3: Again, take the two closest clusters and merge them together to
form one cluster. There will be N-2 clusters.
Step-4: Repeat Step 3 until only one cluster left. So, we will get the
following clusters. Consider the below images:
o Step-5: Once all the clusters are combined into one big cluster, develop
the dendrogram to divide the clusters as per the problem.
fi
ff
fi
fi
fi
fi