SlideShare une entreprise Scribd logo
1  sur  49
Demantra Forecasting Methods
   Trinamix the Black Box
    A Look Inside Technologies

         Amit Sharma
          Trinamix
Accurate forecasting is easy…



         Here is the formula for the same…..




                                               2
Why it’s hard to be accurate?




    Forecasting is an art
    of predicting the
    future by looking the
    past !




                                3
Why is it important to be accurate ?




                                       4
Scope of discussion

 • General Forecasting
   – Evolution
   – General Methods
 • Forecasting in Demantra
   – Setup and consideration
      •   Forecast Tree
      •   Parameters
      •   Engine Definition, Types and nodes
      •   Forecasting process
      •   Advanced Analytics
      •   Causals
Forecasting Evolution


                                            Advanced
                              Exponential   Methods
                              Smoothing
                    Moving
                    Average

      Naïve
      forecasting
Naïve Models

  Naïve forecasting models are based exclusively on historical
  observation of sales
  They do not explain the underlying casual relationships which
  produce the variable being forecasted.


  Advantage: Inexpensive to develop, store data
       and operate.
  Disadvantage: Do not consider any possible
       causal relationships that underlie the
       forecasted variable.

  Naïve models
  1. To use actual sales of the current period as the
         forecast for the next period; then, Yt+1 = Yt
  2. If we consider trends, then, Yt+1 = Yt + (Yt – Yt-1)
Smoothing : Moving Averages

  Definition:

       Averages that are updated as new information is received.

       With the moving average a manager simply employs, the most
       recent observations, drops the oldest observation, in the earlier
       calculation and calculates an average which is used as the
       forecast for the next period.

  Limitations:
  •    One has to retain a great deal of data.
  •    All data in the sample are weighed equally.
Smoothing: Exponential

  Uses weighted average of past data as the basis for a forecast.

  Y new = a Y old + (1-a) Y’ old, where,

  Y new = exponentially smoothed average to be used as the forecast
  Y old = most recent actual data
  Y’old = most recent smoothed forecast
  a = smoothing constant
  Smoothing constant (or weight) has a value between 0 and 1 inclusive.




                                                                          9
Zero Mean White Noise

                                                              Series


    3


    2


    1


    0                                                                                                       Series


    -1


    -2


    -3
         1
             6
                 11
                      16
                           21
                                26
                                     31
                                          36
                                               41
                                                    46
                                                         51
                                                               56
                                                                    61
                                                                         66
                                                                              71
                                                                                   76
                                                                                        81
                                                                                             86
                                                                                                  91
                                                                                                       96
Zero Mean White Noise


     3



     2


     1


                                                                                                            Series
     0
                                                                                                            0.1


     -1



     -2


     -3
          1
              6
                  11
                       16
                            21
                                 26
                                      31
                                           36
                                                41
                                                     46
                                                          51
                                                               56
                                                                    61
                                                                         66
                                                                              71
                                                                                   76
                                                                                        81
                                                                                             86
                                                                                                  91
                                                                                                       96
Zero Mean White Noise


      3



      2


      1

                                                                                                            Series
      0                                                                                                     0.1
                                                                                                            0.3

     -1



     -2


     -3
          1
              6
                  11
                       16
                            21
                                 26
                                      31
                                           36
                                                41
                                                     46
                                                          51
                                                               56
                                                                    61
                                                                         66
                                                                              71
                                                                                   76
                                                                                        81
                                                                                             86
                                                                                                  91
                                                                                                       96
White Noise with Shifting Mean


      4


      3


      2


      1

                                                                                                            Series
      0
                                                                                                            Mean

     -1


     -2


     -3
                  11
                       16
                            21
                                 26
                                      31
                                           36
                                                41
                                                     46
                                                          51
                                                               56
                                                                    61
                                                                         66
                                                                              71
                                                                                   76
                                                                                        81
                                                                                             86
                                                                                                  91
                                                                                                       96
          1
              6




     -4
White Noise with Shifting Mean


      4


      3

      2


      1
                                                                                                             Series
      0                                                                                                      0.1
                                                                                                             Mean
      -1


      -2

      -3

      -4
           1
               6
                   11
                        16
                             21
                                  26
                                       31
                                            36
                                                 41
                                                      46
                                                           51
                                                                56
                                                                     61
                                                                          66
                                                                               71
                                                                                    76
                                                                                         81
                                                                                              86
                                                                                                   91
                                                                                                        96
White Noise with Shifting Mean


    4


    3

    2


    1
                                                                                                           Series
    0                                                                                                      0.3
                                                                                                           Mean
    -1


    -2

    -3

    -4
         1
             6
                 11
                      16
                           21
                                26
                                     31
                                          36
                                               41
                                                    46
                                                         51
                                                              56
                                                                   61
                                                                        66
                                                                             71
                                                                                  76
                                                                                       81
                                                                                            86
                                                                                                 91
                                                                                                      96
