Time Series Analysis, Forecasting, and Machine Learning in Python

Python for LSTMs, ARIMA, Deep Learning, AI, Support Vector Regression, +More Applied to Time Series Forecasting

Generative AI
4.7/5
$54.99
$219.99
75% OFF!
  • All levels
  • 177 Lectures
  • 23h 38m
  • English
  • Lifetime access, certificate of completion (shareable on LinkedIn, Facebook, and Twitter), Q&A forum, LaTeX notes, subtitles in English
Login or signup to
register for this course

Course Description

Hello friends!

Welcome to Time Series Analysis, Forecasting, and Machine Learning in Python.

Time Series Analysis has become an especially important field in recent years.

  • With inflation on the rise, many are turning to the stock market and cryptocurrencies in order to ensure their savings do not lose their value.
  • COVID-19 has shown us how forecasting is an essential tool for driving public health decisions.
  • Businesses are becoming increasingly efficient, forecasting inventory and operational needs ahead of time.


Let me cut to the chase. This is not your average Time Series Analysis course. This course covers modern developments such as deep learning, time series classification (which can drive user insights from smartphone data, or read your thoughts from electrical activity in the brain), and more.

We will cover techniques such as:

  • ETS and Exponential Smoothing
  • Holt's Linear Trend Model
  • Holt-Winters Model
  • ARIMA, SARIMA, SARIMAX, and Auto ARIMA
  • ACF and PACF
  • Vector Autoregression and Moving Average Models (VAR, VMA, VARMA)
  • Machine Learning Models (including Logistic Regression, Support Vector Machines, and Random Forests)
  • Deep Learning Models (Artificial Neural Networks, Convolutional Neural Networks, and Recurrent Neural Networks)
  • GRUs and LSTMs for Time Series Forecasting


We will cover applications such as:

  • Time series forecasting of sales data
  • Time series forecasting of stock prices and stock returns
  • Time series classification of smartphone data to predict user behavior


