Logo: Pymc Modeling

Pymc Modeling

Organisatioun
pymc-labs
pymc-modeling

Baut, iwwerschafft a debuggt Bayesianesch Modeller mat PyMC. Benotzt dëse Skill, wann Dir Likelihoods a Priors auswielt, Dimensioune vu Modell an Daten definéiert, hierarchesch Modeller, GPs, Zäitreien, Mëschungen, BART oder Splines upasst, Verdeelunge vu pymc-extras benotzt, marginaliséiert, State-Space-Modeller oder Tools fir de Modellopbau benotzt, Inferencemethode auswielt, Feeler bei der initialer Evaluatioun oder bei de Forme vu Modell an Daten léist, Prognose generéiert oder Modellcode mat simuléierten Daten a Simulation-Based Calibration (SBC) test. Ënnerstëtzt PyMC 6+, PyTensor 3+ an ArviZ 1.0 DataTree-Workflows.

Add to TypingMind

Iwwersiicht

Editeurpymc-labs
Repositorypymc-modeling
Skill-Nummpymc-modeling
Stären
93
Forks
10
Matgeliwwert Dateien
21
LizenzMIT
Linken
  • Instruktiounen am Markdown-Format

    Eng SKILL.md-Datei, déi de Modell bei Bedarf luet, soudatt nëmmen Token ufalen, wann eng Ufro tatsächlech dozou passt.

  • Funktionéiert mat all LLM

    KI-Skills si reng Markdown, keen ubidderspezifesche Code. Dofir funktionéiert dëse Skill mat GPT, Claude, Gemini, Grok oder engem lokale Modell.

  • 21 matgeliwwert Dateien

    Skripten, Virlagen a Referenzen, déi de Modell beim Schaffe liese kann. D'Dateie kënnen nëmme gelies ginn a ginn ni ausgeféiert.

  • Open Source

    pymc-labs huet de Skill op GitHub verëffentlecht. Liest de Quelltext, ier Dir de Skill installéiert.

Installatioun

Installéiert de KI-Skill Pymc Modeling an TypingMind, fir e mat all LLM ze benotzen, oder setzt en an en anere KI-Agent an, deen SKILL.md liest.

1

An TypingMind installéieren

TypingMind installéiert e Skill direkt aus sengem GitHub-Dossier — dobäi gëtt SKILL.md gelies, d'Ressourcedateie gi gebëndelt an d'Resultat gëtt lokal gespäichert.

  1. Maacht d'App op a gitt op Plugins → Skills.
  2. Wielt „Vu GitHub installéieren“.
  3. Pecht d'URL vum Skill-Dossier, déi hei drënner steet, an a bestätegt d'Installatioun.
    https://github.com/pymc-labs/pymc-modeling/tree/main/skills/pymc-modeling
  4. Aktivéiert de Skill an all Chat, an deem Dir e benotze wëllt.
Plugins → Skills → Skill derbäisetzen → Iwwer eng GitHub-URL. Pecht dann d'URL vum Dossier an a klickt op Weider.
2

An engem anere KI-Agent installéieren

All KI-Agent, deen d'Format Agent Skills liest, kann dëse Skill benotzen — kopéiert den Dossier an d'Skill-Verzeechnes vun deem KI-Agent.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/pymc-labs/pymc-modeling.git /tmp/pymc-modeling
mkdir -p .claude/skills
cp -r /tmp/pymc-modeling/skills/pymc-modeling .claude/skills/pymc-modeling
Start Claude Code nom Kopéieren nei, fir datt den neie Skill erkannt gëtt.

An TypingMind benotzen

Aktivéiert Pymc Modeling an engem Chat vun TypingMind, an de Modell iwwerhëlt de Rescht. Den Numm an d'Beschreiwung stinn am System-Prompt. Soubal eng Ufro dozou passt, luet de Modell déi komplett Instruktioune selwer — Dir musst de Skill ni manuell opruffen, an et fale keng Token un, bis en tatsächlech benotzt gëtt.

De Modell luet Pymc Modeling automatesch, soubal eng Ufro dozou passt.

Funktionéiert mat all KI-Modell

KI-Skills si reng Markdown-Instruktiounen amplaz vun ubidderspezifeschem Code. Dofir ass Pymc Modeling net un de Modell gebonnen, fir deen de Skill geschriwwe gouf. Installéiert en eemol an TypingMind a benotzt e mat GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder engem lokale Modell, deen Dir selwer bedreift — alles mat Ären eegenen API-Schlësselen.

  • Gëtt nëmme gelueden, wann et néideg ass

    De System-Prompt enthält nëmmen den Numm an d'Beschreiwung. D'Instruktioune gi bei der éischter passender Ufro gelueden, soudatt en onbenotzte Skill näischt kascht.

  • De Modell am lafende Chat wiesselen

    Well de Skill aus Instruktiounen amplaz vu Code besteet, funktionéiert en och no engem Modellwiessel — den nächste Modell liest déi selwecht SKILL.md-Datei.