Best Value for Alpha



                                                     Actual vs Forecast for
                                                         Various Alpha

                    2

                  1.5

                    1

                  0.5                                                                                        Demand
       Forecast




                                                                                                             a=0.1
                    0
                                                                                                             a=0.3
                  -0.5                                                                                       a=0.9

                   -1

                  -1.5

                   -2
                         1

                             7
                                 13
                                      19

                                           25
                                                31

                                                     37
                                                          43
                                                                49

                                                                     55
                                                                          61

                                                                               67
                                                                                    73
                                                                                         79

                                                                                              85
                                                                                                   91

                                                                                                        97
                                                               Period
Best Value for Alpha


                                        Series and Forecast using Alpha=0.9

                 2
                                                                      Might look good, but is it?
               1.5

                 1

               0.5
    Forecast




                 0

               -0.5

                -1

               -1.5

                -2
                      1
                          6
                              11

                                   16
                                        21
                                             26

                                                  31
                                                       36
                                                            41

                                                                 46
                                                                      51
                                                                           56

                                                                                61
                                                                                     66
                                                                                          71

                                                                                               76
                                                                                                    81
                                                                                                         86

                                                                                                              91
                                                                                                                   96
                                                                                                                        101
                                                                  Period
Best Value for Alpha


                                       Series and Forecast using Alpha=0.9

                2

              1.5

                1

              0.5
   Forecast




                0

              -0.5

               -1

              -1.5

               -2
                     1
                         6
                             11

                                  16
                                       21
                                            26

                                                 31
                                                      36
                                                           41

                                                                46
                                                                     51
                                                                          56

                                                                               61
                                                                                    66
                                                                                         71

                                                                                              76
                                                                                                   81
                                                                                                        86

                                                                                                             91
                                                                                                                  96
                                                                                                                       101
                                                                 Period
Best Value for Alpha
Exponential smoothing

  The following Rules of Thumb may be given :
  1. When the magnitude of the random variations is
       large, give a lower value to “a” so as to average out the
       effects of the random variation quickly.
  2. When the magnitude of the random variation is
       moderate, a large value can be assigned to the
       smoothing constant “a”.
  3. It has been found appropriate to have “a” between 0.1
       and 0.2 in many systems.

      This method has been successfully applied by
      banks, manufacturing companies, wholesalers and other
      organizations.
FORECASTING
IN DEMANTRA
              21
Demantra Forecasting Ideology


       Most Solutions                            Demantra
  •   Best Of Breed                      • Bayesian Estimator
      – A series of models execute at      • Library of models is executed
        a “node”
                                           • Based on goodness of fit models
      – Model best meeting selection         combined into single result set
        criteria chosen
                                           • Nuances of models maintained
      – Any information not captured
        by selected model is lost


  •   One Forecasting Level              • Variable Forecast Level
      – Not flexible for noise or lack     • Forecast at most applicable level
        of historical information
Traditional fit




                  23
Oracle Demantra – Bayesian Model

   Estimating techniques based on the assumption that the variable to be forecast
   (dependent variable) has cause-and-effect relationship with one or more other
   (independent) variables.




                                                                                    24
Demantra
Trinamix Technologies
        Engine
Setup and Considerations
Forecast Tree Definition


  4
                      The forecast tree determines
                      which item/location aggregation
                      combinations the engine will work

  3
                      on.

                      The highest level (highest number)

  2
                      is ALWAYS all items/all locations
                      and is fictive- not actually used.

                      The second highest level is the
   1                  FIRST level actually examined for
                      forecast
Traversing the Forecast Tree

                    The engine examines each node in the
 4                    forecast tree, from top to bottom:-

                    • The nodes are examined to see if a
 3                    forecast is possible at son of the node
                      and traversal continues
                    • Once a stopping rule is reached on
 2                    the downward traversal forecast is
                      executed


 1                  Stopping Rules
                    • Reached lowest tree level
                    • Reached desired forecast level
                    • Insufficient data available at lower
                      levels
Traversing the Forecast Tree Continued



  4                       • Once a stop has been reached
                            generate a forecast

  3                       • Traverse to brothers and continue
                            traversal

  2                       • Before going up check if any sons
                            require a forecast if required generate
                            a forecast
  1                       • Continue until entire tree traversed
Forecast Split


 4               • Higher aggregation of forecast split
                   to lower members who do not have
 3                 a forecast

                 • Forecast is split according to
 2                 defined proportion rule-set

                 • Forecast always stored at lowest
 1                 system aggregation to enable view
                   of data at any query level
Forecast Tree Configuration Continued

  • Define forecast tree
     –   Forecast tree combination of item and location levels
     –   Begin with Lowest Item / Lowest Location level
     –   Continue upward in increasing order
     –   Highest level if fictive level Highest Item / Highest Location
     –   Define minimum and maximum levels in tree
