Programming · PRC-38

Machine Learning for Business Forecasting

Machine Learning for Business Forecasting is a hands-on course in applying machine learning with Python to three business problems: forecasting sales with time series methods, segmenting customers with RFM and K-Means, and predicting which customers are likely to churn. It suits data analysts, sales and demand planning teams, and marketing teams who want to base decisions on data.

Updated
From 6,750 THB / person 7,500 −10% excl. VAT 7% · group rates available
PDFDownload the course outline
  • Duration12 hours · 2 days
  • FormatOnsite / live online
  • Next roundOn request
  • CertificateIncluded

Course overview

The questions managers ask most often are about the future: how much will we sell next month, how much stock should we hold, which customers should get which promotion, and which customers are about to leave. Many organisations still answer by taking last year's figures and adding a percentage, or by relying on the instinct of long-serving staff. The result is stock that runs out or piles up, a marketing budget spread evenly across every group, and lost customers noticed only when it is too late.

This course applies machine learning to three core business problems with Python on Google Colab. Learners start by forecasting sales with time series methods, building baselines, measuring with backtesting, using Prophet with holidays and promotions, and improving on it with gradient boosting. They then segment customers with RFM and K-Means and build a churn prediction model, explain its results and choose a threshold based on business cost. The course closes with a project that turns model output into a plan the business can act on. (2 days, 6 hours per day, 12 hours in total, Intermediate level.)

What you’ll gain

  • Turn business problems into measurable machine learning tasks
  • Explore time series data, including trend, seasonality and holiday effects
  • Build baselines and measure forecasts with MAE, WAPE and backtesting
  • Forecast sales with Prophet and gradient boosting, with uncertainty ranges
  • Segment customers with RFM and K-Means and describe each segment
  • Build a churn prediction model while avoiding data leakage
  • Explain model results and choose a threshold based on business cost
  • Communicate model results as a plan the business can put to use

Who this course is for

  • Data analysts who want to move from historical reporting to forecasting
  • Sales planning, demand planning and supply chain teams
  • Marketing and CRM teams who segment customers and work on retention
  • Junior data scientists who want to see machine learning applied to real business problems
  • Anyone with Python and pandas basics who wants to move on to machine learning

Prerequisites

  • Basic Python and table handling with pandas
  • Basic statistics, such as mean, standard deviation and simple charts
  • Some experience with Jupyter Notebook or Google Colab will help you move faster
  • A Google account for Google Colab

Curriculum

Course Details

This course runs for 2 days, 6 hours per day (12 hours in total, 09:00-16:00), as lectures with labs on Google Colab using sales, purchase and membership data from a fictional company. Intermediate level. It builds on Python for Machine Learning, which covers general machine learning foundations; this course focuses on three business problems: sales forecasting, customer segmentation and churn prediction. All libraries are open source and the labs run on the free tier of Google Colab with the learner's own account. Those who want to use forecasts for AI-assisted purchasing and inventory planning can continue with AI for Supply Chain and Planning. Learners take home notebooks for every lab, sample datasets and a template for presenting model results to the business.

Day 1 Sales Forecasting with Time Series and Machine Learning

Section 1: Framing Machine Learning Problems from Business Needs

  • How forecasting, segmentation and classification answer different business questions
  • Set the goal, the metric and the decision the model's output will drive
  • The data you need and the data problems organisations commonly face
  • Lab: set up Google Colab and load sample sales data with pandas

Section 2: Lab: Exploring Time Series Data

  • Resample data to daily, weekly and monthly levels
  • Separate trend and seasonality with charts and decomposition
  • The effect of Thai public holidays, festivals and promotions on sales
  • Handle missing dates, outliers and slow-moving products

Section 3: Baselines and Forecast Evaluation

  • Naive, seasonal naive and moving average baselines
  • Choosing a metric: MAE, RMSE, MAPE and WAPE, and their limits
  • Rolling-origin backtesting instead of random splits
  • Lab: set a baseline that later models must beat

Section 4: Lab: Sales Forecasting with Prophet

  • How Prophet is built: trend, seasonality and holidays
  • Add Thai holidays and promotions as extra regressors
  • Read the uncertainty interval of the forecast
  • Lab: forecast 12 weeks of sales and compare with the baseline

