Skip to main content

This is the pypolymlp module.

Project description

A generator of polynomial machine learning potentials

Polynomial machine learning potentials

Citation of pypolymlp

“Tutorial: Systematic development of polynomial machine learning potentials for elemental and alloy systems”, A. Seko, J. Appl. Phys. 133, 011101 (2023)

@article{pypolymlp,
    author = {Seko, Atsuto},
    title = "{"Tutorial: Systematic development of polynomial machine learning potentials for elemental and alloy systems"}",
    journal = {J. Appl. Phys.},
    volume = {133},
    number = {1},
    pages = {011101},
    year = {2023},
    month = {01},
}

Required libraries and python modules

  • python >= 3.9
  • numpy != 2.0.*
  • scipy
  • pyyaml
  • setuptools
  • eigen3
  • pybind11
  • openmp (recommended)

[Optional]

  • phonopy (if using phonon datasets and/or computing force constants)
  • phono3py (if using phonon datasets and/or computing force constants)
  • symfc (if computing force constants)
  • sparse_dot_mkl (if computing force constants)
  • spglib

How to install pypolymlp

  • Install from conda-forge
Version Last Update Downloads Platform License
badge badge badge badge badge
conda create -n pypolymlp-env
conda activate pypolymlp-env
conda install -c conda-forge pypolymlp
  • Install from PyPI
conda create -n pypolymlp-env
conda activate pypolymlp-env
conda install -c conda-forge numpy scipy pybind11 eigen cmake cxx-compiler
pip install pypolymlp

Building C++ codes in pypolymlp may require a significant amount of time.

  • Install from GitHub
git clone https://github.com/sekocha/pypolymlp.git
cd pypolymlp
conda create -n pypolymlp-env
conda activate pypolymlp-env
conda install -c conda-forge numpy scipy pybind11 eigen cmake cxx-compiler
pip install . -vvv

Building C++ codes in pypolymlp may require a significant amount of time.

How to use pypolymlp

  • Polynomial MLP development
  • Property calculators
    • Energy, forces on atoms, and stress tensor
    • Force constants
    • Elastic constants
    • Equation of states
    • Structural features (Polynomial invariants)
    • Phonon properties, Quasi-harmonic approximation
  • DFT structure generator
    • Random atomic displacements with constant magnitude
    • Random atomic displacements with sequential magnitudes and volume changes
    • Random atomic displacements, cell expansion, and distortion
  • Utilities
    • Compression of vasprun.xml files
    • Automatic division of DFT dataset
    • Atomic energies
    • Enumeration of optimal MLPs
    • Estimation of computational costs
  • Python API (MLP development)
  • Python API (Property calculations)
    • Energy, forces on atoms, and stress tensor
    • Force constants
    • Elastic constants
    • Equation of states
    • Structural features (Polynomial invariants)
    • Phonon properties, Quasi-harmonic approximation
    • Local geometry optimization
    • Self-consistent phonon calculations

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

pypolymlp-0.5.1.tar.gz (37.3 MB view details)

Uploaded Source

File details

Details for the file pypolymlp-0.5.1.tar.gz.

File metadata

  • Download URL: pypolymlp-0.5.1.tar.gz
  • Upload date:
  • Size: 37.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for pypolymlp-0.5.1.tar.gz
Algorithm Hash digest
SHA256 15b6e156f9f9c17d56791f5456b2ecf64309ed1a7863df93013a19df596e1fcb
MD5 c2f8036b331f15d372a156d4d9d04995
BLAKE2b-256 bd13f773e41479635d2218825c874155461c505447b9350bd7f9440db38a62a8

See more details on using hashes here.

Supported by

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