Skip to content

Software containing a list of models of statistical optimality and heuristic models

Notifications You must be signed in to change notification settings

inference-org/bsfit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

author: steeve laquitaine

Go to documentation

Setup

Create virtual environment and install dependencies:

conda create -n bsfit python==3.6.13
conda activate bsfit
conda install --file bsfit/requirements.txt -y

Tutorials

Setup jupyter notebook:

conda install -n heuristic ipykernel --update-deps --force-reinstall

Contribute

Unit-testing

Unit-Test all the package's functions:

pytest bsfit/test.py

Documentation

Best practices:

  • Keep Doctstrings in Google Style Guide format.

Update

  1. Edit docs/source/
  2. Go to "Build & deploy" section

Build & deploy

Basic steps: develop (features) -> pre-prod (homologation) -> master (production)

  1. On branch develop (to add features):

    • when: after having added a new working feature
    bash deploy.sh
  2. Pull request pre-prod branch (homologation, check docs rendering)

    • when: after deploying sphinx/ to docs/
  3. Pull request to master (production branch for end-users)

    • when: the entire codebase is clean

References

Main paper to be cited (Laquitaine et al., 2018)

@article{laquitaine2018switching,
  title={A switching observer for human perceptual estimation},
  author={Laquitaine, Steeve and Gardner, Justin L},
  journal={Neuron},
  volume={97},
  number={2},
  pages={462--474},
  year={2018},
  publisher={Elsevier}
}

About

Software containing a list of models of statistical optimality and heuristic models

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published