SlideShare a Scribd company logo
1 of 7
An AI Crystal Ball? How We Predict
Future Outcomes Using a Temporal
Fusion Transformer Model
Created by: Salvatore Tirabassi
Copyright 2024
An AI Crystal Ball? How We Predict Future Outcomes
Using a Temporal Fusion Transformer Model
Our data science and analytics teams handle and apply lots of data for
insightful decision-making. Last year, I presented the data science team with
a challenge: use historical data to predict a key business driver for each of
the next 8 periods. We wanted to have a data-driven preview of what we might
see in the in each of the next eight periods so that we could anticipate the
actual outcome and make better decisions with a an eight-period.
The data science team went to work researching ways we could do this and
tested a few different methodologies. We have lots of input data from our own
and public sources to feed any model we wanted to test, which worked well for
us. With that said, we had low expectations about finding a predictive model
that produced anything reliable.
Copyright 2024
An AI Crystal Ball? How We Predict Future Outcomes
Using a Temporal Fusion Transformer Model
Testing different algorithms is always our approach. For the semi-technical
readers, before settling on Temporal Fusion Transformer (TFT), the algorithms
we tested included ARIMA, VAR, GARCH, ARCH models (univariate), Prophet,
NHits, and Nbeats. TFT is an attention-based deep learning neural network
algorithm.
Using a mix of inputs, it produces a forecast over multiple periods in a
future time horizon that you can determine. You can predict days, weeks,
months quarters (really any interval is possible) into the future. Your
choice.
The picture below shows the concept of how TFT works.
Copyright 2024
An AI Crystal Ball? How We Predict Future Outcomes
Using a Temporal Fusion Transformer Model
A continuous improvement process best describes how we developed and continue
to refine the model. It’s a never ending process of improvement, as a true
crystal ball is never achieved. These are the four stages of development we
went through after choosing TFT as our algorithm:
Stage 1a: Selecting all logical observed inputs and test how they drive the
model. We started with over 100 and the final model only used 20. Go to Stage
1b as needed.
Stage 1b: Refining the time intervals of the observed inputs. Since the
inputs might come in varying time intervals (daily, weekly, monthly and
quarterly, etc…), we needed to find methods to standardize them. You should
choose an interval that matches the decision-making forecast you are
producing, if you can. Go back to Stage 1a as needed.
Copyright 2024
An AI Crystal Ball? How We Predict Future Outcomes
Using a Temporal Fusion Transformer Model
Stage 2: Model iteration and improvement. Complete back testing.
Examine early predictions. Go back to Stages 1a and 1b as needed.
At this point, you have probably settled on one or two of the
most promising algorithms.
Stage 3: Begin using in production and comparing predictions to
the future periods as they unfold. Learn and refine by going back
to any previous stage as needed.
Stage 4: Continuous improvement loop. Write long-term road map.
Test new inputs as they are presented. Continuous scrutiny of the
predictions against what actually happens – learn and make
changes by going back to any previous stage as needed.
Note that at any of the stages of development, you can use a TFT encoder decoder to measure the
importance of different inputs in the algorithm to learn which ones have the most impact on your
prediction.
Copyright 2024
An AI Crystal Ball? How We Predict Future Outcomes
Using a Temporal Fusion Transformer Model
As you can see the model has been refined to a level that it makes useful
predictions and handles volatility of the prediction with some reliability.
Right now, we don’t use this to predict the future down to the exact number,
which would be ideal, but we use it for a directional understanding of where
things are headed so we can make better decisions at the current decision
point.
Copyright 2024
Visit my content
https://salvatoretirabassi.substack.com
https://www.linkedin.com/in/stirabassi
https://tirabassi.com/
https://twitter.com/saltirabassi
https://www.instagram.com/salvatoretirabassi/
https://www.facebook.com/SalvatoreTirabassi
Copyright 2024

More Related Content

Similar to An AI crystal ball how we predict future outcomes using a temporal fusion transformer neural network model.pptx

