Skip to content
Carlos Lizarraga-Celaya edited this page Nov 16, 2023 · 18 revisions

Welcome to the Machine Learning Workshops Wiki!

(Image by Author: Rillito River Loop, Brandi Fenton Memorial Park. Tucson, AZ)


Main Classical Machine Learning Algorithms

In the field of Machine Learning three main paradigms are used: supervised, unsupervised, and reinforcement learning, which differ in their tasks and data presentation. Supervised Learning is the most common task used. They can be combined together to obtain better results.

(Image credit: Vas3k's Blog)

Supervised Learning

Supervised learning algorithms are trained on a dataset that includes both input and output values. The algorithm is trained to learn to map the input values to the output values. For example, a supervised learning algorithm could be trained to predict the price of a house based on its features, such as the number of bedrooms, the square footage, and the location.

Some of the most common supervised learning algorithms include:

(Image credit: Vas3k's Blog)

(Image credit: Vas3k's Blog)

(Image credit: Vas3k's Blog)

(Image credit: Vas3k's Blog)

  • k-Nearest Neighbors: Is an algorithm used in both classification and regression tasks.
  • Artificial Neural Networks: Is an interconnected group of nodes, inspired by a simplification of neurons in a brain. They are widely used in classification of images for example.

Unsupervised Learning

Unsupervised learning algorithms are trained on a dataset that only includes input values. The algorithm learns to find patterns in the data without any guidance from labeled output values. For example, an unsupervised learning algorithm could be used to cluster customers into groups based on their spending habits.

Some of the most common unsupervised learning algorithms include:

  • Principal component analysis (PCA): PCA is a dimensionality reduction algorithm that reduces the number of features in a dataset while preserving as much information as possible.

(Image credit: Vas3k's Blog)

  • Latent Semantic Analysis, is a natural language processing method that analyzes relationships between a set of documents and the terms contained within.

(Image credit: Vas3k's Blog)

Reinforcement Learning

Reinforcement learning algorithms learn to make decisions in an environment by trial and error. The algorithm is given a reward for taking actions that lead to a desired outcome. For example, a reinforcement learning algorithm could be used to train a robot to play a game of Pong. The robot would be given a reward for hitting the ball and a penalty for missing the ball. Over time, the robot would learn how to play the game by trial and error.

Some of the most common reinforcement learning algorithms include:

  • Q-learning: An algorithm that learns to map states to actions that maximize the expected reward.
  • Policy gradient methods: Policy gradient methods learn to directly map states to actions.
  • Actor-critic methods: Actor-critic methods combine Q-learning and policy gradient methods.

Other types of Learning Algorithms

There are many other machine learning algorithms that do not fit neatly into the categories of supervised learning, unsupervised learning, or reinforcement learning. Some of these algorithms include:

(Image credit: Vas3k's Blog)

  • Boosting. Boosting involves training successive models by emphasizing training data misclassified by previously learned models.

(Image credit: Vas3k's Blog)

  • Voting. Used to construct a compound algorithm from a pool of prediction algorithms.

(Image credit: Vas3k's Blog)

These are just a small list of the many machine learning algorithms that are available. The best algorithm for a particular task will depend on the specific requirements of the task.


The Scikit-learn Library

The Scikit-learn library includes a collection of algorithms in Python for building Machine Learning models that are used to make predictions.

Classical Machine Learning refers to three paradigms of learning processes: Supervised Learning, Unsupervised Learning and Reinforcement Learning.

Learning goals

Topics


General references


Created: 01-16-2023 (C. Lizárraga); Updated: 05-21-2023 (C. Lizárraga).

CC BY-NC-SA 4.0

Clone this wiki locally