项目作者: materialsvirtuallab

项目描述 :
Python for Materials Machine Learning, Materials Descriptors, Machine Learning Force Fields, Deep Learning, etc.
高级语言: Python
项目地址: git://github.com/materialsvirtuallab/maml.git
创建时间: 2020-01-25T15:04:21Z
项目社区:https://github.com/materialsvirtuallab/maml

开源协议:BSD 3-Clause "New" or "Revised" License

下载


maml

GitHub license
Linting
Testing
Downloads
codecov

maml (MAterials Machine Learning) is a Python package that aims to provide useful high-level interfaces that make ML
for materials science as easy as possible.

The goal of maml is not to duplicate functionality already available in other packages. maml relies on well-established
packages such as scikit-learn and tensorflow for implementations of ML algorithms, as well as other materials science
packages such as pymatgen and matminer for
crystal/molecule manipulation and feature generation.

Official documentation at https://materialsvirtuallab.github.io/maml/

Features

  1. Convert materials (crystals and molecules) into features. In addition to common compositional, site and structural
    features, we provide the following fine-grain local environment features.

    a) Bispectrum coefficients
    b) Behler Parrinello symmetry functions
    c) Smooth Overlap of Atom Position (SOAP)
    d) Graph network features (composition, site and structure)

  2. Use ML to learn relationship between features and targets. Currently, the maml supports sklearn and keras
    models.

  3. Applications:

    a) pes for modelling the potential energy surface, constructing surrogate models for property prediction.

    i) Neural Network Potential (NNP)
    ii) Gaussian approximation potential (GAP) with SOAP features
    iii) Spectral neighbor analysis potential (SNAP)
    iv) Moment Tensor Potential (MTP)

    b) rfxas for random forest models in predicting atomic local environments from X-ray absorption spectroscopy.

    c) bowsr for rapid structural relaxation with bayesian optimization and surrogate energy model.

Installation

Pip install via PyPI:

  1. pip install maml

To run the potential energy surface (pes), lammps installation is required you can install from source or from conda::

  1. conda install -c conda-forge/label/cf202003 lammps

The SNAP potential comes with this lammps installation. The GAP package for GAP and MLIP package for MTP are needed to run the corresponding potentials. For fitting NNP potential, the n2p2 package is needed.

Install all the libraries from requirements.txt file::

  1. pip install -r requirements.txt

For all the requirements above:

  1. pip install -r requirements-ci.txt
  2. pip install -r requirements-optional.txt
  3. pip install -r requirements-dl.txt
  4. pip install -r requirements.txt

Usage

Many Jupyter notebooks are available on usage. See notebooks. We also have a tool and tutorial lecture
at nanoHUB.

API documentation

See API docs.

Citing

  1. @misc{
  2. maml,
  3. author = {Chen, Chi and Zuo, Yunxing, Ye, Weike, Ji, Qi and Ong, Shyue Ping},
  4. title = {{Maml - materials machine learning package}},
  5. year = {2020},
  6. publisher = {GitHub},
  7. journal = {GitHub repository},
  8. howpublished = {\url{https://github.com/materialsvirtuallab/maml}},
  9. }

For the ML-IAP package (maml.pes), please cite::

  1. Zuo, Y.; Chen, C.; Li, X.; Deng, Z.; Chen, Y.; Behler, J.; Csányi, G.; Shapeev, A. V.; Thompson, A. P.;
  2. Wood, M. A.; Ong, S. P. Performance and Cost Assessment of Machine Learning Interatomic Potentials.
  3. J. Phys. Chem. A 2020, 124 (4), 731745. https://doi.org/10.1021/acs.jpca.9b08723.

For the BOWSR package (maml.bowsr), please cite::

  1. Zuo, Y.; Qin, M.; Chen, C.; Ye, W.; Li, X.; Luo, J.; Ong, S. P. Accelerating Materials Discovery with Bayesian
  2. Optimization and Graph Deep Learning. Materials Today 2021, 51, 126135.
  3. https://doi.org/10.1016/j.mattod.2021.08.012.

For the AtomSets model (maml.models.AtomSets), please cite::

  1. Chen, C.; Ong, S. P. AtomSets as a hierarchical transfer learning framework for small and large materials
  2. datasets. Npj Comput. Mater. 2021, 7, 173. https://doi.org/10.1038/s41524-021-00639-w