High Level Engine Flow




     Pre Engine            Learning Phase         Forecasting           Post Engine
     Processing            •   Tree traversal     Phase                 Processing
     • Distribute engine   •   Per node process   • Generate forecast   • Drop temporary
       tasks               •   Fit generation     • Split Forecast to     tables
     • Create temporary    •   Bayesian             lowest level        • Update forecast
       tables                  combination                                history
     • Clear previous                                                   • Notify of
       forecast data                                                      completion
     • Maintain forecast
       columns
Distributed Engine

 •   Full data set divided into
     tasks

 •   Each task comprised of one
     or more engine branches

 •   For recommended Branch
     ID Multiplier divide planned
     rows in Sales_data/
     (Engines) /250,000
Models
•   The Analytical Engine uses a set of theoretical
    models, each trying to explain history using
    different methods and algorithms.
     – Regression
         • Regression
         • Log (log transformation before regression)
         • CMReg (Markov chain selection of subset of causal
           factors)
         • Elog (uses Markov chain after log transformation)
     – Exponential smoothing
         • Holt
         • Bwint
     – Intermittent Models
         • CMReg for Intermittent
         • Regression for Intermittent
         • Croston
     – Time Series Models
         • ARX and ARIX
         • Logistic and AR Logistic
     – Other Models
         • BWint (a mixture of regression and exponential
           smoothing)
         • DMULT (Multiplicative)
DP and PE modes

 • Depending on installation and
   settings, you will run the engine in
   one of two modes:
    – DP Mode
       • Base Only causals
       • Base Forecast Generated
    – PE Mode
       • Base and Promotional causals
       • Forecast decomposed to base and lift
Engine Parameters

 • Max Fore Level
    – The maximum level on the forecast tree at which a forecast may
      be produced. Upon failure at this level, the NAIVE model will be
      used, if enabled.
    – The NAIVE model is used only at the highest forecast level, and is
      used only if all other models have failed. It uses a simple
      averaging procedure.
 • Min Fore Level
    – Minimum forecast level that the engine will forecast. From that
      level down, the engine will split the forecast using the
      precalculated proportions in the mdp_matrix table.
    – The engine does not necessarily create the forecast at this level.
      If the results are not good at this level (for a portion of the
      forecast tree), the Analytical Engine moves to a higher node of
      the forecast tree, creates a forecast there, and splits down to the
      minimum forecast level.
Engine Parameters (cont.)

 • Forecast Generation Horizon
   – Specifies what historical fit data the engine will write to the
     database. If this parameter is 0, the engine writes the
     forecast only. If this parameter is a positive integer N, the
     engine writes the last N historical fit values.
 • History Length
   – The number of base time buckets to consider for fit
     estimation and for the proport mechanism. Must be a non-
     negative integer. If equal to 0, the length of the history is
     set by the start_date parameter instead.
Engine Parameters (cont.)

 • Detect Outlier - This parameter is used by the preprocessing
   module of the Analytical Engine. Use one of the following
   values:
    – yes: The engine should attempt to detect outliers. If it finds
      outliers, it considers them in the analysis.
    – no: The engine should not attempt to detect outliers.
 • Quantity Form
    – Expression that the Analytical Engine uses to compose the
      historical demand from the sales_data table; the result of this
      expression is the data that the engine receives as input.
    – This expression should return 0, null, or a numeric quantity for
      any date. A date with 0 is treated as if there were no sales. A date
      with null is treated as a missing date; in this case, the system can
      interpolate a value or just ignore the date.
Engine Parameters (cont.)

 • Dying Time
    – If no sales occurred during the length of time specified by this
      parameter, the combination is marked as dead.
 • Hist Glob Prop
    – Maximum number of base time buckets to use in calculating
      glob_prop, the running average demand for any given item-
      location combination. This parameter is used by the proport
      mechanism.
Advanced Analytics/Nodal Tuning

• Refers to the Analytics window, accessed by clicking here…
Advanced Analytics/Nodal Tuning

 • Brings up another window focused on the same
   combination where you started:
Advanced Analytics/Nodal Tuning

 • What you can do here:
   – Fine-tune which engine models to use on this node (this combination)
   – Specify how many data points are needed to use each model
Advanced Analytics/Nodal Tuning

 • Also:
   – Fine-tune engine parameter settings for this node
Causal factors
                 43
Global Causal Factors

  Global causal factors apply to all combinations varying only by time


  Default Causals
  •   Trend
  •   Month of the year
  •   Constant
  •   Winter
  •   Summer
  Typical Causals
  •   Business days in the month
  •   Holidays
  •   Week ending the quarter
Local Causal Factors

  Local causal factors varies by item/location/time
  Vary greatly by customer business

  Default Causals
  •      Price
  Typical Causals
  •      Number of open stores
  •      Events
  •      Weather
Pre-seeded Causal factor
Trinamix
Trinamix Technologies
     Value Chain Experts
