Skip to content

Classification models (Perceptron & SVM) and Principal Component Analysis on sample data

Notifications You must be signed in to change notification settings

parasgulati8/Machine-Learning-Projects-MATLAB

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 

Repository files navigation

Machine-Learning-Projects-MATLAB

Descrption

These projects are part of class assignments that were aimed to inculcate a deeper understanding of machine learning algorithms such as Classification with Perceptron, Support Vector Machine and Principal Component Analysis (PCA). These were implemented in MATLAB without using any libraries. Implementing the algorithms such as SVM, Stochastic Gradient Descent (SGD), and PCA from scratch enhanced the understanding of the core ML concepts like classiication, optimization and dimensionality reduction

Classification Models

1. Perceptron Learning

This project is an implementation of the linear perceptron using stochastic gradient descent (SGD) in MATLAB. The dataset is a set of points in 2D space which are linearly separable. decision boundary

2. Support Vector Machine

This project implements Support Vector Machine algorithm to classify data using different kernels(linear, polynomia and RBF).

Error corresponding to different polynomial degrees

polynomial error

Principal Component Analysis

This project is an implementation of the PCA algorithm in machine learning using MATLAB. A dataset of teapot images is used and the images are re-created by using only three principal features of the images.

Before Applying PCA After Applying PCA
f 1 f 2

About

Classification models (Perceptron & SVM) and Principal Component Analysis on sample data

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages