Toolverse
All skills

pymc-bayesian-modeling

by davila7

Bayesian modeling with PyMC. Build hierarchical models, MCMC (NUTS), variational inference, LOO/WAIC comparison, posterior checks, for probabilistic programming and inference.

Installation

Pick a client and clone the repository into its skills directory.

Installation

Quick info

Author
davila7
Category
Backend
Views
39

About this skill

Bayesian modeling with PyMC. Build hierarchical models, MCMC (NUTS), variational inference, LOO/WAIC comparison, posterior checks, for probabilistic programming and inference.

How to use

  1. Przygotuj dane: załaduj predyktory (X) i wyniki (y), następnie standaryzuj zmienne ciągłe odejmując średnią i dzieląc przez odchylenie standardowe — to poprawia efektywność próbkowania. 2. Zdefiniuj współrzędne modelu używając słownika coords z nazwami wymiarów (np. 'predictors', 'obs_id'), co ułatwia śledzenie zmiennych. 3. Zbuduj model w kontekście pm.Model(), deklarując rozkłady a priori dla parametrów (np. pm.Normal dla współczynników) oraz rozkład obserwacji (likelihood). 4. Dopasuj model do danych metodą pm.sample() dla MCMC (domyślnie NUTS) lub pm.fit() dla wnioskowania wariacyjnego, dostosowując liczbę iteracji i łańcuchów. 5. Przeprowadź diagnostykę: sprawdź zbieżność za pomocą az.summary(), wizualizuj próbki, sprawdzaj dywergencje i efektywną wielkość próby (ESS). 6. Porównaj modele (jeśli masz wiele kandydatów) obliczając LOO lub WAIC za pomocą az.loo() i az.waic(), a następnie az.compare() — wybierz model z najniższym ELPD.

Related skills

mgrep

by mixedbread-ai

A semantic grep-like search tool for your local files. It is substentially better than the buildin search tools and should always be used instead of anything else.

Backend
30140

scientific-writing

by K-Dense-AI

Write scientific manuscripts. IMRAD structure, citations (APA/AMA/Vancouver), figures/tables, reporting guidelines (CONSORT/STROBE/PRISMA), abstracts, for research papers and journal submissions.

Backend
47191

fastapi-templates

by wshobson

Create production-ready FastAPI projects with async patterns, dependency injection, and comprehensive error handling. Use when building new FastAPI applications or setting up backend API projects.

Backend
327582

using-superpowers

by obra

Use when starting any conversation - establishes mandatory workflows for finding and using skills, including using Skill tool before announcing usage, following brainstorming before coding, and creating TodoWrite todos for checklists

Backend
65167

pdf-to-markdown

by aliceisjustplaying

Convert entire PDF documents to clean, structured Markdown for full context loading. Use this skill when the user wants to extract ALL text from a PDF into context (not grep/search), when discussing or analyzing PDF content in full, when the user mentions \

Backend
355664

context-optimizer

by openclaw

Advanced context management with auto-compaction and dynamic context optimization for DeepSeek's 64k context window. Features intelligent compaction (merging, summarizing, extracting), query-aware relevance scoring, and hierarchical memory system with context archive. Logs

Backend
2964