Machine Learning for Forecasting: From Data to Deployment
Machine Learning for Forecasting: From Data to DeploymentMachine Learning for Forecasting: From Data to Deployment
Machine Learning for Forecasting: From Data to DeploymentAnant Agarwal
 
The pyramid approach to testtool selection
The pyramid approach to testtool selectionThe pyramid approach to testtool selection
The pyramid approach to testtool selectionBernd Beersma
 
Weapons of Math Instruction: Evolving from Data0-Driven to Science-Driven
Weapons of Math Instruction: Evolving from Data0-Driven to Science-DrivenWeapons of Math Instruction: Evolving from Data0-Driven to Science-Driven
Weapons of Math Instruction: Evolving from Data0-Driven to Science-Drivenindeedeng
 
MOVIE SUCCESS PREDICTION AND PERFORMANCE COMPARISON USING VARIOUS STATISTICAL...
MOVIE SUCCESS PREDICTION AND PERFORMANCE COMPARISON USING VARIOUS STATISTICAL...MOVIE SUCCESS PREDICTION AND PERFORMANCE COMPARISON USING VARIOUS STATISTICAL...
MOVIE SUCCESS PREDICTION AND PERFORMANCE COMPARISON USING VARIOUS STATISTICAL...ijaia
 
IRJET- Slant Analysis of Customer Reviews in View of Concealed Markov Display
IRJET- Slant Analysis of Customer Reviews in View of Concealed Markov DisplayIRJET- Slant Analysis of Customer Reviews in View of Concealed Markov Display
IRJET- Slant Analysis of Customer Reviews in View of Concealed Markov DisplayIRJET Journal
 
SplunkLive! Frankfurt 2018 - Predictive, Proactive, and Collaborative ML with...
SplunkLive! Frankfurt 2018 - Predictive, Proactive, and Collaborative ML with...SplunkLive! Frankfurt 2018 - Predictive, Proactive, and Collaborative ML with...
SplunkLive! Frankfurt 2018 - Predictive, Proactive, and Collaborative ML with...Splunk
 
Why learn Six Sigma, 4,28,15
Why learn Six Sigma, 4,28,15Why learn Six Sigma, 4,28,15
Why learn Six Sigma, 4,28,15James F. McCarthy
 
Reliability predictions essay FMS Reliability
Reliability predictions  essay FMS ReliabilityReliability predictions  essay FMS Reliability
Reliability predictions essay FMS ReliabilityAccendo Reliability
 
#ATAGTR2021 Presentation : "Unlocking the Power of Machine Learning in the Mo...
#ATAGTR2021 Presentation : "Unlocking the Power of Machine Learning in the Mo...#ATAGTR2021 Presentation : "Unlocking the Power of Machine Learning in the Mo...
#ATAGTR2021 Presentation : "Unlocking the Power of Machine Learning in the Mo...Agile Testing Alliance
 
A practical look at how to build & run IoT business logic
A practical look at how to build & run IoT business logicA practical look at how to build & run IoT business logic
A practical look at how to build & run IoT business logicVeselin Pizurica
 
SplunkLive! Munich 2018: Predictive, Proactive, and Collaborative ML with IT ...
SplunkLive! Munich 2018: Predictive, Proactive, and Collaborative ML with IT ...SplunkLive! Munich 2018: Predictive, Proactive, and Collaborative ML with IT ...
SplunkLive! Munich 2018: Predictive, Proactive, and Collaborative ML with IT ...Splunk
 
Story points vs hours choose wisely; turn the bane of project estimation into...
Story points vs hours choose wisely; turn the bane of project estimation into...Story points vs hours choose wisely; turn the bane of project estimation into...
Story points vs hours choose wisely; turn the bane of project estimation into...Katy Slemon
 
Intro to Data Analytics with Oscar's Director of Product
 Intro to Data Analytics with Oscar's Director of Product Intro to Data Analytics with Oscar's Director of Product
Intro to Data Analytics with Oscar's Director of ProductProduct School
 
