Skip to content

Commit aed025b

Browse files
author
mdhumphries
committed
Update README.md
1 parent 8da5c22 commit aed025b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,18 @@ Requires: Statistics and Machine Learning Toolbox
77
[reference to pre-print to go here]
88

99
## Top-level scripts
10-
Three scripts demonstrate the main use of the Toolbox:
10+
Four scripts demonstrate the main use of the Toolbox:
1111
1. Demonstrate_Bayesian_strategy_analysis.m: shows how to run the algorithm for a single strategy model
1212
2. Demonstrate_Multiple_Bayesian_strategy_analysis.m: demonstrates the functions that allow the algorithm to be run on an arbitrary set of strategy models, and how to store the outputs
1313
3. Demonstrate_interpolation_of_null_trials: the functions executing the strategy models return Null trials as NaNs, to allow users to test their own models of how to handle this trial type. This script demonstrates the approach we use in the pre-print: it replaces those NaNs by interpolating the preceding values of the Beta distribution's parameters.
14-
4. Replicate_Figure1: replicates panels c, d, and e of Figure 1 in the paper, to demonstrate the full workflow: choosing strategies, computing p(strategy) for each, interpolating probabilities for Null trials, and then plotting the appropriate time-series of probablilities
14+
4. Replicate_Figure1: replicates panels c, d, and e of Figure 1 in the paper, to demonstrate the full workflow: choosing strategies, computing p(strategy) for each, interpolating probabilities for Null trials, and then plotting the appropriate time-series of probabilities
1515

1616

1717
## Folders
1818
- Strategy_models/: each function in this folder executes a single strategy model; the range of strategy models can be easily expanded by adding functions to this folder - a template has been provided
1919
- Functions/: the set of functions that implement the Bayesian algorithm, handle multiple strategies, and summarise the Beta distribution (MAP estimate, precision etc)
2020
- Processed_data/: the Y-maze rat data used to demonstrate the code in the top-level scripts
21-
21+
- Development/: scripts used in testing code for bugs, including unit-tests of strategy models [toolbox functionality does not need this folder]
2222

2323

2424

0 commit comments

Comments
 (0)