Skip to main content

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
  • SciPy

Install

  • From PyPI (recommended)
pip3 install physbo
  • From source (for developers)
    1. Update pip (>= 19.0)

      pip3 install -U pip
      
    2. Download or clone the github repository

      git clone https://github.com/issp-center-dev/PHYSBO
      
    3. Install via pip

      # ./PHYSBO is the root directory of PHYSBO
      # pip install options such as --user are avaiable
      
      pip3 install ./PHYSBO
      
    4. Note: Do not import physbo at the root directory of the repository because import physbo does not try to import the installed PHYSBO but one in the repository, which includes Cython codes not compiled.

Uninstall

pip3 uninstall physbo

Usage

'examples/simple.py' is a simple example.

License

PHYSBO was developed based on COMBO for academic use. This package is distributed under GNU General Public License version 3 (GPL v3) or later. We hope that you cite the following reference when you publish the results using PHYSBO:

“Bayesian optimization package: PHYSBO”, Yuichi Motoyama, Ryo Tamura, Kazuyoshi Yoshimi, Kei Terayama, Tsuyoshi Ueno, Koji Tsuda, Computer Physics Communications Volume 278, September 2022, 108405.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

physbo-1.1.1.tar.gz (41.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page