Skill-Instruktiounen

Dëst ass den Inhalt vu SKILL.md, deen de Modell luet. Liest e virun der Installatioun — e Skill besteet aus Instruktiounen, déi Äre Modell befollegt.

PyMC modeling

Choose a useful starting point: a simple scaffold, an established subject-matter model, or a decomposition of a larger target model. Expand, simplify or branch as the question, data and checks warrant. Use the consuming project's data and Python environment; check installed APIs and package compatibility.

For pymc-extras tasks, start with feature selection and compatibility, then load only the relevant workflow reference. Prefer its supported algorithms to bespoke implementations; do not use an extension merely because it is installed.

Choose the primary task

  • Construct, fit or initialize a model: use pymc-modeling.
  • Elicit prior assumptions or check prior-predictive plausibility: use prior-elicitation when available.
  • Diagnose an existing completed fit or evaluate its predictions: use arviz-diagnostics when available.
  • Repair symbolic computation, broadcasting, gradients or compilation: use pytensor-workflows when available.
  • Track experiments, preserve MLflow artifacts or restore a logged MMM model: use pymc-mlflow when available.

Multipart requests can use more than one skill. The references below support modeling when specialist skills are not installed.

Workflow

  1. Formulate. State the estimand or prediction target, observation units, outcome support, grouping/time structure, selection and missingness, and what information is available at prediction time. Separate predictive, inferential and causal claims; respect data authorization and retain source identities.
  2. Specify and inspect. Match the likelihood to the observation process; choose identifiable parameterizations and priors in declared units. Check row alignment, shapes, support and finite initial log density. Ordinary dims label positional tensors; they do not join coordinates. Use known-parameter simulated cases to probe new implementations and their failure modes; use scoped SBC when repeated inference checks are warranted.
  3. Check prior predictions. Simulate before fitting and compare support, scales and decision-relevant features to domain knowledge. Do not tune priors solely to the realized extrema.
  4. Explore, then fit for inference. Prefer nutpie when compatible and installed. Short preliminary fits can reveal bugs, difficult geometry or gross misfit; label them exploratory, not reliable posterior inference. For reportable results, allocate warmup and draws from adaptation and required ESS/MCSE. Save results before diagnostics or plotting.
  5. Diagnose, then criticize. Inspect divergences, rank R-hat, bulk/tail ESS, MCSE and chain/rank plots. Diagnose every divergence. Unreliable computation leaves posterior conclusions unresolved; it does not disprove a likelihood. Use posterior predictive discrepancies to check the observation model. In-sample PPCs are not held-out validation.
  6. Predict, decide and revise. Preserve training identities and align new inputs; distinguish latent means from noisy observations. For recommendations, propagate uncertainty through stated consequences, utilities and constraints, or hand off the inference without inventing the decision maker's values. Retain relevant model variants and explain how changed assumptions affect estimands, predictions and decisions—not just which has the best score. Adaptive PPC/CV-driven search can overfit; do not present its winner as uniquely confirmed or change seeds/criteria merely to obtain a favorable result.

PyMC 6 returns xarray.DataTree: use idata["posterior"], not attribute group access. Call pm.compute_log_likelihood(idata, model=model) explicitly before LOO or other pointwise-likelihood workflows. ArviZ 1.0 uses LOO, not removed WAIC; state interval probability and type (the default is 89% ETI). Similar stacking weights do not imply model equivalence. Sampler preferences, warmup starting points and interval defaults are implementation conventions, not universal Bayesian workflow requirements. Choose them for the task.

Read only what the task needs

When working onReference
End-to-end fitting, diagnostics and scientific checksWorkflow
Model construction, data containers and dimensionsModel and data
Failed initialization, shape errors, stuck sampling or warningsTroubleshooting
Group effects, pooling and parameterizationHierarchical models
Outcome support, censoring, multivariate families and JacobiansLikelihoods
Algorithms, backends, budgets and persistenceSampling
pymc-extras feature selection, compatibility and validationPyMC Extras
Markov chains, specialized counts, extreme values and histogram likelihoodsExtras distributions
Kalman-marginalized models, structural components and forecastingExtras state-space workflows
Prior factories, model packaging, VIP and posterior-as-prior transferExtras model tools
Variational, Laplace and Pathfinder approximationsApproximate inference
Covariance models and finite-basis errorGaussian processes
Temporal dependence, differential equations and forecastingTime series
Label invariance and discrete eliminationMixtures
External densities, simulators and predictive callbacksCustom likelihoods
Conditioning, interventions and graph transformationsTransformations
In-sample criticism and new-input predictionPredictive checks
Tree ensembles and prediction stateBART
Basis penalties and distributional predictorsSplines
Simulated-data experiments, SBC, numerical oracles and mocksModel testing
Advanced numerical and extension interfacesInterface boundaries

