Machine Learning

Example algorithms of machine learning

Overview

Teaching: 10 min
Exercises: 0 min
Questions
  • What are some widely used machine learning algorithms?

  • What category do they belong to?

Objectives
  • Gain an conceptual understanding of some example machine learning algorithms

Linear Regression

(Supervised learning, regression)

alt text

Figure: Illustration of linear regression (image source: https://machinelearning-blog.com/2018/01/24/linear-regression).

alt text

Figure: Multivariate linear regression (image source: StackExchange).

Kernel Smoother

(Supervised learning, regression)

alt text

(image source: Hastie et al. (2016): The Elements of Statistical Learning, Second Edition, Chapter 6.

Logistic Regression

(Supervised learning, classification)

alt text

Comparison of linear regression fit and logistic regression fit for a binary outcome data set. In this example, the x-axis is the input variable, credit card balance, and the y-axis is whether or not defaulting happened (image source: http://uc-r.github.io/logistic_regression).

Decision Tree and Random Forest

(Supervised learning, classification or regression)

alt text

Figure: Illustration of a decision flowchart (image source: https://imgs.xkcd.com/comics/solar_panels.png).

K-Means Clustering

(Unsupervised learning)

alt text

Illustration of clustering (image source: https://mubaris.com/posts/kmeans-clustering).

Principal Component Analysis (PCA)

(Unsupervised learning)

alt text

Figure: For a input dataset with two variables, the PCA algorithm finds the first principal component that accounts for the largest data variability (the longer vector in the figure) and the second principal component that is orthogonal to the first one (the shorter vector in the figure) (image source: https://en.wikipedia.org/wiki/Principal_component_analysis).

alt text

Figure: Example PCA application in atmospheric sciences. Here “residual SST field” is sea surface temperature from which the variability associated with the ENSO cycle has been removed (image source: Zhang et al. (2017): ENSO-like Interdecadal Variability: 1900–93, Journal of Climage).

Neural Network and Deep Learning

(Supervised or unsupervised learning, classification or regression)

alt text

Figure: Illustration of a neural network with two hidden layers (image source: https://www.digitaltrends.com/cool-tech/what-is-an-artificial-neural-network).

Key Points