جميع الكتب

مهني

1 Markets I: The Ecosystem and Exchange-Traded Marketsالأسواق عبر الإنترنت 2 Markets II: Rates, FX and Creditالأسواق عبر الإنترنت 3 Markets III: Commodities, Energy and Cryptoالأسواق عبر الإنترنت 4 Quantitative Methodsالأساليب عبر الإنترنت 5 Derivatives and Volatilityالمشتقات عبر الإنترنت 6 Rates, Credit, XVA and Riskالفائدة والائتمان والمخاطر عبر الإنترنت 7 Research Craft: Predictors, Backtests, Measurement, Portfoliosالبحث عبر الإنترنت 8 Strategies I: Equities and Futuresالاستراتيجيات عبر الإنترنت 9 Strategies II: Volatility, Relative Value, Macro and the Bank Desksالاستراتيجيات عبر الإنترنت 10 Microstructure and Executionالتنفيذ عبر الإنترنت 11 Market Making and High-Frequency Tradingصناعة السوق عبر الإنترنت 12 Machine Learning for Marketsتعلم الآلة عبر الإنترنت 13 Low-Latency Softwareالتكنولوجيا عبر الإنترنت 14 Networks, Hardware and Trading Infrastructureالتكنولوجيا عبر الإنترنت 15 Research, Data and Risk Platformsالتكنولوجيا عبر الإنترنت 16 The Desk and the Firmالشركة عبر الإنترنت 17 The Industry: Firms, Roles and Careersالمسارات المهنية عبر الإنترنت 18 The Interview Bookالمسارات المهنية عبر الإنترنت
التطبيقات حول المدرب تسجيل الدخول ابدأ القراءة

Quantitative Finance · المسرد

ما معنى Online learning, recursive least squares, forgetting factor؟

يُعرف أيضًا باسم: online learning · recursive least squares · forgetting factor

Definition 12.2 Machine Learning for Markets · الفصل 12 — Online Learning and Drift

Online learning updates a model with each new observation, in constant time and memory, and is scored prequentially: each observation is predicted before it is learned from. Recursive least squares (RLS) updates the weighted least-squares solution β^t=arg⁡min⁡b∑s≤tλt−s(ys−xs⊤b)2\hat\beta_t = \arg\min_b\sum_{s\le t}\lambda^{t-s}(y_s - x_s^\top b)^2 by

kt=Pt−1xtλ+xt⊤Pt−1xt,β^t=β^t−1+kt(yt−xt⊤β^t−1),Pt=1λ(Pt−1−ktxt⊤Pt−1),k_t = \frac{P_{t-1}x_t}{\lambda + x_t^\top P_{t-1}x_t},\quad \hat\beta_t = \hat\beta_{t-1} + k_t(y_t - x_t^\top\hat\beta_{t-1}),\quad P_t = \frac{1}{\lambda}\bigl(P_{t-1} - k_tx_t^\top P_{t-1}\bigr),

where the forgetting factor λ∈(0,1]\lambda\in(0,1] discounts old observations; their weights sum to about 1/(1−λ)1/(1-\lambda), the estimator’s effective memory.

Prequential R-squared of recursive least squares (after 1 000 steps of warm-up) against its effective memory, for streams whose coefficients change every D steps on average. Data: ml_online.forgetting.
Figure 12.1. Prequential R-squared of recursive least squares (after 1 000 steps of warm-up) against its effective memory, for streams whose coefficients change every DD steps on average. Data: ml_online.forgetting.
اقرأ في الفصل →