For version-specific APIs, use help() or inspect.signature() on the installed object in the consuming environment, then consult version-matched official documentation or source.

Matgeliwwert Dateien

De Modell liest dës Dateie bei Bedarf, wärend de Skill gelueden ass. Si ginn als liesbar Dateie bereetgestallt a ginn ni ausgeféiert.

Heefeg gestallte Froen

Wat mécht de KI-Skill Pymc Modeling?

Baut, iwwerschafft a debuggt Bayesianesch Modeller mat PyMC. Benotzt dëse Skill, wann Dir Likelihoods a Priors auswielt, Dimensioune vu Modell an Daten definéiert, hierarchesch Modeller, GPs, Zäitreien, Mëschungen, BART oder Splines upasst, Verdeelunge vu pymc-extras benotzt, marginaliséiert, State-Space-Modeller oder Tools fir de Modellopbau benotzt, Inferencemethode auswielt, Feeler bei der initialer Evaluatioun oder bei de Forme vu Modell an Daten léist, Prognose generéiert oder Modellcode mat simuléierten Daten a Simulation-Based Calibration (SBC) test. Ënnerstëtzt PyMC 6+, PyTensor 3+...

Firwat Pymc Modeling op TypingMind benotzen?

Well Dir en eemol installéiert a mat all Modell benotze kënnt. Pymc Modeling besteet aus einfachem Markdown amplaz vun ubidderspezifeschem Code. Dee selwechte Skill funktionéiert also mat GPT-5, Claude, Gemini, Grok oder engem lokale Modell – an Dir kënnt de Modell matzen am Chat wiesselen, ouni datt de Skill ophält ze funktionéieren. TypingMind benotzt Är eegen API-Schlësselen, sou datt Dir d'Ubidder direkt bezuelt, amplaz en Abonnement pro Benotzerplaz ze bezuelen. Är Skills a Chats bleiwen an Ärem eegene Späicher.

Wéi installéieren ech Pymc Modeling an TypingMind?

Maacht an TypingMind Plugins → Skills → Vu GitHub installéieren op a setzt https://github.com/pymc-labs/pymc-modeling/tree/main/skills/pymc-modeling an. TypingMind liest d'Datei SKILL.md, bëndelt déi zougehéiereg Dateien an installéiert dat Ganzt als Skill, deen Dir pro Chat aktivéiere kënnt.

Wéi eng KI-Modeller kënnen Pymc Modeling benotzen?

All Modell, deen Dir an TypingMind verbënnt. KI-Skills sinn einfach Markdown-Instruktiounen an net ubidderspezifesche Code. Dofir kënne GPT, Claude, Gemini, Grok a lokal Modeller dëse Skill lueden, wann eng Ufro dozou passt.

Wéi vill KI-Modeller kann ech mat Pymc Modeling benotzen?

Esou vill wéi Dir wëllt. Soulaang e Modell Skills ënnerstëtzt, kënnt Dir Pymc Modeling domat benotzen – zum Beispill mat GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama – alles op TypingMind mat Ären eegenen API-Schlësselen.

Ass de KI-Skill Pymc Modeling gratis?

Jo. pymc-labs huet de Skill ënner der Lizenz MIT op GitHub publizéiert. Dir bezuelt nëmmen Ären eegene KI-Ubidder fir d'Token, déi Dir benotzt.

Wat si KI-Skills?

E KI-Skill ass e weiderverwendbare Pak vun Instruktiounen, deen engem KI-Modell bäibréngt, wéi en eng bestëmmt Aufgab erfëllt. E follegt dem oppenen Agent Skills-Format: eng Datei SKILL.md mat engem Numm an enger Beschreiwung, plus all Scripten, Virlagen oder Referenzdateien, déi de Modell eventuell brauch. De Modell liest d'Instruktiounen eréischt, wann Är Ufro zum Skill passt. En installéierte Skill kascht also näischt, bis e benotzt gëtt.

Wéi ënnerscheede sech KI-Skills vu Plugins oder MCP-Serveren?

E Plugin oder MCP-Server gëtt engem Modell nei Tools, déi en opruffe kann – Code, deen iergendwou leeft an e Resultat zeréckgëtt. E KI-Skill gëtt dem Modell dogéint Wëssen an eng Virgoensweis: wéi en eng Aufgab ugeet, wéi eng Schrëtt e maache soll a wéi eng gutt Ausgab ausgesäit. Skills bestinn aus einfachem Markdown, brauche kee Server, keen API-Schlëssel a kee Lafzäitëmfeld a funktionéiere mat all Modell.

Alleguer weisen

Elo Ären eegene KI-Aarbechtsberäich ariichten

Abonnéiert Iech op eisen Newsletter, fir iwwer nei Funktiounen an zukünfteg Gewënnspiller informéiert ze ginn 👇