The VIP version of the course will cover even more exciting topics, such as:

  • AWS Forecast (Amazon's state-of-the-art low-code forecasting API)
  • GARCH (financial volatility modeling)
  • FB Prophet (Facebook's time series library)


Thanks for reading, and I'll see you in class!

Suggested Prerequisites:

  • Matrix arithmetic
  • Probability
  • Decent Python coding skills
  • Numpy, Matplotlib, Scipy, and Pandas (I teach this for free, no excuses!)

Lectures

  • 19 sections
  • 177 lectures
  • 23h 38m total length
Introduction and Outline
Preview
05:24
Warmup (Optional)
04:46
Where to get the code
02:06
Temporary 403 Errors
02:58
Time Series Basics Section Introduction
04:30
What is a Time Series?
04:39
Modeling vs. Predicting
02:28
Why Do We Care About Shapes?
06:13
Types of Tasks
06:33
Power, Log, and Box-Cox Transformations
06:03
Power, Log, and Box-Cox Transformations in Code
06:05
Forecasting Metrics
11:22
Financial Time Series Primer
11:02
Price Simulations in Code
03:06
Random Walks and the Random Walk Hypothesis
14:35
The Naive Forecast and the Importance of Baselines
06:45
Naive Forecast and Forecasting Metrics in Code
07:14
Time Series Basics Section Summary
03:14
Suggestion Box
03:10
Exponential Smoothing Section Introduction
03:02
Exponential Smoothing Intuition for Beginners
05:37
SMA Theory
03:36
SMA Code
08:41
EWMA Theory
11:07
EWMA Code
07:39
SES Theory
10:13
SES Code
11:55
Holt's Linear Trend Model (Theory)
07:55
Holt's Linear Trend Model (Code)
03:13
Holt-Winters (Theory)
11:20
Holt-Winters (Code)
07:52
Walk-Forward Validation
09:06
Walk-Forward Validation in Code
08:29
Application: Sales Data
05:00
Exercise: Apply Walk-Forward to Sales Data
06:16
Application: Stock Predictions
05:37
SMA Application: COVID-19 Counting
03:06
SMA Application: Algorithmic Trading
02:08
Exponential Smoothing Section Summary
03:59
(Optional) More About State-Space Models
11:22
ARIMA Section Introduction
05:18
Autoregressive Models - AR(p)
12:51
Moving Average Models - MA(q)
03:31
ARIMA
10:45
ARIMA in Code
19:15
Stationarity
13:01
Stationarity in Code
09:50
ACF (Autocorrelation Function)
10:10
PACF (Partial Autocorrelation Funtion)
06:55
ACF and PACF in Code (pt 1)
08:26
ACF and PACF in Code (pt 2)
07:03
Auto ARIMA and SARIMAX
09:41
Model Selection, AIC and BIC
09:50
Auto ARIMA in Code
14:04
Auto ARIMA in Code (Stocks)
15:45
ACF and PACF for Stock Returns
07:01
Auto ARIMA in Code (Sales Data)
09:45
How to Forecast with ARIMA
09:14
Forecasting Out-Of-Sample
01:26
ARIMA Section Summary
03:31
Vector Autoregression Section Introduction
02:30
VAR and VARMA Theory
13:11
VARMA Code (pt 1)
07:36
VARMA Code (pt 2)
06:47
VARMA Code (pt 3)
06:25
VARMA Econometrics Code (pt 1)
07:51
VARMA Econometrics Code (pt 2)
09:17
Granger Causality
04:28
Granger Causality in Code
03:19
Converting Between Models (Optional)
11:45
Vector Autoregression Section Summary
03:39
Machine Learning Section Introduction
03:52
Supervised Machine Learning: Classification and Regression
14:26
Autoregressive Machine Learning Models
07:34
Machine Learning Algorithms: Linear Regression
05:05
Machine Learning Algorithms: Logistic Regression
06:54
Machine Learning Algorithms: Support Vector Machines
10:02
Machine Learning Algorithms: Random Forest
06:52
Extrapolation and Stock Prices
08:47
Machine Learning for Time Series Forecasting in Code (pt 1)
13:00
Forecasting with Differencing
04:21
Machine Learning for Time Series Forecasting in Code (pt 2)
06:47
Application: Sales Data
05:24
Application: Predicting Stock Prices and Returns
04:52
Application: Predicting Stock Movements
04:06
Machine Learning Section Summary
02:23
Artificial Neural Networks: Section Introduction
03:24
The Neuron
09:58
Forward Propagation
09:40
The Geometrical Picture
09:43
Activation Functions
17:18
Multiclass Classification
08:41
ANN Code Preparation
11:56
Feedforward ANN for Time Series Forecasting Code
10:15
Feedforward ANN for Stock Return and Price Predictions Code
08:50
Human Activity Recognition Dataset
05:53
Human Activity Recognition: Code Preparation
06:23
Human Activity Recognition: Data Exploration
07:35
Human Activity Recognition: Multi-Input ANN
10:59
Human Activity Recognition: Feature-Based Model
05:56
Human Activity Recognition: Combined Model
03:06
How Does a Neural Network "Learn"?
10:49
Artificial Neural Networks: Section Summary
02:18
CNN Section Introduction
03:07
What is Convolution?
16:38
What is Convolution? (Pattern-Matching)
05:56
What is Convolution? (Weight Sharing)
06:41
Convolution on Color Images
15:58
Convolution for Time Series and ARIMA
04:59
CNN Architecture
23:21
CNN Code Preparation
06:16
CNN for Time Series Forecasting in Code
06:45
CNN for Human Activity Recognition
06:22
CNN Section Summary
03:14
RNN Section Introduction
04:46
Simple RNN / Elman Unit (pt 1)
09:20
Simple RNN / Elman Unit (pt 2)
09:42
Aside: State Space Models vs. RNNs
03:30
RNN Code Preparation
08:38
RNNs: Understanding by Implementing (Paying Attention to Shapes)
08:26
GRU and LSTM (pt 1)
17:35
GRU and LSTM (pt 2)
11:36
LSTMs for Time Series Forecasting in Code
09:28
LSTMs for Time Series Classification in Code
06:10
The Unreasonable Ineffectiveness of Recurrent Neural Networks
03:18
RNN Section Summary
02:57
GARCH Section Introduction
03:56
ARCH Theory (pt 1)
04:57
ARCH Theory (pt 2)
07:36
ARCH Theory (pt 3)
05:14
GARCH Theory
07:40
GARCH Code Preparation (pt 1)
07:54
GARCH Code Preparation (pt 2)
07:55
GARCH Code (pt 1)
06:07
GARCH Code (pt 2)
08:30
GARCH Code (pt 3)
07:11
GARCH Code (pt 4)
05:52
GARCH Code (pt 5)
04:20
A Deep Learning Approach to GARCH
11:27
GARCH Section Summary
06:36
AWS Forecast Section Introduction
08:02
Data Model
09:16
Creating an IAM Role
04:09
Code pt 1 (Getting and Transforming the Data)
09:59
Code pt 2 (Uploading the data to S3)
12:52
Code pt 3 (Building your Model)
06:52
Code pt 4 (Generating and Evaluating the Forecast)
06:49
AWS Forecast Exercise
02:54
AWS Forecast Section Summary
04:55
Prophet Section Introduction
03:11
How does Prophet work?
08:24
Prophet: Code Preparation
12:41
Prophet in Code: Data Preparation
08:59
Prophet in Code: Fit, Forecast, Plot
08:30
Prophet in Code: Holidays and Exogenous Regressors
10:19
Prophet in Code: Cross-Validation
06:07
Prophet in Code: Changepoint Detection
04:14
Prophet: Multiplicative Seasonality, Outliers, Non-Daily Data
10:16
(The Dangers of) Prophet for Stock Price Prediction
13:10
Prophet Section Summary
03:27
Let's Beat the Naive Forecast
13:25
What is the Appendix?
03:47
Pre-Installation Check
04:13
Anaconda Environment Setup
20:21
How to install Numpy, Scipy, Matplotlib, Pandas, PyTorch, and TensorFlow
17:33
Beginner's Coding Tips
13:22
How to Code Yourself (part 1)
15:55
How to Code Yourself (part 2)
09:24
Proof that using Jupyter Notebook is the same as not using it
12:29
Python 2 vs Python 3
04:38
Is Theano Dead?
10:04
How to use Github & Extra Coding Tips (Optional)
11:12
How to Succeed in this Course (Long Version)
10:25
Is this for Beginners or Experts? Academic or Practical? Fast or slow-paced?
22:05
What order should I take your courses in? (part 1)
11:19
What order should I take your courses in? (part 2)
16:07
Where to get discount coupons and FREE AI tutorials
05:49

Reviews

4.7

38 reviews for this course

5 Stars
(57%)
4 Stars
(35%)
3 Stars
(6%)
2 Stars
(1%)
1 Stars
(1%)

Testimonials and Success Stories

student-avatar

H. Z.

Machine Learning Research Scientist
flag-usa
United States

“I am one of your students. Yesterday, I presented my paper at ICCV 2019. You have a significant part in this, so I want to sincerely thank you for your in-depth guidance to the puzzle of deep learning. Please keep making awesome courses that teach us!”

5.0
student-avatar

Wade J.

Data Scientist
flag-usa
United States

“I just watched your short video on “Predicting Stock Prices with LSTMs: One Mistake Everyone Makes.” Giggled with delight.

You probably already know this, but some of us really and truly appreciate you. BTW, I spent a reasonable amount of time making a learning roadmap based on your courses and have started the journey.

Looking forward to your new stuff.”

5.0
student-avatar

Kris M.

Data Scientist
flag-usa
United States

“Thank you for doing this! I wish everyone who call’s themselves a Data Scientist would take the time to do this either as a refresher or learn the material. I have had to work with so many people in prior roles that wanted to jump right into machine learning on my teams and didn’t even understand the first thing about the basics you have in here!!

I am signing up so that I have the easy refresh when needed and the see what you consider important, as well as to support your great work, thank you.”

5.0
student-avatar

Steve M.

Machine Learning Research Scientist
flag-usa
United States

“I have been intending to send you an email expressing my gratitude for the work that you have done to create all of these data science courses in Machine Learning and Artificial Intelligence. I have been looking long and hard for courses that have mathematical rigor relative to the application of the ML & AI algorithms as opposed to just exhibit some 'canned routine' and then viola here is your neural network or logistical regression.

Your courses are just what I have been seeking. I am a retired mathematician, statistician and Supply Chain executive from a large Fortune 500 company in Ohio. I also taught mathematics, statistics and operations research courses at a couple of universities in Northern Ohio.

I have taken many courses and have enjoyed the journey, I am not going to be critical of any of the organizations from whom I have taken courses. However, when I read a review about one of your courses in which the student was complaining that one would need a PhD in Mathematics to understand it, I knew this was the course (or series of courses) that I wanted. (Having advanced degrees in mathematics, I knew that it was highly unlikely that a PhD would actually be required.)”

5.0
student-avatar

Saurabh W.

Data Scientist
flag-india
India

“Hi Sir I am a student from India. I've been wanting to write a note to thank you for the courses that you've made because they have changed my career. I wanted to work in the field of data science but I was not having proper guidance but then I stumbled upon your "Logistic Regression" course in March and since then, there's been no looking back. I learned ANNs, CNNs, RNNs, Tensorflow, NLP and whatnot by going through your lectures. The knowledge that I gained enabled me to get a job as a Business Technology Analyst at one of my dream firms even in the midst of this pandemic. For that, I shall always be grateful to you. Please keep making more courses with the level of detail that you do in low-level libraries like Theano.”

5.0
student-avatar

David P.

Financial Analyst
flag-usa
United States

“I just wanted to reach out and thank you for your most excellent course that I am nearing finishing.

And, I couldn't agree more with some of your "rants", and found myself nodding vigorously!

You are an excellent teacher, and a rare breed.

And, your courses are frankly, more digestible and teach a student far more than some of the top-tier courses from ivy leagues I have taken in the past.

(I plan to go through many more courses, one by one!)

I know you must be deluged with complaints in spite of the best content around That's just human nature.

Also, satisfied people rarely take the time to write, so I thought I will write in for a change. :)”

5.0
student-avatar

P. C.

Deep Learning Research Scientist
flag-china
China

“Hello, Lazy Programmer!

In the process of completing my Master’s at Hunan University, China, I am writing this feedback to you in order to express my deep gratitude for all the knowledge and skills I have obtained studying your courses and following your recommendations.

The first course of yours I took was on Convolutional Neural Networks (“Deep Learning p.5”, as far as I remember). Answering one of my questions on the Q&A board, you suggested I should start from the beginning – the Linear and Logistic Regression courses. Despite that I assumed I had already known many basic things at that time, I overcame my “pride” and decided to start my journey in Deep Learning from scratch.

Course by course, I was renewing the basics and the prerequisites. Thus, in several months, after every day studying under your guidance, I was able to gain enough intuitions and practical skills in order to begin progressing in my research. Having a solid background, it was just a pleasure to read all the relevant papers in the field as well as to make all the experiments needed for achieving my goal – creating a high-performance CNN for offline HCCR.

I believe, the professionalism of any teacher can be estimated by the feedback received from their students, and it’s of the utmost importance for me to thank you, Lazy Programmer!

I want you to know, in spite, that we have never actually met and you haven’t taught me privately, I consider you one of my greatest Teachers.

The most important things I have learned from you (some in the hard way, though) beside many exciting modern Deep Learning/AI techniques and algorithms are:

1) If one doesn’t know how to program something, one doesn’t understand it completely.