Who We Are

                                             Trinamix is a provider of Oracle Value
                                            Chain Planning & ERP services. Trinamix
                                                solutions focus on deploying best
                                                 practices to maximize return on
                                                            investment.


        Trinamix is a prominent, full service, Value Chain Planning solution
    company with multiple customer success stories in the San Francisco Bay
      area. Trinamix offers pre-built solutions for various industries. Specific
     industry segments served include high tech, consumer packaged goods,
              renewable energy, manufacturing, and semiconductors.


   Trinamix was founded by former members
   of the prestigious Oracle Product
   Development team, who helped create the
   Value Chain Planning products, and by
   best in class implementation experts.

                                                                                   48
On the
    Click to edit Master title style   TRAC




Email: asharma@trinamix.com
                                       49

Contenu connexe

En vedette

Oracle demantra on cloud - An Introduction
Oracle demantra on cloud - An IntroductionOracle demantra on cloud - An Introduction
Oracle demantra on cloud - An IntroductionAmit Sharma
 
EBS, ASCP, Oracle, Planning, Demantra
EBS, ASCP, Oracle, Planning, DemantraEBS, ASCP, Oracle, Planning, Demantra
EBS, ASCP, Oracle, Planning, DemantraAmit Sharma
 
Oracle demantra implementation guide part e22232 09
Oracle demantra implementation guide part e22232 09Oracle demantra implementation guide part e22232 09
Oracle demantra implementation guide part e22232 09Amsa Krishnan Dhanapal
 
AVATA presents Upgrading Demantra Webinar
AVATA presents Upgrading Demantra WebinarAVATA presents Upgrading Demantra Webinar
AVATA presents Upgrading Demantra WebinarAVATA
 
BKK16-106 ODP Project Update
BKK16-106 ODP Project UpdateBKK16-106 ODP Project Update
BKK16-106 ODP Project UpdateLinaro
 
AVATA Webinar: Solutions to Common Demantra & ASCP Challenges
AVATA Webinar: Solutions to Common Demantra & ASCP ChallengesAVATA Webinar: Solutions to Common Demantra & ASCP Challenges
AVATA Webinar: Solutions to Common Demantra & ASCP ChallengesAVATA
 
Trinamix CPFR template using Oracle Demantra
Trinamix CPFR template using Oracle DemantraTrinamix CPFR template using Oracle Demantra
Trinamix CPFR template using Oracle DemantraAmit Sharma
 
AVATA S&OP / IBP Express
AVATA S&OP / IBP ExpressAVATA S&OP / IBP Express
AVATA S&OP / IBP ExpressAVATA
 
Oracle VCP Training - Oracle Value Chain Planning
Oracle VCP Training - Oracle Value Chain PlanningOracle VCP Training - Oracle Value Chain Planning
Oracle VCP Training - Oracle Value Chain PlanningAmit Sharma
 
Oracle EBS Upgrade to 12.2.5.1
Oracle EBS Upgrade to 12.2.5.1Oracle EBS Upgrade to 12.2.5.1
Oracle EBS Upgrade to 12.2.5.1Amit Sharma
 
Using Financial Forecasts to Advise Business - Method of Forecasting - Revised
Using Financial Forecasts to Advise Business - Method of Forecasting - RevisedUsing Financial Forecasts to Advise Business - Method of Forecasting - Revised
Using Financial Forecasts to Advise Business - Method of Forecasting - RevisedIrma Miller
 
Forecasting methods by Neeraj Bhandari ( Surkhet.Nepal )
Forecasting methods by Neeraj Bhandari ( Surkhet.Nepal )Forecasting methods by Neeraj Bhandari ( Surkhet.Nepal )
Forecasting methods by Neeraj Bhandari ( Surkhet.Nepal )Neeraj Bhandari
 
24867879 inventory-management-control-lecture-3
24867879 inventory-management-control-lecture-324867879 inventory-management-control-lecture-3
24867879 inventory-management-control-lecture-3Harshawardhan Thakare
 

En vedette (18)

Oracle demantra on cloud - An Introduction
Oracle demantra on cloud - An IntroductionOracle demantra on cloud - An Introduction
Oracle demantra on cloud - An Introduction
 
Demantra & ascp
Demantra & ascpDemantra & ascp
Demantra & ascp
 
EBS, ASCP, Oracle, Planning, Demantra
EBS, ASCP, Oracle, Planning, DemantraEBS, ASCP, Oracle, Planning, Demantra
EBS, ASCP, Oracle, Planning, Demantra
 
Demantra 7.3
Demantra 7.3Demantra 7.3
Demantra 7.3
 
Oracle demantra implementation guide part e22232 09
Oracle demantra implementation guide part e22232 09Oracle demantra implementation guide part e22232 09
Oracle demantra implementation guide part e22232 09
 
AVATA presents Upgrading Demantra Webinar
AVATA presents Upgrading Demantra WebinarAVATA presents Upgrading Demantra Webinar
AVATA presents Upgrading Demantra Webinar
 
Demantra12
Demantra12Demantra12
Demantra12
 
