Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions docs/overview/natural_language.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ with [Quick Start](https://pyautofit.readthedocs.io/en/latest/overview/quick_sta
**Every step on this page can be requested in natural language—you do not
need to write Python to follow it.** The workflow is:
**model → priors → likelihood → search → results → scientific workflow**.
Typing the start-here prompt from [Quick Start](https://pyautofit.readthedocs.io/en/latest/overview/quick_start.html)
into the assistant walks these six sections as a [guided tour](https://github.com/PyAutoLabs/autofit_assistant/blob/main/modes/start_here.md), one step at
a time — or you can paste any prompt below into the assistant directly.

## Contents

Expand Down Expand Up @@ -54,9 +57,9 @@ Total Free Parameters = 3

model Gaussian (N=3)

centre UniformPrior [1], lower_limit = 0.0, upper_limit = 100.0
normalization LogUniformPrior [2], lower_limit = 1e-06, upper_limit = 1000000.0
sigma UniformPrior [3], lower_limit = 0.0, upper_limit = 25.0
centre UniformPrior [0], lower_limit = 0.0, upper_limit = 100.0
normalization UniformPrior [1], lower_limit = 0.0, upper_limit = 100.0
sigma UniformPrior [2], lower_limit = 0.1, upper_limit = 30.0
```

Models are highly customizable: you can ask to fix a parameter,
Expand All @@ -79,8 +82,6 @@ Gaussian at each data point and compares the predictions with the measurements,
accounting for their uncertainties. As requested, you get an image comparing
the model and data.

[Find 1D example of a random model to the data, maybe from HowToFit]?

For your own project, you can instead ask:

> Use my existing likelihood code for this analysis [point to code]. Connect
Expand Down
7 changes: 7 additions & 0 deletions docs/overview/quick_start.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ To begin instantly, follow the [assistant setup guide](https://github.com/PyAuto
>
> Begin the "start here" guide for a new user.

The assistant answers this prompt with its guided
[**start here** mode](https://github.com/PyAutoLabs/autofit_assistant/blob/main/modes/start_here.md):
six steps on the bundled 1D Gaussian which you type yourself, followed by the same
six steps on your own science. At any step you can ask a question (for example
"what is a prior?") or say "teacher mode" to get a full explanation of everything
as you go. The six steps are the sections of [Natural Language Inference](https://pyautofit.readthedocs.io/en/latest/overview/natural_language.html).

## Bring Your Own Likelihood

Already have a likelihood function for your science problem? **Point the
Expand Down
Loading