Section 5: Lab: Forecasting with Gradient Boosting

  • Build features from lags, rolling averages and the calendar
  • Train LightGBM or HistGradientBoosting from scikit-learn
  • Time series cross-validation to avoid peeking into the future
  • Lab: compare accuracy with Prophet and the baseline

Section 6: Forecasting Many Products and Using Forecasts for Planning

  • Forecast many branches and products with a single model
  • Roll results up to category and company level so the numbers agree
  • Turn forecasts and uncertainty ranges into safety stock
  • Lab: summarise next month's ordering plan from the forecast
Day 2 Customer Segmentation and Churn Prediction

Section 7: Lab: Customer Analysis with RFM

  • Calculate recency, frequency and monetary value from purchase history
  • Score and group customers with RFM
  • Name segments in terms marketing understands, such as loyal and drifting customers
  • Lab: summarise customer counts and sales for each segment

Section 8: Lab: Customer Segmentation with K-Means

  • Choose features and scale data before clustering
  • Choose the number of clusters with the elbow method and silhouette score, alongside business judgement
  • Describe each segment with tables and charts
  • Lab: design a campaign that fits each segment

Section 9: Defining Churn and Preparing the Data

  • Defining churn for subscription businesses compared with retail
  • Set a cut-off date to build labels and features correctly
  • What data leakage is, with examples that make a model look better than it is
  • Lab: build a customer feature table from usage data

Section 10: Lab: Churn Prediction Models

  • Logistic regression, random forest and gradient boosting
  • Handle imbalanced data with class weights
  • Measure with ROC-AUC, precision, recall and lift
  • Lab: pick the best model with cross-validation

Section 11: Explaining Results and Deciding by Cost

  • What feature importance and SHAP tell you, and what to watch out for
  • Choose a threshold by weighing campaign cost against the value of retained customers
  • Rank high-risk customers for the sales or CRM team to contact
  • Monitor the model as customer behaviour changes and set a retraining cycle

Section 12: Workshop: Capstone Presentation to the Business

  • Choose a problem: sales forecasting, customer segmentation or churn prediction
  • Work end to end from data preparation and modelling to evaluation against a baseline
  • Export results to CSV or Google Sheets for the team to use
  • Present the results in business language and review them together

Schedule & training options

For individuals — public rounds

No public rounds are open right now. Join the waiting list and we will contact you first when the next round opens, or ask us on LINE. Or call 02-570-8449 or 088-807-9770

For organisations — in-house / private

  • Tailor the content to your team’s tools and projects
  • Your dates, at your office or live online
  • Quotation with tax ID for procurement
Corporate training quote

Instructors

Frequently asked questions

Who is Machine Learning for Business Forecasting for, and what background is needed?

Built for Data analysts who want to move from historical reporting to forecasting · Sales planning, demand planning and supply chain teams · Marketing and CRM teams who segment customers and work on retention Background you should have: Basic Python and table handling with pandas · Basic statistics, such as mean, standard deviation and simple charts Not sure the fit is right? Talk to our team on LINE @itgenius or call 02-570-8449.

How much does Machine Learning for Business Forecasting cost and how long does it run?

THB 7,500 (currently THB 6,750 on promotion). The course runs 12 hours. The price excludes 7% VAT (for payment in a company's name). Pay by bank transfer to the company account, confirm it on our payment page, and we can issue the receipt or tax invoice in your company's name.

Do I get a certificate?

Yes. Everyone who completes the course receives a Certificate of Completion from IT Genius Institute. Each certificate carries its own number, and anyone holding that number can verify it online on our certificate page, so you can add it to your portfolio or pass it to HR as evidence of training.

Where does the training take place, and is there an online option?

You can attend onsite at IT Genius Institute or arrange to join online, and we also run it as a private in-house session for your team. Ask about dates and venues on LINE @itgenius or call 02-570-8449.

What if I fall behind or miss a session — can I retake it?

Yes. You may retake the same course free of charge in a later round, under the institute's conditions. Tell our team which course and round you attended, and we will check it and offer you the rounds that still have seats. Ask us on LINE @itgenius or call 02-570-8449.

How do I enrol, or request a quotation for my company?

Enrol online with the registration form on this page. You can register several attendees at once and enter your tax ID and billing address for the tax invoice. Or request a company quotation straight from the quote button. For anything else call 02-570-8449 or reach us on LINE @itgenius.