classnotes RTX 4070 Ti SUPER · faster-whisper · DeepSeek

6103 - Advanced ML

← 6103 - Advanced ML

Advance Machine Learning-20261031_092522-Meeting Recording

Date 2026-10-31 Words 12,620 Segments 661
⤓ Download transcript (.txt with timestamps) ⤓ Plain transcript (.txt) ⤓ Transcript (.md)

Summary


session: "6103-advanced-ml/2026-10-31 0925 Advance Machine Learning"

title: "Advance Machine Learning"

date: "2026-10-31 09:25"

duration: "--"

language: "en"

model: "deepseek-ai/DeepSeek-V3.2"

parts: 3

transcript_chars: 63362

generated: "2026-11-23T00:44:57+05:30"


Advanced Machine Learning

Overview

This class introduced time series analysis and forecasting. It covered the fundamental characteristics of time series data, including its components (trend, seasonality, cyclicality, noise) and how it differs from cross-sectional data. The lecture progressed from identifying patterns using autocorrelation to techniques for making a series stationary via differencing. It culminated in an introduction to the ARIMA (AutoRegressive Integrated Moving Average) model framework, detailing how to determine its parameters (p, d, q) and compare models. This session lays the groundwork for classical statistical forecasting methods within the broader machine learning curriculum.

Learning outcomes

Core concepts

Time Series Data

A sequence of data points collected in chronological order for the same variable. It matters because many real-world phenomena (sales, weather, stock prices) are observed over time, and their sequential nature creates dependencies that must be modeled explicitly, unlike cross-sectional data.

Components of Time Series

A time series is typically decomposed into Trend (long-term direction), Seasonality (fixed-period repeats), Cyclicality (non-fixed period repeats), and Noise/Irregularity (random shocks). Identifying these components is the first step in building an accurate forecasting model, as each may require a different modeling approach.

Stationarity

A time series property where the mean and variance are constant over time and autocovariance depends only on the lag. It matters because most classical time series models (like ARIMA) require stationarity. Differencing is a primary technique to transform a non-stationary series into a stationary one.

Autocorrelation and Partial Autocorrelation

Autocorrelation (ACF) measures the correlation between a series and its lagged values. Partial Autocorrelation (PACF) measures the correlation between a series and its lag, controlling for intermediate lags. They are used to identify the order of Moving Average (q from ACF) and AutoRegressive (p from PACF) components, respectively, within an ARIMA model.

ARIMA Model

A classical forecasting model combining AutoRegressive (AR), Integrated (I, for differencing), and Moving Average (MA) components. It matters as a foundational, interpretable model for a wide range of time series forecasting problems, especially when data shows trends and short-term dependencies without complex seasonal patterns.

Formulas and maths

Worked examples

1. Linear Trend Fitting: Annual sales data for years 21–25: sales = [10, 12, 15, 18, 20]. Centered x values: [-2, -1, 0, 1, 2]. Calculated slope: \( b = \frac{\Sigma xy}{\Sigma x^2} = \frac{26}{10} = 2.6 \). Fitted trend: \( y_t = 15 + 2.6x \).

2. Autocorrelation for Seasonality: Quarterly data for 4 years (16 values). Computed autocorrelations: lag 0 = 1, lag 4 = 0.7, lag 8 = 0.43. The strong autocorrelation at lag 4 and its multiples identifies quarterly seasonality (s=4).

3. Differencing for Stationarity: For a non-stationary series with an increasing trend, first differencing (d=1) is applied. Example: original observations become differences (e.g., resulting in values like "10 10" after differencing).

4. Parameter Identification from Plots: In an ACF plot example, significant positive correlations were seen at lags 1 through 5, then decreasing, suggesting a potential q value. In a PACF plot example, significant correlations were present up to lag 15, after which they became very small, suggesting a potential p value.

Questions asked in class

Key takeaways

Exam-style questions

1. Given a plot of the Autocorrelation Function (ACF) for a quarterly sales dataset showing significant spikes at lags 4, 8, and 12, what does this indicate, and how would you modify the data to check if you have successfully removed this pattern?

2. A time series has a clear upward linear trend. Describe the steps you would take to prepare this series for an ARIMA model, including how you would determine the appropriate differencing order (d).

3. You have fitted two ARIMA models to a stationary dataset: Model A (p=1, d=0, q=1) with AIC=300 and BIC=310, and Model B (p=2, d=0, q=2) with AIC=295 and BIC=312. Which model would you select and why?

Glossary

Follow-ups

Transcript

One line per segment, [hh:mm:ss] timestamp first.

loading…