2) If one is not honest with oneself about one’s prior knowledge, one will never succeed in studying more advanced things.

3) Developing skills in BOTH Math and Programming is what makes one a good student of this major.

I am still studying your courses, and am certain I will ask you more than just a few technical questions regarding their content, but I already would like to say, that I will remember your contribution to my adventure in the Deep Learning field, and consider it as big as one of such great scientists’ as Andrew Ng, Geoffrey Hinton, and my supervisor.

Thank you, Lazy Programmer! 非常感谢您,Lazy 老师!

If you are interested, you can find my first paper’s preprint here:

https://arxiv.org/abs/xxx”

5.0
student-avatar

Dima K.

Data Scientist
flag-ukraine
Ukraine

“By the way, if you are interested to hear. I used the HMM classification, as it was in your course (95% of the script, I had little adjustments there), for the Customer-Care department in a big known fintech company. to predict who will call them, so they can call him before the rush hours, and improve the service. Instead of a poem, I Had a sequence of the last 24 hours' events that the customer had, like: "Loaded money", "Usage in the food service", "Entering the app", "Trying to change the password", etc... the label was called or didn't call. The outcome was great. They use it for their VIP customers. Our data science department and I got a lot of praise.”

5.0
student-avatar

Andres Lopez C.

Data Engineer
flag-usa
United States

“This course is exactly what I was looking for. The instructor does an impressive job making students understand they need to work hard in order to learned. The examples are clear, and the explanations of the theory is very interesting.”

5.0
student-avatar

Mohammed K.

Machine Learning Engineer
flag-germany
Germany

“Thank you, I think you have opened my eyes. I was using API to implement Deep learning algorithms and each time I felt I was messing out on some things. So thank you very much.”

5.0
student-avatar

Tom P.

Machine Learning Engineer
flag-usa
United States

“I have now taken a few classes from some well-known AI profs at Stanford (Andrew Ng, Christopher Manning, …) with an overall average mark in the mid-90s. Just so you know, you are as good as any of them. But I hope that you already know that.

I wish you a happy and safe holiday season. I am glad you chose to share your knowledge with the rest of us.”

5.0
Start learning today

Join 30 day bootcamp for free

4.7/5 from — 600k+ learners