Aepsych

Latest version: v0.5.0

Safety actively analyzes 681748 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 1 of 2

0.4.4

Minor bug fixes

* Revert tensor changes for LSE contour plotting
* Ensure manual generators don't hang strategies in replay
* Set default inducing size to 99, be aware that inducing size >= 100 can significantly slowdown the model on very specific hardware setups

0.4.3

* Float64 are now the default data type for all tensors from AEPsych.
* Many functions are ported to only use PyTorch Tensors and not accept NumPy arrays
* Fixed ManualGenerators not knowing when it is finished.

0.4.2

* BoTorch version bumped to latest at 0.12.0.
* Numpy pinned below v2.0 to ensure compatibility with Intel Macs
* Only Python 3.10+ is supported now (matching BoTorch requirements)

0.4.1

- Updated point generation and model querying to be faster
- Bumped ax version to 0.3.7
- Miscellaneous bug fixes

0.4.0

New features:
- [Ax](https://ax.dev/) can now be used as a backend. This is opt-in for now, but will become the default in a future version. Documentation [here](https://aepsych.org/docs/ax_backend).
- Added `aepsych_database` as a command-line executable for performing database operations.
- Added [MultitaskGPRModel](https://github.com/facebookresearch/aepsych/blob/main/aepsych/models/multitask_regression.py#L12) and [IndependentMultitaskGPRModel](https://github.com/facebookresearch/aepsych/blob/main/aepsych/models/multitask_regression.py#L88) for offline analysis of multi-subject data.
- Added the [semi-parametric models](https://github.com/facebookresearch/aepsych/blob/main/aepsych/models/semi_p.py) from [Keeley et al., 2023](https://arxiv.org/abs/2302.01187). Tutorial [here](https://aepsych.org/tutorials/Semi_P_tutorial).
- Added ability to pre-generate trials asynchronously on the server by specifying `pregen_asks = True` in the config file.
- `default_mean_covar_factory` can now take `dim` directly as an argument instead of having to read it from a `Config`.
- Expanded the [tutorial](https://aepsych.org/docs/gp_intro) on Gaussian process active learning.
- Implemented an [info message](https://github.com/facebookresearch/aepsych/blob/main/aepsych/server/message_handlers/handle_info.py) that allows clients to query the server for info about its state.
- Added additional type hints and docstrings throughout the codebase.
- Updates to dependencies.

Bug fixes:

- Fixed bug that caused `BinaryClassificationGP` to calculate variance incorrectly in probability space.
- Removed redundant "model fitting" logs.
- Fixed a type error in `MonotonicThompsonSamplerGenerator`
- Fixed a shape error in `EpsilonGreedyGenerator`.
- Fixed a broken test in `test_model_query.py`.

Other changes:

- Removed versioned server messages since we now have versioned releases and refactored server messages to be helper functions instead of `AEPsychServer` methods.
- Updated example configs to suggest `EAVC` as the threshold-finding acquisition function instead of `MCLSE`.

0.3.0

New features:
- Added an [example psychophysics experiment](https://github.com/facebookresearch/aepsych/tree/main/examples/contrast_discrimination_psychopy)
- Added an ordinal model and likelihood
- Added a new raw data table for easier analysis
- Can now choose which botorch optimizer to use to fit models
- Added a [visualization dashboard](https://github.com/facebookresearch/aepsych/tree/main/visualizer)
- Updated to botorch v0.8.0

Bug fixes
- Removed some hardcoded checks for stimuli_per_trial and outcome_types
- Fixed incorrect threshold estimation for non-probit links
- Implemented `from_config` for`MonotonicProjectionGP`
- Fixed a casting error in `MonotonicThompsonSamplerGenerator`

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.