Aepsych

Latest version: v0.5.1

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

Scan your dependencies

Page 1 of 2

0.5.1

Features:
* Support for discrete parameters, binary parameters, and fixed parameters
* Optimizer options can now be set from config and in models to manipulate the underlying SciPy optimizer options
* Manual generators now support multi stimuli studies

Bug fixes:
* Dim_grid now returns the right shapes

**Full Changelog**: https://github.com/facebookresearch/aepsych/compare/v0.5.0...0.5.1

0.5.0

New feature release:
* GPU support for GPClassificationModel and GPRegressionModel alongside GPU support for generating points with OptimizeAcqfGenerator with any acquisition function.
* Models that are subclasses of GPClassificationModel and GPRegressionModel should also have GPU support.
* This should allow the use of the better acquisition functions while maintaining practical live active learning trial generation speeds.
* GPU support will also speed up post-hoc analysis when fitting on a lot of data. Models have a `model.device` attribute like tensors in PyTorch do and can be smoothly moved between devices using the same API (e.g., `model.cuda()` or `model.cpu()` as tensors.
* We wrote a document on speeding up AEPsych, especially for live experiments with active learning: https://aepsych.org/docs/speed.
* More models and generators will gain GPU support soon.
* New parameter configuration format and parameter transformations
* The settings for parameters should now be set in parameter-specific blocks, old configs will still work but will not support new parameter features going forward.
* We added a log scale transformation and the ability to disable the normalize scale transformation, these can be set at a parameter-specific level.
* Take a look at our documentation about the new parameter options: https://aepsych.org/docs/parameters
* More parameter transforms to come!

Please raise an issue if you find any bugs with the new features or if you have any feature requests that would help you run your next experiment using AEPsych.

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

Page 1 of 2

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.