SANTTUcurriculum vitae

# Tag: matlab

22 Feb 2019

## Matlab to Python Numpy Conversion

MATLAB to Numpy Help MATLAB/Octave Python Description doc help -i % browse with Info help() Browse help interactively help help or doc doc help Help on using help help plot help(plot) or ?plot Help for a function help splines or doc splines help(pylab) Help for a toolbox/library package demo Searching available documentationSearch help files MATLAB/Octave […]

Uncategorized

# Tag: matlab

09 Sep 2018

## Machine Learning – Kernel Methods: Implementation for Support Vector Machines ( SVM ) for Classification (Gaussian)

Implementing soft margin SVM algorithm using Gaussian kernel for classification of handwritten digits (3 and 8) with a step by step Matlab code. Contents Parameters Datasets Loading the data Zscore normalization Initialise vectors Compute Gaussian kernel Solve quadprog to find alpha values Calculate near boundary coefficients Get support vector indices Compute bias b Decision function […]

machine learning • matlab • teaching

# Tag: matlab

04 Sep 2018

## Machine Learning – Kernel Methods: Implementation for Support Vector Machines ( SVM ) for Classification (Linear)

Implementing soft margin SVM algorithm using linear kernel for classification of hand written digits (3 and 8) with a detailed Matlab code. Contents Parameters Datasets Loading the data Zscore normalization initialization of vectors calculate Alphas Compute the near boundary coefficients Calculate Support Vectors Compute bias parameter b Compute the decision function on training set Compute […]

machine learning • matlab • teaching

# Tag: matlab

03 Sep 2018

## Solving Principal Component Analysis in Detail

General Matlab help file for solving Principal Component Analysis / Proper Orthogonal Decomposition in detail Contents Clear all variables, close all open windows (figures), clear screen File for initializing parameters Create the 2D grid Create snapshot matrix Generate the snapshots and store to snapshot matrix S Calculate mean centered data Proper Orthogonal Decomposition Calculate relative […]

machine learning • matlab