Introduction to Machine Learning - Regression Models

https://ubc-library-rc.github.io/ml-regression/

Land Acknowledgement

UBC Vancouver is located on the traditional, ancestral, and unceded territory of the xʷməθkʷəy̓əm (Musqueam) peoples.

Use the Zoom toolbar to engage The Zoom toolbar

Participants window

The participants menu
CCDHHN Certificate
This workshop contributes towards the Canadian Certificate in Digital Humanities.

Learning Objectives

  • Understand regression models and their applications in machine learning
  • Train regression models for real-world datasets
  • Interpret and analyze regression model results.

Pre-workshop setup

What is Machine Learning?

  • “Field of study that gives computers the capability to learn without being explicitly programmed" - Arthur Samuel

Replace the question mark

X Y
1 2.2
2 4.8
3 7.1
4 ?

Building a Machine Learning Model

Types of Machine Learning

From javatpoint

Some other types:

  • Reinforcement Learning
  • Transfer Learning

Methods and Algorithms

Data Preparations

  • Types of Features (continuous/categorical)
  • Handling missing values
  • Feature scaling
  • Feature selection

Model Evaluation

Overfitting Underfitting

From geeksforgeeks

Algorithms and Methods

From mathworks

Algorithms and Methods

From mathworks

Python Libraries

Regression

From Javatpoint.com

Limits of Machine Learning

  • Garbage In = Garbage Out
  • Data Limitation
  • Generalization and overfitting
  • Inability to explain answers
  • Ethics and Bias Limitations
  • Computational Limitations

Open Jupyter Notebooks

Open In Colab

Ethics

Ethics

Image from: Lepri, Bruno, Nuria Oliver, and Alex Pentland. "Ethical machines: The human-centric use of artificial intelligence." IScience 24.3 (2021): 102249.

Where to go from here?

Future workshops

Title Series
Regression models Tue, Mar 19, 2024 (1:00pm to 3:00pm) - Today
Classification and clustering models Tue, Mar 26, 2024 (1:00pm to 3:00pm)
Neural networks Tue, Apr 2, 2024 (1:00pm to 3:00pm)
LLMs Tue, Apr 9, 2024 (1:00pm to 3:00pm)

Register here

More from the Research Commons at (UBC-V)

And from the Center for Scholarly Communication (UBC-O)