/Andrew-Ng-ML-Course-Assignments

Assignment solutions for Andrew Ng's Machine Learning Course

Primary LanguageMATLAB

This repo contains all the solutions to the assignments given in Andrew Ng's course.

All the problems statements are enclosed in .pdf format inside each of the directories.

These programs can be run easily using either matlab or octave.

Brief description of the solutions are as follows:

EX - 1

Implementing and visualizing linear regression using gradient descent as optimizer. (Accuracy)

EX1

EX - 2

Implementing and visualizing logistic regression using fminfunc as optimizer. (Training set accuracy: 89.0 %)

EX2

EX - 3

Implementing One vs All logistic regression to classify handwritten numbers. (Training set accuracy: 95.0 %)

EX3

EX - 4

Implementing a neural net with some pre trained weights on the same dataset as the previous problem using feedforward and backpropagation algorithm.

EX4 (Visualization of the neural network)

EX - 5

Learning and tuning hyperparameters such as lambda for regularization, via cross validation.

EX5

EX - 6

Implementing an linear SVM for random dataset using RBF(Radial Basis Function)

EX6

EX - 7

Implementing a basic K-Means algorithm to cluster some unsupervised data.

EX7

EX - 8

Learning and visualizing testing parameters for a model, such as F1 score, precision, accuracy, etc.

EX8