技能创建器
skill-creator
创建、改进和评估自定义技能,把专业流程转化为可重复使用的 AI 能力。
multivariate-models【数据与研究】Use PyFlux VAR and GPNARX workflows, including multivariate DataFrame inputs, autoregressive lags, Gaussian-process kernels, and forecasts.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this sub-skill when the task is a PyFlux vector-autoregression or Gaussian-process nonlinear autoregression workflow.
Use this sub-skill for:
pf.VAR(data, lags, target=None, integ=0, use_ols_covariance=False) when the input is a multivariate time series and each variable is a DataFrame column.pf.GPNARX(data, ar, kernel, integ=0, target=None) when the input is one target series and nonlinear autoregression should be modeled with a Gaussian-process kernel.pf.SquaredExponential(), pf.OrnsteinUhlenbeck(), pf.RationalQuadratic(), and pf.Periodic(); pf.ARD() is exported but known fragile in PyFlux 0.4.17, so check troubleshooting before using it.Route elsewhere:
../univariate-models/.../state-space-models/.../volatility-models/.../gas-models/.VAR) or one target series with nonlinear lag structure (GPNARX).VAR, build a numeric pandas.DataFrame with variables as columns, choose lags, optionally choose integ, and start with the default OLS fit.GPNARX, build one numeric series, choose ar >= 1, instantiate a kernel object, and start with the default MLE fit.predict(h=...) and backtest with predict_is(...); validate horizon length, column count, and finite/non-NaN predictions.PML, Laplace, M-H, or BBVI only when the task needs priors, posterior uncertainty, or regularization.../../scripts/smoke_pyflux_models.py --section multivariate