Machine Learning Forecast with Excel
Photo by Isaac Smith on Unsplash

Machine Learning Forecast with Excel

I discovered a year ago a new feature in Excel going much further than simple linear regression to realize forecast based on historical data. The function is straightforward to use and lead to pleasant results. I share with you in the following lines the way to use it so you can boost up your prediction game level in a few minutes.

The function that we will play with is FORECAST.ETS(target_date, values, timeline). Available since Excel 2016, the function requires 3 parameters, the target date for which you want to do the prediction, the range of values and the timeline associated to those values on which the prediction will be based. All the rest is automatic.

If you want to follow me step by step, you can download the following file example_wp_log_peyton_manning.csv (right click save) Which is the number of view per days of the Wikipedia page of Peyton Manning, an American football quarterback. As you can imagine the case is quite compelling as the number of visitor on his page follow a high seasonality.

1. open the file in excel and delete the first useless row:

2. Now go to the last row of the dataset and extend the dates until the end of the year 2016 (12/31/2016).

3. In cell C2906 enter the following formula =FORECAST.ETS(A2906,$B$1:$B$2905,$A$1:$A$2905) Fixing the dates and values ensure the forecasted data do not drift away by cumulating the forecast error.

4. Extend the cell C2906 until the end of the column, plot the result and you are done.

As you can see in the plot, the orange forecasted period visually follow the trend pretty well. It would be interesting but quite advanced to do a statistical analysis of the prediction to determine its accuracy. This could be a future article :)

I hope that you will find in your daily job a proper usage of the tool that I shared here and that it will motivate you to start exploring the growing field of data analytics and machine learning.

Hello Lucas! Actually it would be easy to 1/ draw the original data, 2/ superpose a prediction for the last 3rd based on the first two 3rds of the data. That would empirically show if you could predict the past correctly, which is a good thing for a start :).

Vivek Daksh

Finance Manager at Amazon

6 年

Do you know which algorithm this function uses for forecasting? Is it exponential smoothening?

回复

要查看或添加评论,请登录

Lucas Fernandez, MBA的更多文章

  • Learn from the new PS5 UI to build better product experiences

    Learn from the new PS5 UI to build better product experiences

    Sony has just released the UI of the new PS5. I dissected the reveal video to learn how we could be inspired to build…

    1 条评论
  • Supply-chain, 3D print and COVID-19

    Supply-chain, 3D print and COVID-19

    You probably did not miss in the recent news a few pictures of 3D printed protection equipment for people working in…

  • Will Quantum Computing follow Machine Learning Path

    Will Quantum Computing follow Machine Learning Path

    If you follow a bit of the specialized press, you have probably noticed that two weekends ago, on Sept, 24th 2019, The…

  • Be Ready when Visiting a New Country

    Be Ready when Visiting a New Country

    Since I joined CHAMP, I got the opportunity to visit numerous countries, sometimes to participate in exhibitions, meet…

    4 条评论
  • Chatbots and Aircargo Maturity

    Chatbots and Aircargo Maturity

    I discovered chatbots a year ago while I was exploring the potential of artificial intelligence doing the course…

  • The Three Pillars of a Product

    The Three Pillars of a Product

    I still remember my first taste of product management many years ago while visiting one of the first Parisian…

  • Two Blueprints for Agile Specifications

    Two Blueprints for Agile Specifications

    It will soon be ten years since I started doing project management in a form or another. One of the significant…

  • Vision, Google's first step for innovation

    Vision, Google's first step for innovation

    Since a year ago when I read this article in the New York Times publishing the finding of Google about how to compose…

  • My Five Inspirational Sources of Innovation

    My Five Inspirational Sources of Innovation

    In the many years that I have been thinking about and conceiving new products, I have matured a process to keep myself…

    1 条评论
  • Make Innovation Flow Through Companies

    Make Innovation Flow Through Companies

    A year ago during my MBA Knowledge Management course with Dr. Michael Zhang, I received an assignment to read multiple…

    2 条评论

社区洞察

其他会员也浏览了