BKK16-106 ODP Project Update
BKK16-106 ODP Project UpdateBKK16-106 ODP Project Update
BKK16-106 ODP Project Update
 
AVATA Webinar: Solutions to Common Demantra & ASCP Challenges
AVATA Webinar: Solutions to Common Demantra & ASCP ChallengesAVATA Webinar: Solutions to Common Demantra & ASCP Challenges
AVATA Webinar: Solutions to Common Demantra & ASCP Challenges
 
Trinamix CPFR template using Oracle Demantra
Trinamix CPFR template using Oracle DemantraTrinamix CPFR template using Oracle Demantra
Trinamix CPFR template using Oracle Demantra
 
Demantra case study
Demantra case studyDemantra case study
Demantra case study
 
AVATA S&OP / IBP Express
AVATA S&OP / IBP ExpressAVATA S&OP / IBP Express
AVATA S&OP / IBP Express
 
forecasting methods
forecasting methodsforecasting methods
forecasting methods
 
Oracle VCP Training - Oracle Value Chain Planning
Oracle VCP Training - Oracle Value Chain PlanningOracle VCP Training - Oracle Value Chain Planning
Oracle VCP Training - Oracle Value Chain Planning
 
Oracle EBS Upgrade to 12.2.5.1
Oracle EBS Upgrade to 12.2.5.1Oracle EBS Upgrade to 12.2.5.1
Oracle EBS Upgrade to 12.2.5.1
 
Using Financial Forecasts to Advise Business - Method of Forecasting - Revised
Using Financial Forecasts to Advise Business - Method of Forecasting - RevisedUsing Financial Forecasts to Advise Business - Method of Forecasting - Revised
Using Financial Forecasts to Advise Business - Method of Forecasting - Revised
 
Forecasting methods by Neeraj Bhandari ( Surkhet.Nepal )
Forecasting methods by Neeraj Bhandari ( Surkhet.Nepal )Forecasting methods by Neeraj Bhandari ( Surkhet.Nepal )
Forecasting methods by Neeraj Bhandari ( Surkhet.Nepal )
 
24867879 inventory-management-control-lecture-3
24867879 inventory-management-control-lecture-324867879 inventory-management-control-lecture-3
24867879 inventory-management-control-lecture-3
 

Dernier

Memorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQMMemorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQMVoces Mineras
 
Kenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith PereraKenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith Pereraictsugar
 
Fordham -How effective decision-making is within the IT department - Analysis...
Fordham -How effective decision-making is within the IT department - Analysis...Fordham -How effective decision-making is within the IT department - Analysis...
Fordham -How effective decision-making is within the IT department - Analysis...Peter Ward
 
Guide Complete Set of Residential Architectural Drawings PDF
Guide Complete Set of Residential Architectural Drawings PDFGuide Complete Set of Residential Architectural Drawings PDF
Guide Complete Set of Residential Architectural Drawings PDFChandresh Chudasama
 
Darshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdfDarshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdfShashank Mehta
 
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdfNewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdfKhaled Al Awadi
 
TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024Adnet Communications
 
Innovation Conference 5th March 2024.pdf
Innovation Conference 5th March 2024.pdfInnovation Conference 5th March 2024.pdf
Innovation Conference 5th March 2024.pdfrichard876048
 
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCRashishs7044
 
8447779800, Low rate Call girls in Rohini Delhi NCR
8447779800, Low rate Call girls in Rohini Delhi NCR8447779800, Low rate Call girls in Rohini Delhi NCR
8447779800, Low rate Call girls in Rohini Delhi NCRashishs7044
 
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607dollysharma2066
 
Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03DallasHaselhorst
 
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort ServiceCall US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Servicecallgirls2057
 
Marketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent ChirchirMarketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent Chirchirictsugar
 
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...ictsugar
 
Independent Call Girls Andheri Nightlaila 9967584737
Independent Call Girls Andheri Nightlaila 9967584737Independent Call Girls Andheri Nightlaila 9967584737
Independent Call Girls Andheri Nightlaila 9967584737Riya Pathan
 
PSCC - Capability Statement Presentation
PSCC - Capability Statement PresentationPSCC - Capability Statement Presentation
PSCC - Capability Statement PresentationAnamaria Contreras
 

Dernier (20)

Corporate Profile 47Billion Information Technology
Corporate Profile 47Billion Information TechnologyCorporate Profile 47Billion Information Technology
Corporate Profile 47Billion Information Technology
 
Memorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQMMemorándum de Entendimiento (MoU) entre Codelco y SQM
Memorándum de Entendimiento (MoU) entre Codelco y SQM
 
Kenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith PereraKenya Coconut Production Presentation by Dr. Lalith Perera
Kenya Coconut Production Presentation by Dr. Lalith Perera
 
Fordham -How effective decision-making is within the IT department - Analysis...
Fordham -How effective decision-making is within the IT department - Analysis...Fordham -How effective decision-making is within the IT department - Analysis...
Fordham -How effective decision-making is within the IT department - Analysis...
 
