AITeky Learn

AiTeky Original Interactive Learning & Practice Intermediate

Time series and forecasting: see what comes next

Read data that changes over time, find its trend and seasons, test forecasts honestly and plan biryani, ACs and ATM cash with them.

A shopkeeper who orders extra sweets before Diwali, a metro that runs fewer trains on Sundays and a bank that loads more cash before salary day are all forecasting: using the past pattern of the numbers to plan for what comes next. Data recorded in date order like this is called a time series, and it is everywhere: daily sales, monthly bills, hourly electricity use, weekly patients.

In this course you will learn to load and clean a time series, smooth it, take it apart into trend and seasons, and build forecasts, from one-line rules to Holt-Winters, ARIMA and machine learning. Above all you will learn to test a forecast the honest way, on the future it never saw, and to turn it into a business decision.

You need Python basics, NumPy and pandas before this course. Statistics and machine learning help, especially for the last lessons. Everything runs in your browser with pandas, statsmodels and scikit-learn.

  • Learn lessons explain one idea at a time, with small exercises you can try again and again.
  • Industry ready lessons give you real business files and questions, and the interview questions that go with them.

Locked. Sign up free

Learn

Understand each idea with everyday examples. No coding background needed.

  1. 01 20 min Free sample πŸ”’ AiTeky Pass What is a time series? Data that remembers the date Meet data that is recorded day after day. Load two years of metro riders, put the dates in charge, draw the line and spot the three things every time series is made of - trend, seasonality and noise.
  2. 02 25 min πŸ”’ AiTeky Pass Dates in pandas - slice, fill the gaps and resample Use the date index to pick any period, find the days that are missing from a file, fill them sensibly and turn daily numbers into weekly and monthly totals with resample.
  3. 03 20 min πŸ”’ AiTeky Pass Rolling averages - see the trend through the noise Smooth a jumpy daily series with a rolling (moving) average, choose the right window, and use the smooth line to catch unusual days such as festivals and gate failures.
  4. 04 25 min πŸ”’ AiTeky Pass Lags and changes - compare today with last week and last year Line up each value with the one before it using shift, measure day-on-day, week-on-week and year-on-year change, and use autocorrelation to find how far back a series remembers.
  5. 05 25 min πŸ”’ AiTeky Pass Trend and seasonality - take a series apart Split five years of monthly AC sales into a trend, a yearly pattern and what is left over. Build a seasonal index by hand, then do it in one line with statsmodels, and use it to judge whether a month was really good.
  6. 06 25 min πŸ”’ AiTeky Pass Your first forecasts, and how to test them honestly Make three simple forecasts for a whole year of AC sales - the average, the last value and the same month last year - and score them on months the forecasts never saw, with MAE and MAPE.
  7. 08 30 min πŸ”’ AiTeky Pass Exponential smoothing and ARIMA - the classic forecasting models Learn how exponential smoothing gives recent values more weight, build it by hand, then let statsmodels fit Holt-Winters (level, trend and season) and a seasonal ARIMA to AC sales, beat the baselines and forecast all of 2026.
  8. 09 30 min πŸ”’ AiTeky Pass Forecasting with machine learning - turn a series into a table Turn daily metro riders into a table of lag and calendar features, follow the one rule that stops leakage, train linear regression and a random forest, see how a holiday calendar beats the "same day last week" forecast, and cross-validate the time-series way.

Industry ready

Real problems from real jobs, and the questions interviewers ask about them.

  1. 07 45 min πŸ”’ AiTeky Pass On the job: forecast daily orders for a cloud kitchen Take a year of a biryani kitchen's daily orders from a messy file to a weekly prep plan. Fix missing days and an app outage, backtest three forecasts week by week, score them with WAPE, find where they fail (Ramzan), and turn the forecast into a cooking quantity using the cost of running out against the cost of waste.
  2. 10 50 min πŸ”’ AiTeky Pass On the job: forecast cash for an ATM Plan how much cash a bank should load into an ATM each week. Find the salary-day, weekend and festival patterns, see why "same day last week" fails, build calendar and lag features, beat it with linear regression and gradient boosting, then set a safety buffer on a validation period and test the whole plan against the bank's old rule.

We use essential cookies to run the site. With your permission we also set one anonymous ID to count unique visitors, and analytics cookies to see which pages help learners. Cookie notice

Join AiTeky Learn. It's free.

Create a free account to track your progress, save items for later and get study suggestions.

Sign up free Log in