
Explore time series analysis with Python, including NumPy and pandas for datetime indexing and resampling, Matplotlib for visualization, ARIMA and seasonal ARIMA with exogenous variables, and multivariate LSTM forecasting.
Explore Python IDEs for time series analysis, including Jupyter notebooks, PyCharm, and Spyder, highlighting Spyder's user-friendly interface and variable explorer while noting the next session will cover Spyder installation.
Install Python first and then install Spyder via pip, ensuring pip is recognized in the command prompt or terminal. Open Spyder to begin exploring its environment for time series work.
Explore the Spyder IDE interface, configure the Python interpreter and pip-based setup, customize appearance and keyboard shortcuts, and prep your environment for time series analysis in Python.
Install the required libraries for time series analysis with python using pip, including numpy, pandas, matplotlib, seaborn, scikit-learn, statsmodels, pmdarima, keras, and tensorflow.
Familiarize yourself with numpy, pandas, and matplotlib as core packages, using tutorials from a prior Udemy course. The Spyder environment may differ; skip this section if you are already proficient.
Master numpy basics for time series analysis in python by importing numpy as np, creating a 2 by 3 array, and exploring it in Spyder's variable explorer.
Explore numpy arrays by creating two 2x2 arrays and performing matrix multiplication with the @ operator or np.dot, or element-wise multiplication with the * operator and np.multiply.
Learn element-wise addition and subtraction of NumPy arrays using operators and np.subtract, then explore broadcasting when adding scalars or differently shaped arrays, and use np.sum to total elements.
Master NumPy division by applying elementwise division and floor division on arrays, using NumPy divide and floor_divide with scalar or array divisors, and explore NumPy broadcasting and sqrt.
Learn to generate random data with NumPy, creating normal and uniform distributions, random arrays, zeros and ones, and practice filtering arrays with boolean logic.
Review mean, variance, standard deviation, and median in numpy, compute them for one- and two-dimensional arrays with axis, explore normal and uniform distributions, and preview pandas.
Explore pandas basics by creating series and dataframes, labeling with custom indices, filtering data, and accessing values and indices to prepare data for analysis.
Learn how to create and customize a Pandas dataframe from a NumPy array, set custom indices and column names, and add new columns for preprocessing in Python.
Explore selecting data with pandas iloc and loc, distinguishing label-based versus integer-based indexing, using row and column positions, slices, and practical examples for extracting subsets.
Explore cleaning and preprocessing with pandas, including dropping columns, replacing values (even via dictionaries), inspecting with head and tail, sorting indices, and loading data from csv or Excel.
Explore visualizing data with matplotlib and pyplot, plotting a line graph of earth’s temperature index from NASA data. Add x and y labels, a title, and adjust font size.
Visualize monthly electricity consumption for two customers with Matplotlib, using colors, markers, labels, and a legend. Create side-by-side subplots to compare graphs clearly.
Learn to create scatter plots, histograms, and bar charts with matplotlib, customizing color, labels, titles, grid, and legends for clear data visualization.
Explore creating informative, side-by-side bar charts in matplotlib, adjusting bar width, using months as numeric x values, and labeling axes to compare multiple customers.
Learn how to visualize box plots with Matplotlib, customize notched and rectangular forms, and set colors for box, whiskers, caps, and median to aid outlier detection.
generate a datetime column with pandas using date_range from a start date with specified periods and frequency, covering monthly and hourly time series analysis in Python.
set datetime as index for time series by creating a numpy array, converting to a pandas data frame, and applying set_index with a date time, including parse_dates when reading csv.
Learn how to resample pandas data by changing its datetime index frequency and resolution, using a rule and mean aggregation to convert hourly data to daily or yearly.
Explore arima modeling for time series forecasting, including autoregressive, integrated, moving average components, with p, d, q and differencing to stationarity, and use acf, pacf and aic, bic, qic.
Import key libraries, prepare a date-time indexed dataset, and develop the first ARIMA model on temperature data, using seasonal decomposition to inspect trend and seasonality.
Explore arima model development by using grid search with auto_arima to determine p, d, and q, compare models by aic, and confirm the best arima configuration for series forecasting.
Develop an arima model with order (1,1,2) on the training data, fit it, and generate level predictions. Compare forecasts to test data with matplotlib visuals and rmse.
Explore how the SARIMAX model extends ARIMA with seasonality and exogenous variables, define PDQ and seasonal length, and use grid search guided by decomposition.
Explore developing a SARIMAX model to forecast temperature using the same data as ARIMA, including exogenous variables, train/test splits, and model comparison.
Learn how to develop a sarimax model with exogenous variables using auto.arima, determine seasonality with seasonal_decompose, and set m=7 to forecast temperature data.
Develop and compare a sarimax model with exogenous inputs to arima for temperature forecasting. Train, fit, and predict, then visualize results with matplotlib and evaluate rmse to show improvement.
Explore the basics of deep learning by comparing neurons—dendrites, cell body, axon, and terminals—to a neural network with input, hidden, and output layers, weights, bias, and activation function.
Explore activation functions, including threshold, sigmoid, tanh, and ReLU, and see how their ranges and gradients guide time series modeling decisions.
Examine how a practical neural network learns: from input and hidden layers with selective connections, through the output's predicted value and backpropagation to minimize the cost function across all data.
Explore how gradient descent optimizes neural networks, comparing batch and stochastic approaches, tuning learning rates to converge to global or local minima, and applying backpropagation in a feedforward network.
Discover recurrent neural networks for time series analysis, featuring memory through hidden-layer feedback and back propagation through time (Bptt). Compare RNNs with feedforward nets and explore challenges.
Explore how long short-term memory (LSTM) networks overcome long-term dependencies in recurrent neural networks and enable robust time series forecasting with Python.
Develop a univariate LSTM workflow by loading solar radiation data, cleaning missing values, splitting training and test sets, and scaling with a min-max scaler to 0-1.
Explores the lookback period and window size in a univariate LSTM model, showing how previous time steps train the next value, and how seasonality and computational cost influence choices.
Create a 24-hour lookback window to build univariate x_train and y_train from the training set, forming batches for the LSTM model. Convert the lists to NumPy arrays for training.
Develop a univariate time series LSTM in Keras, building a four hidden layer network with dropout and a dense output, trained with Adam optimizer and mean squared error.
Develop a univariate LSTM for time series forecasting by forming lookback batches, testing with the same structure, and using a sliding window to generate successive future predictions.
Test a univariate lstm model by creating test batches from the 24-hour window, forecasting 48 hours, updating inputs, and evaluating with rmse and r-squared.
Develop a multivariate LSTM model to forecast electricity consumption from humidity and temperature, using 24-hour rolling windows, data cleaning, scaling, and train-test preparation.
Develop a multivariate LSTM model in Python using Keras, with stacked LSTM layers and dropout, trained on Xtrain and Ytrain, compiled with Adam and mean squared error, saved for forecasting.
Explore testing a multivariate LSTM for time series by using a lookback window of multiple variables to predict the next target value and roll forward with predictions.
Develop a multivariate LSTM model using the last 24 hours as a 3-feature input to predict the next 48 hours, by building and testing batches from the scaled training set.
Develop a multivariate LSTM model for forecasting in Python, using a min-max scaler to invert a single feature, and evaluate with rmse and mean absolute percentage error over 48 hours.
Dear Data Scientists,
Congratulations on completing this course. If you are interested in the way I teach and my other related courses with MAXIMUM DISCOUNT, check out the below Google doc with updated links of the coupons:
https://docs.google.com/document/d/1dhXrSFXA36DAwV3b2ZM7LYJQW50DFRlCleRL_hhFjp4/edit?usp=sharing
"Time Series Analysis and Forecasting with Python" Course is an ultimate source for learning the concepts of Time Series and forecast into the future.
In this course, the most famous methods such as statistical methods (ARIMA and SARIMAX) and Deep Learning Method (LSTM) are explained in detail. Furthermore, several Real World projects are developed in a Python environment and have been explained line by line!
If you are a researcher, a student, a programmer, or a data science enthusiast that is seeking a course that shows you all about time series and prediction from A-Z, you are in a right place. Just check out what you will learn in this course below:
Basic libraries (NumPy, Pandas, Matplotlib)
How to use Pandas library to create DateTime index and how to set that as your Dataset index
What are statistical models?
How to forecast into future using the ARIMA model?
How to capture the seasonality using the SARIMAX model?
How to use endogenous variables and predict into future?
What is Deep Learning (Very Basic Concepts)
All about Artificial and Recurrent Neural Network!
How the LSTM method Works!
How to develop an LSTM model with a single variate?
How to develop an LSTM model using multiple variables (Multivariate)
As I mentioned above, in this course we tried to explain how you can develop an LSTM model when you have several predictors (variables) for the first time and you can use that for several applications and use the source code for your project as well!
This course is for Everyone! yes everyone! that wants t to learn time-series and forecasting into the future using statistics and artificial intelligence with any kind of background! Even if you are not a programmer, I show you how to code and develop your model line by line!
If you want to master the basics of Machine Learning in Python as well, you can check my other courses!