Shaping Tomorrow - Forecasts
Shaping Tomorrow - ForecastsShaping Tomorrow - Forecasts
Shaping Tomorrow - ForecastsKerry Richardson
 
Taguchi and the tablecloth trick | Insight, issue 5
Taguchi and the tablecloth trick | Insight, issue 5Taguchi and the tablecloth trick | Insight, issue 5
Taguchi and the tablecloth trick | Insight, issue 5Team Consulting Ltd
 
Using machine learning for customer service (Data Talks Club)
Using machine learning for customer service (Data Talks Club)Using machine learning for customer service (Data Talks Club)
Using machine learning for customer service (Data Talks Club)Neal Lathia
 
The Testing Planet Issue 7
The Testing Planet Issue 7The Testing Planet Issue 7
The Testing Planet Issue 7Rosie Sherry
 
Symposium 2019 : Gestion de projet en Intelligence Artificielle
Symposium 2019 : Gestion de projet en Intelligence ArtificielleSymposium 2019 : Gestion de projet en Intelligence Artificielle
Symposium 2019 : Gestion de projet en Intelligence ArtificiellePMI-Montréal
 
RETRIEVING FUNDAMENTAL VALUES OF EQUITY
RETRIEVING FUNDAMENTAL VALUES OF EQUITYRETRIEVING FUNDAMENTAL VALUES OF EQUITY
RETRIEVING FUNDAMENTAL VALUES OF EQUITYIRJET Journal
 

Similar to An AI crystal ball how we predict future outcomes using a temporal fusion transformer neural network model.pptx (20)

Machine Learning for Forecasting: From Data to Deployment
Machine Learning for Forecasting: From Data to DeploymentMachine Learning for Forecasting: From Data to Deployment
Machine Learning for Forecasting: From Data to Deployment
 
The pyramid approach to testtool selection
The pyramid approach to testtool selectionThe pyramid approach to testtool selection
The pyramid approach to testtool selection
 
Weapons of Math Instruction: Evolving from Data0-Driven to Science-Driven
Weapons of Math Instruction: Evolving from Data0-Driven to Science-DrivenWeapons of Math Instruction: Evolving from Data0-Driven to Science-Driven
Weapons of Math Instruction: Evolving from Data0-Driven to Science-Driven
 
How to measure reliability 2
How to measure reliability 2How to measure reliability 2
How to measure reliability 2
 
MOVIE SUCCESS PREDICTION AND PERFORMANCE COMPARISON USING VARIOUS STATISTICAL...
MOVIE SUCCESS PREDICTION AND PERFORMANCE COMPARISON USING VARIOUS STATISTICAL...MOVIE SUCCESS PREDICTION AND PERFORMANCE COMPARISON USING VARIOUS STATISTICAL...
MOVIE SUCCESS PREDICTION AND PERFORMANCE COMPARISON USING VARIOUS STATISTICAL...
 
IRJET- Slant Analysis of Customer Reviews in View of Concealed Markov Display
IRJET- Slant Analysis of Customer Reviews in View of Concealed Markov DisplayIRJET- Slant Analysis of Customer Reviews in View of Concealed Markov Display
IRJET- Slant Analysis of Customer Reviews in View of Concealed Markov Display
 
SplunkLive! Frankfurt 2018 - Predictive, Proactive, and Collaborative ML with...
SplunkLive! Frankfurt 2018 - Predictive, Proactive, and Collaborative ML with...SplunkLive! Frankfurt 2018 - Predictive, Proactive, and Collaborative ML with...
SplunkLive! Frankfurt 2018 - Predictive, Proactive, and Collaborative ML with...
 
Why learn Six Sigma, 4,28,15
Why learn Six Sigma, 4,28,15Why learn Six Sigma, 4,28,15
Why learn Six Sigma, 4,28,15
 
Reliability predictions essay FMS Reliability
Reliability predictions  essay FMS ReliabilityReliability predictions  essay FMS Reliability
Reliability predictions essay FMS Reliability
 
