Skip to content

Commit

Permalink
Merge branch 'main' into 19-feat-add-linear-mixed-model-to-abstract
Browse files Browse the repository at this point in the history
  • Loading branch information
benwandrew authored Jan 18, 2024
2 parents ecfcb22 + a15a931 commit 3680f5c
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 24 deletions.
34 changes: 12 additions & 22 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,26 +2,16 @@

Synthetic experiment data for testing AutoRA theorists and experimentalists.

## Quickstart Guide
## Overview

| Name | Category | Links |
|---|---|---|
| Linear mixed model | Abstract | [Ref](https://autoresearch.github.io/autora/reference/autora/experiment_runner/synthetic/abstract/llm/) |
| Expected Value Theory | Economics | [Ref](https://autoresearch.github.io/autora/reference/autora/experiment_runner/synthetic/economics/expected_value_theory/) |
| Prospect theory | Economics | [Ref](https://autoresearch.github.io/autora/reference/autora/experiment_runner/synthetic/economics/prospect_theory/) |
| Task Switching | Neuroscience | [Ref](https://autoresearch.github.io/autora/reference/autora/experiment_runner/synthetic/neuroscience/task_switching/) |
| Exponential Learning | Psychology | [Ref](https://autoresearch.github.io/autora/reference/autora/experiment_runner/synthetic/psychology/exp_learning/) |
| Luce-Choice-Ratio | Psychology | [Ref](https://autoresearch.github.io/autora/reference/autora/experiment_runner/synthetic/psychology/luce_choice_ratio/) |
| Stevens' Power Law | Psychophysics | [Ref](https://autoresearch.github.io/autora/reference/autora/experiment_runner/synthetic/psychophysics/stevens_power_law/) |
| Weber-Fechner Law | Psychophysics | [Ref](https://autoresearch.github.io/autora/reference/autora/experiment_runner/synthetic/psychophysics/weber_fechner_law/) |

You will need:

- `python` 3.8 or greater: [https://www.python.org/downloads/](https://www.python.org/downloads/)

Install the synthetic data package:

```shell
pip install -U "autora"
```

!!! success
It is recommended to use a `python` environment manager like `virtualenv`.

Print a description of the prospect theory model by Kahneman and Tversky by running:
```shell
python -c "
from autora.experiment_runner.synthetic.economics.prospect_theory import prospect_theory
study = prospect_theory()
print(study.description)
"
```
23 changes: 23 additions & 0 deletions docs/quickstart.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Quickstart Guide

You will need:

- `python` 3.8 or greater: [https://www.python.org/downloads/](https://www.python.org/downloads/)

Most synthetic experiment runners are part of autora-core:

```shell
pip install -U "autora"
```

!!! success
It is recommended to use a `python` environment manager like `virtualenv`.

Print a description of the prospect theory model by Kahneman and Tversky by running:
```shell
python -c "
from autora.experiment_runner.synthetic.economics.prospect_theory import prospect_theory
study = prospect_theory()
print(study.description)
"
```
3 changes: 2 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,6 @@ site_name: AutoRA Synthetic Data
repo_url: 'https://github.com/AutoResearch/autora-synthetic'

nav:
- Introduction: 'index.md'
- Home: 'index.md'
- Quickstart: 'quickstart.md'
- Example: 'Example.ipynb'
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def task_switching(
constant=1.5,
):
"""
Task Switchng
Task Switching
Args:
name: name of the experiment
Expand Down

0 comments on commit 3680f5c

Please sign in to comment.