UCS551 Chapter 6 - Classification
UCS551 Chapter 6 - Classification
UCS551 Chapter 6 - Classification
CLASSIFICATION
AND REGRESSION
(MACHINE
LEARNING MODEL)
DR AZLIN AHMAD
CONTENT
1. Regression problems- outcomes will be integer/ real numbers,
Naï
ve Bayes either positive or negative
Posterior
Probability for
each Class
Kernel SVM takes in a kernel function in the SVM algorithm and transforms into the required form
that maps data on a higher dimension which is separable.
Types of kernel function are:
Linear SVM is the one we discussed earlier.
In Polynomial kernel, the degree of the polynomial should be specified. It allows for curved lines in the input
space.
In the RBF Kernel, it is used for non-linearly separable variables. For distance metric squared Euclidean
distance is used. Using a typical value of the parameter can lead to overfitting our data. It is used by default in
sklearn
Sigmoid kernel, similar to logistic regression is used for binary classification
CLASSIFIER : NEURAL NETWORKS/ ARTIFICAL NEURAL NETWORKS/
ANN/ RANGKAIAN NEURAL BUATAN
Artificial Neural Network is a set of connected input/output units where each connection has a weight associated
with it started by psychologists and neurobiologists to develop and test computational analogs of neurons.
During the learning phase, the network learns by adjusting the weights so as to be able to predict the correct class
label of the input tuples.
Artificial Neural Networks have performed impressively in most of the real world applications. It is high tolerance to
noisy data and able to classify untrained patterns.
Usually, Artificial Neural Networks perform better with continuous-valued inputs and outputs.
input layer hidden layer output
layer
HOW?
K-NEAREST NEIGHBOR
Get the labels of the If regression, return the mean of the K labels
selected K entries
Advantages
The algorithm is simple and easy to implement.
There’s no need to build a model, tune several parameters, or make additional
assumptions.
The algorithm is versatile. It can be used for classification, regression, and search (as we
will see in the next section).
Disadvantages
The algorithm gets significantly slower as the number of examples and/or
predictors/independent variables increase.
References:
https://machinelearningmastery.com/classification-versus-regression-in-machine-learning/
https://towardsdatascience.com/supervised-machine-learning-classification-5e685fe18a6d
https://towardsdatascience.com/machine-learning-classifiers-a5cc4e1b0623
https://medium.com/@Mandysidana/machine-learning-types-of-classification-9497bd4f2e14