#ATAGTR2021 Presentation : "Unlocking the Power of Machine Learning in the Mo...
#ATAGTR2021 Presentation : "Unlocking the Power of Machine Learning in the Mo...#ATAGTR2021 Presentation : "Unlocking the Power of Machine Learning in the Mo...
#ATAGTR2021 Presentation : "Unlocking the Power of Machine Learning in the Mo...
 
A practical look at how to build & run IoT business logic
A practical look at how to build & run IoT business logicA practical look at how to build & run IoT business logic
A practical look at how to build & run IoT business logic
 
SplunkLive! Munich 2018: Predictive, Proactive, and Collaborative ML with IT ...
SplunkLive! Munich 2018: Predictive, Proactive, and Collaborative ML with IT ...SplunkLive! Munich 2018: Predictive, Proactive, and Collaborative ML with IT ...
SplunkLive! Munich 2018: Predictive, Proactive, and Collaborative ML with IT ...
 
Story points vs hours choose wisely; turn the bane of project estimation into...
Story points vs hours choose wisely; turn the bane of project estimation into...Story points vs hours choose wisely; turn the bane of project estimation into...
Story points vs hours choose wisely; turn the bane of project estimation into...
 
Intro to Data Analytics with Oscar's Director of Product
 Intro to Data Analytics with Oscar's Director of Product Intro to Data Analytics with Oscar's Director of Product
Intro to Data Analytics with Oscar's Director of Product
 
Shaping Tomorrow - Forecasts
Shaping Tomorrow - ForecastsShaping Tomorrow - Forecasts
Shaping Tomorrow - Forecasts
 
Taguchi and the tablecloth trick | Insight, issue 5
Taguchi and the tablecloth trick | Insight, issue 5Taguchi and the tablecloth trick | Insight, issue 5
Taguchi and the tablecloth trick | Insight, issue 5
 
Using machine learning for customer service (Data Talks Club)
Using machine learning for customer service (Data Talks Club)Using machine learning for customer service (Data Talks Club)
Using machine learning for customer service (Data Talks Club)
 
The Testing Planet Issue 7
The Testing Planet Issue 7The Testing Planet Issue 7
The Testing Planet Issue 7
 
Symposium 2019 : Gestion de projet en Intelligence Artificielle
Symposium 2019 : Gestion de projet en Intelligence ArtificielleSymposium 2019 : Gestion de projet en Intelligence Artificielle
Symposium 2019 : Gestion de projet en Intelligence Artificielle
 
RETRIEVING FUNDAMENTAL VALUES OF EQUITY
RETRIEVING FUNDAMENTAL VALUES OF EQUITYRETRIEVING FUNDAMENTAL VALUES OF EQUITY
RETRIEVING FUNDAMENTAL VALUES OF EQUITY
 

More from CFO Pro+Analytics

Managing a Loan Portfolio with Great Analytical Tools.pdf
Managing a Loan Portfolio with Great Analytical Tools.pdfManaging a Loan Portfolio with Great Analytical Tools.pdf
Managing a Loan Portfolio with Great Analytical Tools.pdfCFO Pro+Analytics
 
Recurring Revenue Modeling Can be Tricky, Using Cancellation Curves Can Impro...
Recurring Revenue Modeling Can be Tricky, Using Cancellation Curves Can Impro...Recurring Revenue Modeling Can be Tricky, Using Cancellation Curves Can Impro...
Recurring Revenue Modeling Can be Tricky, Using Cancellation Curves Can Impro...CFO Pro+Analytics
 
What's Really Going on With Consumer Balance Sheets?
What's Really Going on With Consumer Balance Sheets?What's Really Going on With Consumer Balance Sheets?
What's Really Going on With Consumer Balance Sheets?CFO Pro+Analytics
 
Using a Survival Model for Credit Risk Scoring and Loan Pricing Instead of XG...
Using a Survival Model for Credit Risk Scoring and Loan Pricing Instead of XG...Using a Survival Model for Credit Risk Scoring and Loan Pricing Instead of XG...
Using a Survival Model for Credit Risk Scoring and Loan Pricing Instead of XG...CFO Pro+Analytics
 
