Statistical Machine Learning

UFPE • Department of Statistics

Statistical Machine Learning

Learning environment taught by Prof. Dr. Jodavid Ferreira. Centralized access to interactive slides, practical exercise lists, code repositories, and the course project.

📚 Course Topics and Lectures

Explore the course content organized into teaching modules. Click the button on each lecture to open the interactive full-screen presentation.

Lecture 01

Course Presentation

Lecture 02

Artificial Intelligence Concepts

Lecture 03

Introduction to R

Lecture 04

Introduction to Python

Lecture 05

Data and Models

Lecture 05.1

R code - Example of Feature Selection

Lecture 06

Prediction vs Inference

Lecture 07

Assessing model accuracy

Lecture 07_1

R code - Example of Ordinary Least Squares (OLS)

Lecture 07_2

R code - Example of Kappa Coefficient - pt_BR

Lecture 07_3

R code - Example of Kappa coefficient Implementation - pt_BR

Lecture 08

Resampling Methods

Lecture 09

Explainability in ML models - LIME, SHAP, and DALEX

Lecture 10

Algorithmic Fairness and Bias Mitigation in Machine Learning

Lecture 11

Parametric Methods for Regression

Lecture 12

Nonparametric Methods for Regression

Lecture 13

Nonparametric Methods for Regression Tree Based

Lecture 14

Classification Methods

Lecture 15

Clustering Methods

📝 Exercise Lists

Practical exercise lists to consolidate knowledge and prepare for the course’s theoretical and practical assessments.

1st Assessment

Lists 01 to 08
L01 R and Python
Open List
L02 R and Python
Open List
L03 MLE and Functions in R
Open List
L04 Matrices
Open List
L05 Machine Learning Concepts
Open List
L06 Machine Learning Concepts
Open List
L07 Resampling Methods
Open List
L08 Fairness and Bias Mitigation
Open List

2nd Assessment

Lists 09 to 13
L09 Parametric Methods for Regression
Open List
L10 Nonparametric Methods for Regression
Open List
L11 Nonparametric Methods for Regression: Tree-Based
Open List
L12 Classification Methods
Open List
L13 Clustering Methods
Open List

đź’» Code & Datasets

Access the source code demonstrated in class and the datasets used for hands-on experimentation.

Lecture Code

Official Repository: GitHub Link

https://jodavid.github.io/ml_ia_codes/

Example Dataset

Kaggle Dataset

Dataset used in hands-on activities and demonstrations of exploratory analysis and predictive modeling on federal highways.

Traffic Accidents on Highways in Brazil (pt-BR) Accidents on federal highways with multiple temporal and spatial attributes.

đź“‘ Course Project & Activities

Final Course Project

Applied Project in Statistical Machine Learning

Download Project Guidelines (PDF)

The course project covers the full cycle of solving a real-world data problem: problem definition, data collection and cleaning, in-depth exploratory analysis with data visualization, predictive modeling with the algorithms studied, and an executive presentation of the insights.

1. Formulation

Problem definition and selection of a relevant dataset.

2. EDA & Cleaning

Handling missing values and outliers, feature engineering, and visualizations.

3. Modeling

Training and comparing Statistical Machine Learning models.

4. Presentation

Final pitch with storytelling and a clean code repository.

đź’ˇ Instructions for Using the Notebooks in Google Colab

How to Run the Scripts in Google Colab

Follow these steps to run, edit, and save your code directly in your personal or institutional Google Drive.

1
Accessing the Script

The notebook is shared in view-only mode. To preserve the integrity of the original code, the base file cannot be edited directly.

2
Save a Copy

In the top menu of Google Colab, click File → Save a copy in Drive. An independent copy will be saved to your Google account.

3
Run & Customize

Open your copy and feel free to run each cell, try new parameters, upload new files, and build your own solutions.