About this course
Model data that unfolds over time and learn to make sequential decisions under uncertainty.
Built an end-to-end forecasting and control agent in Python with PyTorch, statsmodels, and Gymnasium, coupling a neural sequence forecaster to a deep reinforcement-learning controller trained with DQN and PPO inside a simulated environment.
Expected outcomes
- Test temporal data for stationarity using ADF and KPSS tests, select lag orders from ACF/PACF plots and information criteria, and fit ARIMA models with seasonal decomposition
- Engineer lag and rolling-window features, apply walk-forward cross-validation with purged look-ahead bias, and evaluate probabilistic forecasts with proper scoring rules
- Build and train deep sequence models including RNNs, LSTMs, and temporal attention networks for multi-step forecasting tasks
- Formulate sequential decision problems as Markov decision processes and implement model-free RL agents including DQN, PPO, and SAC in simulation environments
- Balance exploration and exploitation using epsilon-greedy, UCB, and Thompson sampling strategies, including curiosity-driven intrinsic rewards
- Detect and adapt to concept drift using ADWIN and Page-Hinkley tests and deploy online learning pipelines with incremental model updating
Key topics
- Time-series forecasting
- Sequence models
- Reinforcement learning
- Decision under uncertainty
Theoretical foundations
The concepts and results this course rests on.
- stationarity, unit roots, and differencing: ADF and KPSS tests and seasonal differencing
- autocorrelation and partial autocorrelation: ACF/PACF plots and lag selection with AIC and BIC
- ARIMA and seasonal decomposition: AR, I, MA components; STL decomposition; additive and multiplicative seasonality
- Markov decision processes: states, actions, rewards, transition probabilities, discount factor, and return
- temporal difference learning and Q-learning: Bellman update, epsilon-greedy, experience replay, and DQN
- policy gradient theorem and actor-critic methods: REINFORCE, PPO, SAC, advantage estimation, and entropy regularization
- sequence modeling with RNNs and LSTMs: vanishing gradients, gating mechanisms, and seq2seq with temporal attention
- walk-forward cross-validation and data leakage: expanding window, blocked k-fold, and purging look-ahead bias
- exploration-exploitation trade-off: epsilon-greedy, UCB, Thompson sampling, and curiosity-driven intrinsic rewards
- online learning and concept drift adaptation: ADWIN, KSWIN, Page-Hinkley test, and incremental model updating
Prerequisites
Course-specific prerequisites:
- Machine Learning
- Probability and statistics
- Linear algebra
Weekly schedule 13 weeks · lecture + practice
Students use AI assistants to generate and refactor the statsmodels ARIMA baselines, the LSTM and temporal-transformer forecasters, and the Gymnasium environment and reward code, vibe-coding the DQN and PPO training loops. They prompt AI to synthesize simulated episodes and edge-case series, to wire reward shaping and replay buffers, and to set up Optuna sweeps. AI also helps read backtest plots and learning curves, explaining why a policy diverged or a forecast lost calibration.
Student project
Teams choose a real temporal dataset from finance, energy, sensor monitoring, or logistics, and build a full pipeline from a statistical baseline through a deep sequence forecaster to a sequential decision agent that acts on the forecast. All three approaches are evaluated side-by-side with rigorous walk-forward cross-validation.
Requirements
- Build a working system, not a set of disconnected exercises.
- Be original: a new system that solves a real problem, not a re-implementation of a tutorial or course demo.
- Show real depth: real data, real users or realistic load, and engineering trade-offs that are measured rather than assumed.
- Carry one running project from specification to a deployed, defensible result across the whole term.
- Work in a team of three or four and defend the design at each of the three presentations (weeks 5, 8, and 13).
Example projects
Assessment & grading
Grading is project-based, with no written exam. Teams of three or four present one running project three times.
| Component | What it covers | Weight |
|---|---|---|
| Project · Specification | Presentation 1 (week 5): problem, objectives, and architecture | 20% |
| Project · Interim | Presentation 2 (week 8): the working system demonstrated live | 30% |
| Project · Final | Presentation 3 (week 13): end-to-end demo with oral defense | 50% |
Tools & platforms
- PyTorch: sequence model implementation
- statsmodels: ARIMA and classical time-series models
- sktime: unified time-series forecasting API
- Prophet: decomposable trend and seasonality forecasting
- Gymnasium: reinforcement-learning environments
- Stable-Baselines3: reference RL algorithm implementations
- Ray RLlib: scalable distributed RL
- NumPy: numerical computation
- pandas: time-series data handling
- Matplotlib: forecast and policy visualization
- Optuna: hyperparameter optimization
- Weights and Biases: experiment tracking
Free online courses
Existing free, video-based courses this course can build on, for self-study or as a teaching basis.
- YouTubeDeepMind x UCL: Introduction to Reinforcement Learning (David Silver)
- YouTubeBerkeley CS285: Deep Reinforcement Learning (Fall 2023)
- MIT OCWTime Series Analysis I (MIT 18.S096)
In Hebrew · בעברית
- Dr. Amos Azaria, Ariel University (YouTube)Reinforcement Learning 1 - למידה מונחית חיזוקים
- Ben-Gurion University (Campus IL)מבוא לבינה מלאכותית: מתאוריה לפרקטיקה
Primary literature
Seminal works for advanced study.
References
Books and resources link to an online or publisher page.
- TextbookReinforcement Learning: An Introduction, 2nd edition
- TextbookForecasting: Principles and Practice, 3rd edition
- TextbookProbabilistic Machine Learning: An Introduction
- PaperPlaying Atari with Deep Reinforcement Learning
- PaperProximal Policy Optimization Algorithms
- TextbookDive into Deep Learning
- DocumentationRay Documentation
Role in each concentration
| Concentration | Role |
|---|---|
| Intelligent Software Systems | Elective |
| Networking & Cyber Security | Elective |
| AI & Robotics | Core · Semester 1 |
| AI and Quantum Computing for Finance | Core · Semester 1 |
| Immersive Systems & Game Development | Elective |
| Defense Technologies & Autonomous Systems | Core · Semester 2 |