← カタログに戻る

PHYSBO

issp-center-dev / PHYSBO

物理・材料科学のための高速なベイズ最適化ライブラリ

機械学習PythonMPL-2.0
93 27 8 未解決 issue / PR更新: 2026-10-03

概要

PHYSBO -- optimization tools for PHYsics based on Bayesian Optimization

典型的な利用シーン

Quick Start

このソフトウェアには Quickstart / チュートリアルが用意されています。

README

PHYSBO logo
optimization tools for PHYsics based on Bayesian Optimization

PyPI version Python versions License: MPL-2.0 Test python package Documentation DOI

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.

Documentation

Dependencies

  • Python >= 3.9
  • NumPy
  • SciPy
Optional dependencies
  • ODAT-SE (for continuous space optimization)

    python3 -m pip install odat-se
    

Install

  • From PyPI (recommended)

    python3 -m pip install physbo
    
  • From source (for developers)

    1. Download or clone the github repository

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

      # ./PHYSBO is the root directory of PHYSBO
      # pip install options such as --user are avaiable
      
      python3 -m pip install ./PHYSBO
      

Uninstall

python3 -m pip uninstall physbo

Usage

For an introductory tutorial please consult the documentation. (English / 日本語)

'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.

For developers

UV is recommended to make a virtual environment and install dependencies for development.

Run tests

When using UV, the command uv sync --extra tests will install the dependencies to run tests like pytest. Test files are in tests/ directory, and use pytest to run tests.

uv run pytest tests
Build documentation

When using UV, the command uv sync --extra docs will install the dependencies for building the documentation like sphinx.

The command

uv run bash docs/make_docs.sh

will build the documentation into docs/built.

License

PHYSBO was developed based on COMBO for academic use. PHYSBO is distributed under Mozilla Public License version 2.0 (MPL v2).

We hope that you cite the following references when you publish the results using PHYSBO:

© 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.

出典: https://github.com/issp-center-dev/PHYSBO の README

充実度

活発 · 241 コミット/年最終更新: 2026-10-03 ()

充実度 = ドキュメント(docs)・サンプル(examples)・テスト(tests)の3項目の整備状況を★3で表示します(1星=1項目/下のチェックリストが内訳)。リポジトリ情報を取得していない(手動で登録した)ソフトウェアは自動評価の対象外で、充実度の絞り込み(1 以上)では表示されません。

情報

主要言語
Python
言語
Python
ライセンス
MPL-2.0
提供元
github
DOI
10.1016/j.cpc.2022.108405
ドキュメント
https://www.pasums.issp.u-tokyo.ac.jp/physbo/

引用

Y. Motoyama et al., Comput. Phys. Commun. 278, 108405 (2022); update: Y. Motoyama et al., Comput. Phys. Commun. 329, 110368 (2026).

DOI: 10.1016/j.cpc.2022.108405

問い合わせ・貢献