Applying Predictive Modeling to Crypto Futures Trading
Applying Predictive Modeling to Crypto Futures TradingApplying Predictive Modeling to Crypto Futures Trading
Applying Predictive Modeling to Crypto Futures TradingCFO Pro+Analytics
 
How We Replaced an Implementation of Workday Adaptive Planning Enterprise Man...
How We Replaced an Implementation of Workday Adaptive Planning Enterprise Man...How We Replaced an Implementation of Workday Adaptive Planning Enterprise Man...
How We Replaced an Implementation of Workday Adaptive Planning Enterprise Man...CFO Pro+Analytics
 
Cracks in Consumer Credit Card Delinquency Despite High Cash Balances.pptx
Cracks in Consumer Credit Card Delinquency Despite High Cash Balances.pptxCracks in Consumer Credit Card Delinquency Despite High Cash Balances.pptx
Cracks in Consumer Credit Card Delinquency Despite High Cash Balances.pptxCFO Pro+Analytics
 
Consumer Credit Card Interest Savings in a Decreasing Rate Environment.pptx
Consumer Credit Card Interest Savings in a Decreasing Rate Environment.pptxConsumer Credit Card Interest Savings in a Decreasing Rate Environment.pptx
Consumer Credit Card Interest Savings in a Decreasing Rate Environment.pptxCFO Pro+Analytics
 
How We Replaced an Implementation of Workday Adaptive Planning Enterprise Man...
How We Replaced an Implementation of Workday Adaptive Planning Enterprise Man...How We Replaced an Implementation of Workday Adaptive Planning Enterprise Man...
How We Replaced an Implementation of Workday Adaptive Planning Enterprise Man...CFO Pro+Analytics
 
Unveiling the Enigma Contrasting Consumer Cash Reserves with Escalating Credi...
Unveiling the Enigma Contrasting Consumer Cash Reserves with Escalating Credi...Unveiling the Enigma Contrasting Consumer Cash Reserves with Escalating Credi...
Unveiling the Enigma Contrasting Consumer Cash Reserves with Escalating Credi...CFO Pro+Analytics
 
Decoding Consumer Balance Sheets a Deeper Dive Beyond Savings Rates.pptx
Decoding Consumer Balance Sheets a Deeper Dive Beyond Savings Rates.pptxDecoding Consumer Balance Sheets a Deeper Dive Beyond Savings Rates.pptx
Decoding Consumer Balance Sheets a Deeper Dive Beyond Savings Rates.pptxCFO Pro+Analytics
 
How we replaced an implementation of workday adaptive planning enterprise man...
How we replaced an implementation of workday adaptive planning enterprise man...How we replaced an implementation of workday adaptive planning enterprise man...
How we replaced an implementation of workday adaptive planning enterprise man...CFO Pro+Analytics
 
LCV-Understanding lifetime customer value-.pptx
LCV-Understanding lifetime customer value-.pptxLCV-Understanding lifetime customer value-.pptx
LCV-Understanding lifetime customer value-.pptxCFO Pro+Analytics
 
Unlocking consumer loan pricing a deep dive into survival regression algorith...
Unlocking consumer loan pricing a deep dive into survival regression algorith...Unlocking consumer loan pricing a deep dive into survival regression algorith...
Unlocking consumer loan pricing a deep dive into survival regression algorith...CFO Pro+Analytics
 
Unlocking Value Creation the Power of Lifetime Customer Value in Operational ...
Unlocking Value Creation the Power of Lifetime Customer Value in Operational ...Unlocking Value Creation the Power of Lifetime Customer Value in Operational ...
Unlocking Value Creation the Power of Lifetime Customer Value in Operational ...CFO Pro+Analytics
 