Guide Complete Set of Residential Architectural Drawings PDF
Guide Complete Set of Residential Architectural Drawings PDFGuide Complete Set of Residential Architectural Drawings PDF
Guide Complete Set of Residential Architectural Drawings PDF
 
Enjoy ➥8448380779▻ Call Girls In Sector 18 Noida Escorts Delhi NCR
Enjoy ➥8448380779▻ Call Girls In Sector 18 Noida Escorts Delhi NCREnjoy ➥8448380779▻ Call Girls In Sector 18 Noida Escorts Delhi NCR
Enjoy ➥8448380779▻ Call Girls In Sector 18 Noida Escorts Delhi NCR
 
Darshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdfDarshan Hiranandani [News About Next CEO].pdf
Darshan Hiranandani [News About Next CEO].pdf
 
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdfNewBase  19 April  2024  Energy News issue - 1717 by Khaled Al Awadi.pdf
NewBase 19 April 2024 Energy News issue - 1717 by Khaled Al Awadi.pdf
 
TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024TriStar Gold Corporate Presentation - April 2024
TriStar Gold Corporate Presentation - April 2024
 
Innovation Conference 5th March 2024.pdf
Innovation Conference 5th March 2024.pdfInnovation Conference 5th March 2024.pdf
Innovation Conference 5th March 2024.pdf
 
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
8447779800, Low rate Call girls in Shivaji Enclave Delhi NCR
 
8447779800, Low rate Call girls in Rohini Delhi NCR
8447779800, Low rate Call girls in Rohini Delhi NCR8447779800, Low rate Call girls in Rohini Delhi NCR
8447779800, Low rate Call girls in Rohini Delhi NCR
 
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607FULL ENJOY Call girls in Paharganj Delhi | 8377087607
FULL ENJOY Call girls in Paharganj Delhi | 8377087607
 
Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03Cybersecurity Awareness Training Presentation v2024.03
Cybersecurity Awareness Training Presentation v2024.03
 
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort ServiceCall US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
Call US-88OO1O2216 Call Girls In Mahipalpur Female Escort Service
 
Call Us ➥9319373153▻Call Girls In North Goa
Call Us ➥9319373153▻Call Girls In North GoaCall Us ➥9319373153▻Call Girls In North Goa
Call Us ➥9319373153▻Call Girls In North Goa
 
Marketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent ChirchirMarketplace and Quality Assurance Presentation - Vincent Chirchir
Marketplace and Quality Assurance Presentation - Vincent Chirchir
 
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...Global Scenario On Sustainable  and Resilient Coconut Industry by Dr. Jelfina...
Global Scenario On Sustainable and Resilient Coconut Industry by Dr. Jelfina...
 
Independent Call Girls Andheri Nightlaila 9967584737
Independent Call Girls Andheri Nightlaila 9967584737Independent Call Girls Andheri Nightlaila 9967584737
Independent Call Girls Andheri Nightlaila 9967584737
 
PSCC - Capability Statement Presentation
PSCC - Capability Statement PresentationPSCC - Capability Statement Presentation
PSCC - Capability Statement Presentation
 

