Naina Chaturvedi Profile picture
Jun 17 21 tweets 8 min read Twitter logo Read on Twitter
✅Time Series Forecasting explained in simple terms and how to use it ( with code).
A quick thread 🧵👇🏻
#Python #DataScience #MachineLearning #DataScientist #Programming #Coding #100DaysofCode #hubofml #deeplearning
Pic credits : ResearchGate Image
1/ Imagine you have a special notebook where you write down the temperature outside every day. You write down the temperature in the morning and also in the afternoon. Now, after a few months, you have a lot of temperature numbers in your notebook.
2/ Time series forecasting is like using magic to predict what the temperature might be in the future. You look at all the numbers you wrote down and try to find a pattern or a trend.
3/ Using this pattern, you can make a guess about what the temperature will be tomorrow or next week, even if you haven't written it down yet. Of course, it's not always perfect because weather can be tricky, but it helps you make an educated guess.
4/ Time series forecasting is a way to use the numbers you have from the past to make predictions about what might happen in the future. It's like having a crystal ball that can tell you what might come next based on what has already happened.
5/ Time series forecasting is a technique used to predict future values based on historical data. It involves analyzing a sequence of data points ordered over time. Use time series forecasting is to gain insights and make informed decisions based on future trends and patterns.
6/ Time Series Forecasting as Supervised Learning Implementation - Use a technique called "lagged variables." In this method, we use past observations of the time series data as input features to predict future values. Image
7/ Load and Explore Time Series Data Implementation - Image
8/ Normalize and Standardize Time Series Data Implementation -
Normalization and standardization are common preprocessing techniques that help bring data to a similar scale, making it easier for machine learning models to learn from the data. Image
9/ Feature Engineering With Time Series Data Implementation -
Feature engineering is an essential step in working with time series data. It involves creating new features or transforming existing features to improve the performance of machine learning models. Image
10/ Baseline Predictions for Time Series Forecasting Implementation -
In time series forecasting, creating baseline predictions can serve as a simple benchmark to evaluate the performance of more sophisticated models. Image
11/ ARIMA Model for Time Series Forecasting Implementation -
To create an ARIMA model for time series forecasting in Python, you can use the statsmodels library, which provides a comprehensive set of tools for time series analysis. Image
12/ Grid Search ARIMA Model Hyperparameters Implementation -
Grid searching ARIMA model hyperparameters involves searching over a range of values for the AR, I, and MA terms to find the combination that yields the best model performance. Image
13/ Persistence Forecast Model Implementation -
The persistence forecast model is a simple baseline model that assumes the future value of a time series will be the same as the most recent observed value. Image
14/ Autoregressive Forecast Model Implementation -
To implement an Autoregressive (AR) forecast model using Python, you can utilize the statsmodels library. The AR model uses past values of the time series to predict future values. Image
15/ Implementing Transfer Function Models (also known as input-output models) in Python requires identifying the appropriate input and output variables, estimating the model parameters, and performing predictions. Image
16/ Implementing Intervention Analysis and Outlier Detection in Python typically involves identifying and analyzing sudden shifts or anomalies in the time series data. Image
17/ Time Series Models with Heteroscedasticity - To model time series data with heteroscedasticity (varying levels of volatility), one popular approach is to use the Generalized Autoregressive Conditional Heteroscedasticity (GARCH) model. Image
18/ Segmented Time Series Modeling and Forecasting -
Segmented Time Series Modeling and Forecasting involves dividing a time series into segments based on specific criteria and building separate models for each segment. Image
19/ Nonlinear Time Series Models Implmentation -
Implementing Nonlinear Time Series Models in Python involves using appropriate nonlinear models such as the Nonlinear Autoregressive Exogenous (NARX) model. Image

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Naina Chaturvedi

Naina Chaturvedi Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @NainaChaturved8

Jun 14
✅Generative Adversarial Networks ( GANs) explained in simple terms and how to use it ( with code).
A quick thread 🧵👇🏻
#Python #DataScience #MachineLearning #DataScientist #Programming #Coding #100DaysofCode #hubofml #deeplearning
Pic credits : ResearchGate Image
1/ Imagine you have two friends, let's call them the "artist" and the "critic." The artist wants to draw something cool, and the critic wants to judge if the drawing is good or not. The artist tries to draw something, and the critic looks at it and says whether it's good or bad.
2/ Now, the artist really wants to improve, so they keep drawing and the critic keeps judging. Over time, the artist gets better and better at drawing because they learn from the critic's feedback. The artist wants to make drawings that the critic will say are really amazing!
Read 25 tweets
Dec 8, 2021
Quick Thread : 5 Cool Advanced Pandas Techniques for Data Scientists

🧵👇🏻
#Python #DataScience #MachineLearning #DataScientist #Programming #Coding #100DaysofCode #hubofml #Pandas
1. Split data using pandas
In the code below, we are splitting the data into a random sample of rows and removing them from the original data after dropping index values.
2. Binning Data
Binning is a technique to group/bin your data into multiple buckets which is very helpful if you dealing with continuous numeric data. In pandas you can bin the data using functions cut and cut. First check the shape of your data i.e no of rows and columns.
Read 7 tweets
Sep 24, 2021
Pandas is a fast, powerful, flexible and open source data analysis and manipulation tool.

A Mega thread 🧵covering 10 amazing Pandas hacks and how to efficiently use it(with Code Implementation)👇🏻
#Python #DataScientist #Programming #MachineLearning #100DaysofCode #DataScience
1/ Indexing data frames
Indexing means to selecting all/particular rows and columns of data from a DataFrame. In pandas it can be done using two constructs —
.loc() : location based
It has methods like scalar label, list of labels, slice object etc
.iloc() : Interger based
2/ Slicing data frames
In order to slice by labels you can use loc() attribute of the DataFrame.

Implementation —
Read 17 tweets
Sep 23, 2021
Projects Alert : 140 Python Projects with Source Code
You don't have to go to a university or pay hefty tuition to learn ML when you can learn for FREE.

An extensive list of 100+ Most Valuable Github Repository for ML, beginner to advanced.
theinsaneapp.com/2021/09/best-g…
#Python #DataScientist #Programming #Machinelearning #100DaysofCode
Read 5 tweets
Sep 20, 2021
10 Amazing Advanced Python Constructs that you can use to write efficient and clean Code
A Thread 🧵👇🏻
#Python #TensorFlow #DataScientist #Programming #Coding #100DaysofCode #DataScience #AI #MachineLearning
1/ DefaultDict
In python, a dictionary is a container that holds key-value pairs. Keys must be unique, immutable objects. If you try to access or modify keys that don’t exist in the dictionary, it raise a KeyError & break up your code execution ( continued..)
2/ (Continued..)To tackle this issue,Python defaultdict type, a dictionary-like class is used.If you try to access or modify a missing key,then defaultdict will automatically create the key & generate a default value for it
A defaultdict will never raise a KeyError ( Continued..)
Read 18 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us on Twitter!

:(