Using a Survival Regression to Evaluate.pptx
Using a Survival Regression to Evaluate.pptxUsing a Survival Regression to Evaluate.pptx
Using a Survival Regression to Evaluate.pptxCFO Pro+Analytics
 
Unraveling the Complexities of Consumer Balances Sheets.pptx
Unraveling the Complexities of Consumer Balances Sheets.pptxUnraveling the Complexities of Consumer Balances Sheets.pptx
Unraveling the Complexities of Consumer Balances Sheets.pptxCFO Pro+Analytics
 

More from CFO Pro+Analytics (17)

Managing a Loan Portfolio with Great Analytical Tools.pdf
Managing a Loan Portfolio with Great Analytical Tools.pdfManaging a Loan Portfolio with Great Analytical Tools.pdf
Managing a Loan Portfolio with Great Analytical Tools.pdf
 
Recurring Revenue Modeling Can be Tricky, Using Cancellation Curves Can Impro...
Recurring Revenue Modeling Can be Tricky, Using Cancellation Curves Can Impro...Recurring Revenue Modeling Can be Tricky, Using Cancellation Curves Can Impro...
Recurring Revenue Modeling Can be Tricky, Using Cancellation Curves Can Impro...
 
What's Really Going on With Consumer Balance Sheets?
What's Really Going on With Consumer Balance Sheets?What's Really Going on With Consumer Balance Sheets?
What's Really Going on With Consumer Balance Sheets?
 
Using a Survival Model for Credit Risk Scoring and Loan Pricing Instead of XG...
Using a Survival Model for Credit Risk Scoring and Loan Pricing Instead of XG...Using a Survival Model for Credit Risk Scoring and Loan Pricing Instead of XG...
Using a Survival Model for Credit Risk Scoring and Loan Pricing Instead of XG...
 
Applying Predictive Modeling to Crypto Futures Trading
Applying Predictive Modeling to Crypto Futures TradingApplying Predictive Modeling to Crypto Futures Trading
Applying Predictive Modeling to Crypto Futures Trading
 
How We Replaced an Implementation of Workday Adaptive Planning Enterprise Man...
How We Replaced an Implementation of Workday Adaptive Planning Enterprise Man...How We Replaced an Implementation of Workday Adaptive Planning Enterprise Man...
How We Replaced an Implementation of Workday Adaptive Planning Enterprise Man...
 
Cracks in Consumer Credit Card Delinquency Despite High Cash Balances.pptx
Cracks in Consumer Credit Card Delinquency Despite High Cash Balances.pptxCracks in Consumer Credit Card Delinquency Despite High Cash Balances.pptx
Cracks in Consumer Credit Card Delinquency Despite High Cash Balances.pptx
 
Consumer Credit Card Interest Savings in a Decreasing Rate Environment.pptx
Consumer Credit Card Interest Savings in a Decreasing Rate Environment.pptxConsumer Credit Card Interest Savings in a Decreasing Rate Environment.pptx
Consumer Credit Card Interest Savings in a Decreasing Rate Environment.pptx
 
How We Replaced an Implementation of Workday Adaptive Planning Enterprise Man...
How We Replaced an Implementation of Workday Adaptive Planning Enterprise Man...How We Replaced an Implementation of Workday Adaptive Planning Enterprise Man...
How We Replaced an Implementation of Workday Adaptive Planning Enterprise Man...
 
Unveiling the Enigma Contrasting Consumer Cash Reserves with Escalating Credi...
Unveiling the Enigma Contrasting Consumer Cash Reserves with Escalating Credi...Unveiling the Enigma Contrasting Consumer Cash Reserves with Escalating Credi...
Unveiling the Enigma Contrasting Consumer Cash Reserves with Escalating Credi...
 
Decoding Consumer Balance Sheets a Deeper Dive Beyond Savings Rates.pptx
Decoding Consumer Balance Sheets a Deeper Dive Beyond Savings Rates.pptxDecoding Consumer Balance Sheets a Deeper Dive Beyond Savings Rates.pptx
Decoding Consumer Balance Sheets a Deeper Dive Beyond Savings Rates.pptx
 
