trainindata/forecasting-with-machine-learning
trainindata/forecasting-with-machine-learning has 31 GitHub stars and 16 forks. Star changes are not measured yet. Last checked 2026-11-14 07:45 UTC. Last push 2026-11-13.
측정된 스타 증가
- in 24h
- 기록 수집 중
- in 7 days
- 기록 수집 중
- in 15 days
- 기록 수집 중
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
소개
Code repository for the course "Forecasting with Machine Learning Models"
머신러닝README.md
OriginalForecasting with Machine Learning
Learn how to forecast time series with machine learning models: from turning time series into tabular data, to single-step and multistep forecasting, multiseries forecasting, backtesting, and error metrics.
This repository contains the practical notebooks for the Forecasting with Machine Learning course. The examples use pandas 3, scikit-learn, Feature-engine, and skforecast.
Released: March 2024 Last updated: Nov 2026 Status: Actively maintained
What you will learn
- Frame time series forecasting as a regression problem.
- Tabularize time series with lag, window, and datetime features.
- Build benchmark models to know whether machine learning is adding value.
- Forecast multiple steps ahead with recursive and direct strategies.
- Forecast many time series at once with global models.
- Evaluate forecasting models with backtesting and choose the right error metric.
Course contents
-
- Time series forecasting
- Tabularizing time series: lag, window, and datetime features
- Endogenous and exogenous variables
- Feature engineering with Feature-engine
- Benchmark models: naive, seasonal naive, moving average
- Single-step forecasting with machine learning
-
- Recursive forecasting
- Recursive forecasting with window features and future-known features
- Direct forecasting with skforecast and scikit-learn
- Direct forecasting with future-known features
-
- Global vs local forecasting
- Independent multi-time series forecasting
- Dependent multi-time series forecasting
-
- Backtesting with or without refitting
- Backtesting with expanding or rolling training windows
- Backtesting with intermittent refitting
- Backtesting with a gap
-
- Choosing error metrics for forecasting
- Implementing and using custom error metrics
Getting started
Clone the repository (Python 3.12+ required), then set up a dedicated environment to run the notebooks.
Create and activate a virtual environment
python -m venv fwml
source fwml/bin/activate # macOS/Linux
fwml\Scripts\activate # Windows
Install dependencies
pip install -r requirements.txt
Install Jupyter and register the kernel
pip install jupyter ipykernel
python -m ipykernel install --user --name=fwml --display-name "fwml"
The environment will now be available as a kernel named fwml in Jupyter Notebook. Start Jupyter and open the notebooks in numerical order:
jupyter notebook
Course
For lectures, explanations, and the complete learning path, visit the online course.
관련 프로젝트 살펴보기
tensorflow/tensorflow
모두를 위한 오픈소스 머신러닝 프레임워크
201,594 스타huggingface/transformers
🤗 Transformers: 텍스트, 비전, 오디오, 멀티모달 분야의 최첨단 머신러닝 모델을 위한 모델 정의 프레임워크로, 추론과 학습을 모두 지원합니다.
168,962 스타AUTOMATIC1111/stable-diffusion-webui
Stable Diffusion 웹 UI
165,312 스타Comfy-Org/ComfyUI
그래프와 노드로 구성된 인터페이스를 갖춘, 가장 강력하고 모듈성이 뛰어난 확산 모델 GUI, API, 백엔드입니다. 세계에서 가장 빠른 로컬 추론 엔진입니다.
146,757 스타