Statistical Forecasting algorithms into a user specific model
Hi - I am new to Anaplan and I have a quick question:
Let's presume we are to develop a supply chain demand planning module for a client. Since we exactly know what all lists/line items are needed along with the hierarchy and the calculation formulae for different line items, I prefer to have that developed everything from scratch. But I am wondering how I can get the forecasting algorithms into my model - I can see one standard app from Anaplan for weekly statistical forecasting that has 30 models (that model size - 3.34GB) but I don't want to use that app and modify as I am not sure what/how all the dependencies are built there. I prefer to have all the forecasting algorithms in that app imported into my custom model that is being built from scratch - can you please brief how I can get that done? And your thoughts on if that's a cumbersome process and what's the recommended process?
Re: Statistical Forecasting algorithms into a user specific model
If you want all of them I suggest you use the app itself as its own model. Configure it with your products/materials, import your data,run the stats forecasting there and then import the results into your demand planning. You can schedule a daily refresh of data for example. In most cases this is what we do.
If you want to re-create a few stats methods only, then you could open the app, find the module where the calculation for these methods is happening (it is all in one module which I forgot) and redo the calcs into your model.
It's easy to manually, or semi-automate, data movement but to fully automate you will need to really think about being more strategic about your implementation.
Regarding forecasts, here are some thoughts on strategy and a few tactical points:
While this may seem a bit far off from your question, the idea of developing an Anaplan Center of Excellence would help tremendously. This will force you, your team, and your customer (or Company) to think very carefully about what it will take to either build forecasts outside of Anaplan and import them in, or to build them inside of Anaplan and figure out how to share, or reuse the same values. See Center of Excellence Intro.
Regression vs. Classification. Most regression models can be built in Anaplan. If your forecasts require deep-learning, I would suggest using an outside tool like Knime, or Alteryx (if you have the license). To be honest, most supply chain forecasts don't need more than a simple seasonal ARIMA like Holt Winters. This will detect trend and magnitude and has a self-learning component to it after each subsequent data load. If you need classification, like clustering, I would recommend R or Python. You can try to use the Anaplan optimizer to iterate but I've found it easier to just run a simple script and import the results in since it's not very frequent. Lastly, on this point, you can use the new Excel Add-In. It is now possible to push data back into Anaplan but I would only use this in a clutch, as a last resort. There's a lot of security you have take care of on the Anaplan side and you'll probably need to create staging modules to control quality.
@nathan_rudman idea of a forecast hub is brilliant. This is the way I lean most of the time especially if the forecasts are to be reused. Some forecast models require a lot of transaction trip logs like when actuals exceed the upper or lower control limit, n-number of errors in the same direction, missing data, holidays, closed or remodeled stores, weather, lead time exceptions, etc.. I think you get the idea. Having all these exceptions in one place is perfect for Anaplan and can create lots of interesting reports. Separating all the forecasts allows you to control who can see or edit the data. An absolute must if you plan to calculate or predict stock outs! Nice segregation of duties.
If you are determined to create forecasts outside of Anaplan, you have to get really good at data integration. Here are a few articles I would HIGHLY recommend you read to start you on that journey. Start with Anaplan Connect,its a free download and plenty of good documentation. Then learn to use the APIs since this is the way all integration tools work. Start with version 1.3 - it's easier and has virtually the same functionality as version 2.