Nvkm
Python + Jax implementation of the nonparametric Volterra kernels model
Install / Use
/learn @magnusross/NvkmREADME
Learning Nonparametric Volterra Kernels with Gaussian Processes
Python + Jax implementation of the nonparametric Volterra kernels model (NVKM), paper available here.
Requirements
You can install the requirements by running,
pip install -r requirements.txt
Note that only python version 3.8 has been tested. The code runs significantly faster on the GPU if one is available. To use the GPU, first follow the instructions here to get the GPU version of Jax, and then install the rest of the requirements.
Generate paper plots
You can generate the plots from the real data experiments in the paper, by running
python make_paper_plots.py
which loads the pre-trained models shown in the paper, makes predictions then generates the plots.
You can generate the synthetic data plots and table by running,
python make_synth_results.py
which loads predictions and calculates the relevant statistics and makes the plots.
Train paper models
You can train the models with the settings shown in the paper by running,
python synth_experiment.py
python water_tank_experiment.py
python weather_experiment.py
which will produce a variety of plots (in plots directory) and metrics, as well as a .pkl file (in the pretrained_models directory) containing the model. Warning this takes quite a while to run especially if not on the GPU.
Training other models
You can train models with your own settings using command line options, for example
python water_tank_experiment.py --Nits 1000 --Nvgs 15 --ampgs 5.0 --zgrange 0.35
would train a model on the tanks experiment for 1000 iterations using one Volterra kernel with 15 inducing points and width 0.35.
You can see the list of available options by running, for example
python water_tank_experiment.py -h
Related Skills
claude-opus-4-5-migration
109.4kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
model-usage
349.0kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
TrendRadar
50.9k⭐AI-driven public opinion & trend monitor with multi-platform aggregation, RSS, and smart alerts.🎯 告别信息过载,你的 AI 舆情监控助手与热点筛选工具!聚合多平台热点 + RSS 订阅,支持关键词精准筛选。AI 智能筛选新闻 + AI 翻译 + AI 分析简报直推手机,也支持接入 MCP 架构,赋能 AI 自然语言对话分析、情感洞察与趋势预测等。支持 Docker ,数据本地/云端自持。集成微信/飞书/钉钉/Telegram/邮件/ntfy/bark/slack 等渠道智能推送。
mcp-for-beginners
15.8kThis open-source curriculum introduces the fundamentals of Model Context Protocol (MCP) through real-world, cross-language examples in .NET, Java, TypeScript, JavaScript, Rust and Python. Designed for developers, it focuses on practical techniques for building modular, scalable, and secure AI workflows from session setup to service orchestration.
