This is the code repository for MATLAB for Machine Learning, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.
MATLAB is the language of choice for many researchers and mathematics experts for machine learning. This book will help you build a foundation in machine learning using MATLAB for beginners.
You’ll start by getting your system ready with t he MATLAB environment for machine learning and you’ll see how to easily interact with the Matlab workspace. We’ll then move on to data cleansing, mining and analyzing various data types in machine learning and you’ll see how to display data values on a plot. Next, you’ll get to know about the different types of regression techniques and how to apply them to your data using the MATLAB functions. You’ll also explore classification techniques such as K-nearest neighbor analysis and Naive Bayes algorithm, and understand decision tree and rules learners.
After this, you’ll dive into unsupervised learning and find groups of data with clustering methods such as k-means method and dendrogram. You’ll understand the basic concepts of neural networks and perform data fitting, pattern recognition, and clustering analysis. Finally, you’ll explore feature selection and extraction techniques for dimensionality reduction for performance improvement.
At the end of the book, you will learn to put it all together into real-world cases covering major machine learning algorithms and be comfortable in performing machine learning with MATLAB. ##Instructions and Navigation All of the code is organized into folders. Each folder starts with a number followed by the application name. For example, Chapter02.
The code will look like the following:
PC1 = 0.8852* Area + 0.3958 * Perimeter + 0.0043 * Compactness +
0.1286 * LengthK + 0.1110 * WidthK - 0.1195 * AsymCoef + 0.1290 *
LengthKG
Any command-line input or output is written as follows:
>>10+90
ans =
100
In this book, machine learning algorithms are implemented in the MATLAB environment. So, to reproduce the many examples in this book, you need a new version of MATLAB (R2017a recommended) and the following toolboxes: statistics and machine learning toolbox, neural network toolbox, and fuzzy logic toolbox.
If you have already purchased a print or Kindle version of this book, you can get a DRM-free PDF version at no cost.
Simply click on the link to claim your free PDF.