How we replaced an implementation of workday adaptive planning enterprise man...
How we replaced an implementation of workday adaptive planning enterprise man...How we replaced an implementation of workday adaptive planning enterprise man...
How we replaced an implementation of workday adaptive planning enterprise man...
 
LCV-Understanding lifetime customer value-.pptx
LCV-Understanding lifetime customer value-.pptxLCV-Understanding lifetime customer value-.pptx
LCV-Understanding lifetime customer value-.pptx
 
Unlocking consumer loan pricing a deep dive into survival regression algorith...
Unlocking consumer loan pricing a deep dive into survival regression algorith...Unlocking consumer loan pricing a deep dive into survival regression algorith...
Unlocking consumer loan pricing a deep dive into survival regression algorith...
 
Unlocking Value Creation the Power of Lifetime Customer Value in Operational ...
Unlocking Value Creation the Power of Lifetime Customer Value in Operational ...Unlocking Value Creation the Power of Lifetime Customer Value in Operational ...
Unlocking Value Creation the Power of Lifetime Customer Value in Operational ...
 
Using a Survival Regression to Evaluate.pptx
Using a Survival Regression to Evaluate.pptxUsing a Survival Regression to Evaluate.pptx
Using a Survival Regression to Evaluate.pptx
 
Unraveling the Complexities of Consumer Balances Sheets.pptx
Unraveling the Complexities of Consumer Balances Sheets.pptxUnraveling the Complexities of Consumer Balances Sheets.pptx
Unraveling the Complexities of Consumer Balances Sheets.pptx
 

Recently uploaded

BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxMohammedJunaid861692
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptxAnupama Kate
 
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Delhi Call girls
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Delhi Call girls
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...SUHANI PANDEY
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxolyaivanovalion
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfRachmat Ramadhan H
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz1
 
Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...shambhavirathore45
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionfulawalesam
 
Zuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptxZuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptxolyaivanovalion
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfMarinCaroMartnezBerg
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxolyaivanovalion
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxolyaivanovalion
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Researchmichael115558
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Delhi Call girls
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceDelhi Call girls
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfLars Albertsson
 
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...shivangimorya083
 

Recently uploaded (20)

BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptxBPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
BPAC WITH UFSBI GENERAL PRESENTATION 18_05_2017-1.pptx
 
100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx100-Concepts-of-AI by Anupama Kate .pptx
100-Concepts-of-AI by Anupama Kate .pptx
 
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
Best VIP Call Girls Noida Sector 22 Call Me: 8448380779
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
Best VIP Call Girls Noida Sector 39 Call Me: 8448380779
 
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
VIP Model Call Girls Hinjewadi ( Pune ) Call ON 8005736733 Starting From 5K t...
 
Ravak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptxRavak dropshipping via API with DroFx.pptx
Ravak dropshipping via API with DroFx.pptx
 
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdfMarket Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
Market Analysis in the 5 Largest Economic Countries in Southeast Asia.pdf
 
Invezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signalsInvezz.com - Grow your wealth with trading signals
Invezz.com - Grow your wealth with trading signals
 
Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...Determinants of health, dimensions of health, positive health and spectrum of...
Determinants of health, dimensions of health, positive health and spectrum of...
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
Zuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptxZuja dropshipping via API with DroFx.pptx
Zuja dropshipping via API with DroFx.pptx
 
FESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdfFESE Capital Markets Fact Sheet 2024 Q1.pdf
FESE Capital Markets Fact Sheet 2024 Q1.pdf
 
Carero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptxCarero dropshipping via API with DroFx.pptx
Carero dropshipping via API with DroFx.pptx
 
Smarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptxSmarteg dropshipping via API with DroFx.pptx
Smarteg dropshipping via API with DroFx.pptx
 
