Atomai

Latest version: v0.7.8

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

Scan your dependencies

Page 1 of 3

1.8.0

0.7.8

What's Changed
* Add toggle on-off output display by arpanbiswas52 in https://github.com/pycroscopy/atomai/pull/62
* Update examples by ziatdinovmax in https://github.com/pycroscopy/atomai/pull/63
* Update training data url by ziatdinovmax in https://github.com/pycroscopy/atomai/pull/65
* Add regressor models by ziatdinovmax in https://github.com/pycroscopy/atomai/pull/72
* Update installation instructions and URLs in the notebooks by ziatdinovmax in https://github.com/pycroscopy/atomai/pull/73
* Add 'Classifier' class to atomai models by ziatdinovmax in https://github.com/pycroscopy/atomai/pull/74
* Add a multi-task classifier by ziatdinovmax in https://github.com/pycroscopy/atomai/pull/75
* minor fix by ziatdinovmax in https://github.com/pycroscopy/atomai/pull/76
* Sparse image reconstructor based on the structured kernel interpolation framework by ziatdinovmax in https://github.com/pycroscopy/atomai/pull/77

New Contributors
* arpanbiswas52 made their first contribution in https://github.com/pycroscopy/atomai/pull/62

**Full Changelog**: https://github.com/pycroscopy/atomai/compare/v0.7.4...v0.7.8

0.7.4

Minor fixes and improvements

* Extend Thompson sampler to 'multi-task' DKL-GP models
* Fix bugs in stat.multivar.update_classes() that didn't allow specifying custom window size

0.7.3

- Ensemble deep kernel learning (DKL) as an 'approximation' to the fully Bayesian DKL
- Thompson sampler for active learning now comes as a built-in method in the DKL class
- Option to select between correlated and independent outputs for vector-valued function in DKL

Example of using an ensemble of DKL models:
python
Initialize and train ensemble of models
dklgp = aoi.models.dklGPR(indim=X_train.shape[-1], embedim=2)
dklgp.fit_ensemble(X_train, y_train, n_models=5, training_cycles=1500, lr=0.01)
Make a prediction
y_samples = dklgp.sample_from_posterior(X_test, num_samples=1000) n_models x n_samples x n_data
y_pred = y_samples.mean(axis=(0,1)) average over model and sample dimensions
y_var = y_samples.var(axis=(0,1))


Example of using a built-in Thompson sampler for active learning:
python
for e in range(exploration_steps):
obtain/update DKL-GP posterior
dklgp = aoi.models.dklGPR(data_dim, embedim=2, precision="single")
dklgp.fit(X_train, y_train, training_cycles=50)
Thompson sampling for selecting the next measurement/evaluation point
obj, next_point = dklgp.thompson(X_cand)
Perform a 'measurement'
y_measured = measure(next_point)
Update measured and candidate points, etc...

0.7.2

Bug fixes and additional utility functions for image and spectral data processing

0.7.1

Minor release to patch some numerical stability issues with DKL-GP

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.