optimization tool for PHYSics based on Bayesian Optimization
Project description
optimization tools for PHYsics based on Bayesian Optimization ( PHYSBO )
Bayesian optimization has been proven as an effective tool in accelerating scientific discovery. A standard implementation (e.g., scikit-learn), however, can accommodate only small training data. PHYSBO is highly scalable due to an efficient protocol that employs Thompson sampling, random feature maps, one-rank Cholesky update and automatic hyperparameter tuning. Technical features are described in COMBO's document and PHYSBO's report (open access). PHYSBO was developed based on COMBO for academic use.
Document
Required Packages
- Python >= 3.6
- No longer tested with Python 3.6
- NumPy < 2.0.0
- SciPy
Install
- From PyPI (recommended)
python3 -m pip install physbo
- From source (for developers)
-
Update pip (>= 19.0)
python3 -m pip install -U pip
-
Download or clone the github repository
git clone https://github.com/issp-center-dev/PHYSBO
-
Install via pip
# ./PHYSBO is the root directory of PHYSBO # pip install options such as --user are avaiable python3 -m pip install ./PHYSBO
-
Note: Do not
import physbo
at the root directory of the repository becauseimport physbo
does not try to import the installed PHYSBO but one in the repository, which includes Cython codes not compiled.
-
Uninstall
python3 -m pip uninstall physbo
Usage
'examples/simple.py' is a simple example.
Data repository
A tutorial and a dataset of a paper about PHYSBO can be found in PHYSBO Gallery.
License
PHYSBO was developed based on COMBO for academic use. PHYSBO v2 is distributed under Mozilla Public License version 2.0 (MPL v2). We hope that you cite the following reference when you publish the results using PHYSBO:
Bibtex
@misc{@article{MOTOYAMA2022108405,
title = {Bayesian optimization package: PHYSBO},
journal = {Computer Physics Communications},
volume = {278},
pages = {108405},
year = {2022},
issn = {0010-4655},
doi = {https://doi.org/10.1016/j.cpc.2022.108405},
author = {Yuichi Motoyama and Ryo Tamura and Kazuyoshi Yoshimi and Kei Terayama and Tsuyoshi Ueno and Koji Tsuda},
keywords = {Bayesian optimization, Multi-objective optimization, Materials screening, Effective model estimation}
}
Copyright
© 2020- The University of Tokyo. All rights reserved. This software was developed with the support of "Project for advancement of software usability in materials science" of The Institute for Solid State Physics, The University of Tokyo.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file physbo-2.0.1.tar.gz
.
File metadata
- Download URL: physbo-2.0.1.tar.gz
- Upload date:
- Size: 41.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b66bb8bc86e74e312f7692a7d9f5bca3bc0d476076ff6eed95be9689631328f9 |
|
MD5 | 13e367bb1df67189daf01cfb6924788f |
|
BLAKE2b-256 | b4e4d31040da3bf1281ec89bfa32c0de257958e4c4e6839af1d15b5b4a908674 |