Discover Why Less is More in B2B Research
Discover Why Less is More in B2B ResearchDiscover Why Less is More in B2B Research
Discover Why Less is More in B2B Research
 
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
Call Girls in Sarai Kale Khan Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts S...
 
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort ServiceBDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
BDSM⚡Call Girls in Mandawali Delhi >༒8448380779 Escort Service
 
Schema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdfSchema on read is obsolete. Welcome metaprogramming..pdf
Schema on read is obsolete. Welcome metaprogramming..pdf
 
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...Vip Model  Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
Vip Model Call Girls (Delhi) Karol Bagh 9711199171✔️Body to body massage wit...
 

An AI crystal ball how we predict future outcomes using a temporal fusion transformer neural network model.pptx

  • 1. An AI Crystal Ball? How We Predict Future Outcomes Using a Temporal Fusion Transformer Model Created by: Salvatore Tirabassi Copyright 2024
  • 2. An AI Crystal Ball? How We Predict Future Outcomes Using a Temporal Fusion Transformer Model Our data science and analytics teams handle and apply lots of data for insightful decision-making. Last year, I presented the data science team with a challenge: use historical data to predict a key business driver for each of the next 8 periods. We wanted to have a data-driven preview of what we might see in the in each of the next eight periods so that we could anticipate the actual outcome and make better decisions with a an eight-period. The data science team went to work researching ways we could do this and tested a few different methodologies. We have lots of input data from our own and public sources to feed any model we wanted to test, which worked well for us. With that said, we had low expectations about finding a predictive model that produced anything reliable. Copyright 2024
  • 3. An AI Crystal Ball? How We Predict Future Outcomes Using a Temporal Fusion Transformer Model Testing different algorithms is always our approach. For the semi-technical readers, before settling on Temporal Fusion Transformer (TFT), the algorithms we tested included ARIMA, VAR, GARCH, ARCH models (univariate), Prophet, NHits, and Nbeats. TFT is an attention-based deep learning neural network algorithm. Using a mix of inputs, it produces a forecast over multiple periods in a future time horizon that you can determine. You can predict days, weeks, months quarters (really any interval is possible) into the future. Your choice. The picture below shows the concept of how TFT works. Copyright 2024
  • 4. An AI Crystal Ball? How We Predict Future Outcomes Using a Temporal Fusion Transformer Model A continuous improvement process best describes how we developed and continue to refine the model. It’s a never ending process of improvement, as a true crystal ball is never achieved. These are the four stages of development we went through after choosing TFT as our algorithm: Stage 1a: Selecting all logical observed inputs and test how they drive the model. We started with over 100 and the final model only used 20. Go to Stage 1b as needed. Stage 1b: Refining the time intervals of the observed inputs. Since the inputs might come in varying time intervals (daily, weekly, monthly and quarterly, etc…), we needed to find methods to standardize them. You should choose an interval that matches the decision-making forecast you are producing, if you can. Go back to Stage 1a as needed. Copyright 2024
  • 5. An AI Crystal Ball? How We Predict Future Outcomes Using a Temporal Fusion Transformer Model Stage 2: Model iteration and improvement. Complete back testing. Examine early predictions. Go back to Stages 1a and 1b as needed. At this point, you have probably settled on one or two of the most promising algorithms. Stage 3: Begin using in production and comparing predictions to the future periods as they unfold. Learn and refine by going back to any previous stage as needed. Stage 4: Continuous improvement loop. Write long-term road map. Test new inputs as they are presented. Continuous scrutiny of the predictions against what actually happens – learn and make changes by going back to any previous stage as needed. Note that at any of the stages of development, you can use a TFT encoder decoder to measure the importance of different inputs in the algorithm to learn which ones have the most impact on your prediction. Copyright 2024
  • 6. An AI Crystal Ball? How We Predict Future Outcomes Using a Temporal Fusion Transformer Model As you can see the model has been refined to a level that it makes useful predictions and handles volatility of the prediction with some reliability. Right now, we don’t use this to predict the future down to the exact number, which would be ideal, but we use it for a directional understanding of where things are headed so we can make better decisions at the current decision point. Copyright 2024