Skip to content

Latest commit

 

History

History
69 lines (41 loc) · 3.84 KB

README.md

File metadata and controls

69 lines (41 loc) · 3.84 KB

PyAutoFit: Scientific Inference with Natural Language

PyAutoFit is a Python package for scientific model fitting and Bayesian inference. Bring your models, data and likelihood code, then fit models and explore results through natural language with an AI assistant or by writing Python yourself.

Build automated inference workflows by composing models, chaining searches and organising results. With JAX-compatible likelihoods, use autodifferentiable models for gradient-based optimisation or sampling, alongside GPU acceleration for supported calculations. The PyAutoFit Assistant supports increasingly autonomous workflows, helping you connect your science code to inference and inspect the results while you guide the scientific choices.

Getting Started

Explore with AI

The PyAutoFit AI Assistant helps you compose models, choose priors, run inference and interpret results through conversation. To get started, paste this prompt into your AI coding agent:

I want to perform scientific inference with PyAutoFit
(https://github.com/PyAutoLabs/PyAutoFit) and the
autofit_assistant (https://github.com/PyAutoLabs/autofit_assistant).

First clone the assistant repository, cd into it and follow its AGENTS.md.
Begin the "start here" guide for a new user.

See AI Options for tools and setup guidance.

Explore It Yourself

Bring Your Own Likelihood

Already have a likelihood function for your science problem? The assistant can help connect your existing code to PyAutoFit:

Set up PyAutoFit with my existing science project:
[GitHub link or local directory].

Explain my likelihood function, propose a model and priors,
and recommend a search method.

Do not begin inference until we have discussed the setup
and I give you the go-ahead.

Then show me how to inspect and interpret the results.

The Bring Your Own Likelihood guide explains the workflow.

Learn Bayesian Inference

HowToFit teaches Bayesian inference and model fitting through worked notebooks, starting from undergraduate level. You can also read the Markdown lectures directly on GitHub.

The PyAutoFit documentation covers the software’s features, from model composition and sampling to model comparison and hierarchical inference.

Community and Contributing

Ask questions, suggest improvements and share your work in PyAutoLabs Discussions, or chat with us on Slack.

To contribute or explore community projects, visit the PyAutoFit community page.

Citations

If you use PyAutoFit in your research, see the citation guide.

License

See the license.

i’ve been lost for a while