Demantra Forecasting Engine : OAUG Chicago 2012

  • 1. Demantra Forecasting Methods Trinamix the Black Box A Look Inside Technologies Amit Sharma Trinamix
  • 2. Accurate forecasting is easy… Here is the formula for the same….. 2
  • 3. Why it’s hard to be accurate? Forecasting is an art of predicting the future by looking the past ! 3
  • 4. Why is it important to be accurate ? 4
  • 5. Scope of discussion • General Forecasting – Evolution – General Methods • Forecasting in Demantra – Setup and consideration • Forecast Tree • Parameters • Engine Definition, Types and nodes • Forecasting process • Advanced Analytics • Causals
  • 6. Forecasting Evolution Advanced Exponential Methods Smoothing Moving Average Naïve forecasting
  • 7. Naïve Models Naïve forecasting models are based exclusively on historical observation of sales They do not explain the underlying casual relationships which produce the variable being forecasted. Advantage: Inexpensive to develop, store data and operate. Disadvantage: Do not consider any possible causal relationships that underlie the forecasted variable. Naïve models 1. To use actual sales of the current period as the forecast for the next period; then, Yt+1 = Yt 2. If we consider trends, then, Yt+1 = Yt + (Yt – Yt-1)
  • 8. Smoothing : Moving Averages Definition: Averages that are updated as new information is received. With the moving average a manager simply employs, the most recent observations, drops the oldest observation, in the earlier calculation and calculates an average which is used as the forecast for the next period. Limitations: • One has to retain a great deal of data. • All data in the sample are weighed equally.
  • 9. Smoothing: Exponential Uses weighted average of past data as the basis for a forecast. Y new = a Y old + (1-a) Y’ old, where, Y new = exponentially smoothed average to be used as the forecast Y old = most recent actual data Y’old = most recent smoothed forecast a = smoothing constant Smoothing constant (or weight) has a value between 0 and 1 inclusive. 9
  • 10. Zero Mean White Noise Series 3 2 1 0 Series -1 -2 -3 1 6 11 16 21 26 31 36 41 46 51 56 61 66 71 76 81 86 91 96
  • 11. Zero Mean White Noise 3 2 1 Series 0 0.1 -1 -2 -3 1 6 11 16 21 26 31 36 41 46 51 56 61 66 71 76 81 86 91 96
  • 12. Zero Mean White Noise 3 2 1 Series 0 0.1 0.3 -1 -2 -3 1 6 11 16 21 26 31 36 41 46 51 56 61 66 71 76 81 86 91 96
  • 13. White Noise with Shifting Mean 4 3 2 1 Series 0 Mean -1 -2 -3 11 16 21 26 31 36 41 46 51 56 61 66 71 76 81 86 91 96 1 6 -4
  • 14. White Noise with Shifting Mean 4 3 2 1 Series 0 0.1 Mean -1 -2 -3 -4 1 6 11 16 21 26 31 36 41 46 51 56 61 66 71 76 81 86 91 96
  • 15. White Noise with Shifting Mean 4 3 2 1 Series 0 0.3 Mean -1 -2 -3 -4 1 6 11 16 21 26 31 36 41 46 51 56 61 66 71 76 81 86 91 96
  • 16. Best Value for Alpha Actual vs Forecast for Various Alpha 2 1.5 1 0.5 Demand Forecast a=0.1 0 a=0.3 -0.5 a=0.9 -1 -1.5 -2 1 7 13 19 25 31 37 43 49 55 61 67 73 79 85 91 97 Period
  • 17. Best Value for Alpha Series and Forecast using Alpha=0.9 2 Might look good, but is it? 1.5 1 0.5 Forecast 0 -0.5 -1 -1.5 -2 1 6 11 16 21 26 31 36 41 46 51 56 61 66 71 76 81 86 91 96 101 Period
  • 18. Best Value for Alpha Series and Forecast using Alpha=0.9 2 1.5 1 0.5 Forecast 0 -0.5 -1 -1.5 -2 1 6 11 16 21 26 31 36 41 46 51 56 61 66 71 76 81 86 91 96 101 Period
  • 19. Best Value for Alpha
  • 20. Exponential smoothing The following Rules of Thumb may be given : 1. When the magnitude of the random variations is large, give a lower value to “a” so as to average out the effects of the random variation quickly. 2. When the magnitude of the random variation is moderate, a large value can be assigned to the smoothing constant “a”. 3. It has been found appropriate to have “a” between 0.1 and 0.2 in many systems. This method has been successfully applied by banks, manufacturing companies, wholesalers and other organizations.
  • 22. Demantra Forecasting Ideology Most Solutions Demantra • Best Of Breed • Bayesian Estimator – A series of models execute at • Library of models is executed a “node” • Based on goodness of fit models – Model best meeting selection combined into single result set criteria chosen • Nuances of models maintained – Any information not captured by selected model is lost • One Forecasting Level • Variable Forecast Level – Not flexible for noise or lack • Forecast at most applicable level of historical information
  • 24. Oracle Demantra – Bayesian Model Estimating techniques based on the assumption that the variable to be forecast (dependent variable) has cause-and-effect relationship with one or more other (independent) variables. 24
  • 25. Demantra Trinamix Technologies Engine Setup and Considerations
  • 26. Forecast Tree Definition 4 The forecast tree determines which item/location aggregation combinations the engine will work 3 on. The highest level (highest number) 2 is ALWAYS all items/all locations and is fictive- not actually used. The second highest level is the 1 FIRST level actually examined for forecast
  • 27. Traversing the Forecast Tree The engine examines each node in the 4 forecast tree, from top to bottom:- • The nodes are examined to see if a 3 forecast is possible at son of the node and traversal continues • Once a stopping rule is reached on 2 the downward traversal forecast is executed 1 Stopping Rules • Reached lowest tree level • Reached desired forecast level • Insufficient data available at lower levels
  • 28. Traversing the Forecast Tree Continued 4 • Once a stop has been reached generate a forecast 3 • Traverse to brothers and continue traversal 2 • Before going up check if any sons require a forecast if required generate a forecast 1 • Continue until entire tree traversed
  • 29. Forecast Split 4 • Higher aggregation of forecast split to lower members who do not have 3 a forecast • Forecast is split according to 2 defined proportion rule-set • Forecast always stored at lowest 1 system aggregation to enable view of data at any query level
  • 30. Forecast Tree Configuration Continued • Define forecast tree – Forecast tree combination of item and location levels – Begin with Lowest Item / Lowest Location level – Continue upward in increasing order – Highest level if fictive level Highest Item / Highest Location – Define minimum and maximum levels in tree
  • 31. High Level Engine Flow Pre Engine Learning Phase Forecasting Post Engine Processing • Tree traversal Phase Processing • Distribute engine • Per node process • Generate forecast • Drop temporary tasks • Fit generation • Split Forecast to tables • Create temporary • Bayesian lowest level • Update forecast tables combination history • Clear previous • Notify of forecast data completion • Maintain forecast columns
  • 32. Distributed Engine • Full data set divided into tasks • Each task comprised of one or more engine branches • For recommended Branch ID Multiplier divide planned rows in Sales_data/ (Engines) /250,000
  • 33. Models • The Analytical Engine uses a set of theoretical models, each trying to explain history using different methods and algorithms. – Regression • Regression • Log (log transformation before regression) • CMReg (Markov chain selection of subset of causal factors) • Elog (uses Markov chain after log transformation) – Exponential smoothing • Holt • Bwint – Intermittent Models • CMReg for Intermittent • Regression for Intermittent • Croston – Time Series Models • ARX and ARIX • Logistic and AR Logistic – Other Models • BWint (a mixture of regression and exponential smoothing) • DMULT (Multiplicative)
  • 34. DP and PE modes • Depending on installation and settings, you will run the engine in one of two modes: – DP Mode • Base Only causals • Base Forecast Generated – PE Mode • Base and Promotional causals • Forecast decomposed to base and lift
  • 35. Engine Parameters • Max Fore Level – The maximum level on the forecast tree at which a forecast may be produced. Upon failure at this level, the NAIVE model will be used, if enabled. – The NAIVE model is used only at the highest forecast level, and is used only if all other models have failed. It uses a simple averaging procedure. • Min Fore Level – Minimum forecast level that the engine will forecast. From that level down, the engine will split the forecast using the precalculated proportions in the mdp_matrix table. – The engine does not necessarily create the forecast at this level. If the results are not good at this level (for a portion of the forecast tree), the Analytical Engine moves to a higher node of the forecast tree, creates a forecast there, and splits down to the minimum forecast level.
  • 36. Engine Parameters (cont.) • Forecast Generation Horizon – Specifies what historical fit data the engine will write to the database. If this parameter is 0, the engine writes the forecast only. If this parameter is a positive integer N, the engine writes the last N historical fit values. • History Length – The number of base time buckets to consider for fit estimation and for the proport mechanism. Must be a non- negative integer. If equal to 0, the length of the history is set by the start_date parameter instead.
  • 37. Engine Parameters (cont.) • Detect Outlier - This parameter is used by the preprocessing module of the Analytical Engine. Use one of the following values: – yes: The engine should attempt to detect outliers. If it finds outliers, it considers them in the analysis. – no: The engine should not attempt to detect outliers. • Quantity Form – Expression that the Analytical Engine uses to compose the historical demand from the sales_data table; the result of this expression is the data that the engine receives as input. – This expression should return 0, null, or a numeric quantity for any date. A date with 0 is treated as if there were no sales. A date with null is treated as a missing date; in this case, the system can interpolate a value or just ignore the date.
  • 38. Engine Parameters (cont.) • Dying Time – If no sales occurred during the length of time specified by this parameter, the combination is marked as dead. • Hist Glob Prop – Maximum number of base time buckets to use in calculating glob_prop, the running average demand for any given item- location combination. This parameter is used by the proport mechanism.
  • 39. Advanced Analytics/Nodal Tuning • Refers to the Analytics window, accessed by clicking here…
  • 40. Advanced Analytics/Nodal Tuning • Brings up another window focused on the same combination where you started:
  • 41. Advanced Analytics/Nodal Tuning • What you can do here: – Fine-tune which engine models to use on this node (this combination) – Specify how many data points are needed to use each model
  • 42. Advanced Analytics/Nodal Tuning • Also: – Fine-tune engine parameter settings for this node
  • 44. Global Causal Factors Global causal factors apply to all combinations varying only by time Default Causals • Trend • Month of the year • Constant • Winter • Summer Typical Causals • Business days in the month • Holidays • Week ending the quarter
  • 45. Local Causal Factors Local causal factors varies by item/location/time Vary greatly by customer business Default Causals • Price Typical Causals • Number of open stores • Events • Weather
  • 47. Trinamix Trinamix Technologies Value Chain Experts
  • 48. Who We Are Trinamix is a provider of Oracle Value Chain Planning & ERP services. Trinamix solutions focus on deploying best practices to maximize return on investment. Trinamix is a prominent, full service, Value Chain Planning solution company with multiple customer success stories in the San Francisco Bay area. Trinamix offers pre-built solutions for various industries. Specific industry segments served include high tech, consumer packaged goods, renewable energy, manufacturing, and semiconductors. Trinamix was founded by former members of the prestigious Oracle Product Development team, who helped create the Value Chain Planning products, and by best in class implementation experts. 48
  • 49. On the Click to edit Master title style TRAC Email: asharma@trinamix.com 49