0% found this document useful (0 votes)
73 views5 pages

MATLAB Essentials for Machine Learning

This document discusses MATLAB as a programming language for machine learning. It notes that MATLAB was designed for scientific and engineering computing, with core strengths in vector and matrix operations. It has rich libraries for tasks like statistics, signal processing, and machine learning. MATLAB allows both exploratory and structured programming through its interactive interface and support for scripts, functions, and object-oriented programming. A key feature is ubiquitous vectorization, which uses single-operator syntax to apply operations uniformly across vectors and matrices, avoiding explicit loops. MATLAB also offers powerful visualization capabilities for different plot types.

Uploaded by

nikola001
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
73 views5 pages

MATLAB Essentials for Machine Learning

This document discusses MATLAB as a programming language for machine learning. It notes that MATLAB was designed for scientific and engineering computing, with core strengths in vector and matrix operations. It has rich libraries for tasks like statistics, signal processing, and machine learning. MATLAB allows both exploratory and structured programming through its interactive interface and support for scripts, functions, and object-oriented programming. A key feature is ubiquitous vectorization, which uses single-operator syntax to apply operations uniformly across vectors and matrices, avoiding explicit loops. MATLAB also offers powerful visualization capabilities for different plot types.

Uploaded by

nikola001
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Machine Learning MATLAB Essentials i l

Jeff Howbert

Introduction to Machine Learning

Winter 2012

MATLAB

High level language, designed for scientific and engineering computing MATLAB stands for MATrix LABoratory Operations on vectors and multi-dimensional arrays are a core strength t th of f MATLAB
Compact syntax Efficient underlying y g implementations p of matrix algebra g

Rich libraries of mathematical functions


Statistics Signal processing Optimization Machine learning

Jeff Howbert

Introduction to Machine Learning

Winter 2012

MATLAB

Interpreted language, with built-in precompiled modules for compute-intensive p operations p Great flexibility in programming
Interactive Scripts Functions (scripts with defined inputs and outputs) Object Object-oriented oriented programming Supports complex, hierarchical data structures with mixed types Easy to interface with C / C++ Moderately loose typing

Good for both exploratory work and large-scale structured programming


Introduction to Machine Learning Winter 2012 3

Jeff Howbert

MATLAB

Ubiquitous vectorization
Vectorization: use of single-operator syntax to signify uniform application of the operator on all elements of one or several vectors and/or matrices Circumvents need for explicit loops to process elements of vectors and matrices Syntax y very y compact p and highly g y readable, akin to mathematical formulae Examples: add two matrices multiply matrix by scalar multiply two matrices logarithm of every element in matrix C = A + B; ; C = 2 * B; C = A * B; B = log( A );

Jeff Howbert

Introduction to Machine Learning

Winter 2012

MATLAB
Powerful visualization capabilities
Histograms, bar charts 2D and 3D line plots 2D and 3D scatter plots Heat maps Contour plots Mesh plots Colored and shaded surface plots

Jeff Howbert

Introduction to Machine Learning

Winter 2012

You might also like