maml


Namemaml JSON
Version 2023.9.9 PyPI version JSON
download
home_pagehttps://materialsvirtuallab.github.io/maml
Summarymaml is a machine learning library for materials science.
upload_time2023-09-09 22:24:42
maintainerShyue Ping Ong
docs_urlNone
authorMaterials Virtual Lab
requires_python
licenseBSD
keywords materials science deep learning
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
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 <http://pymatgen.org>`_ and `matminer <http://hackingmaterials.lbl.gov/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.

Installation
------------

Pip install via PyPI::

    pip install maml

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

    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 requirement.txt file::

    pip install -r requirements.txt

For all the requirements above::

    pip install -r requirements-ci.txt
    pip install -r requirements-optional.txt
    pip install -r requirements-dl.txt
    pip install -r requirements.txt

Citing
------
::

    @misc{maml,
        author = {Chen, Chi and Zuo, Yunxing and Ye, Weike and Ong, Shyue Ping},
        title = {{Maml - materials machine learning package}},
        year = {2020},
        publisher = {GitHub},
        journal = {GitHub repository},
        howpublished = {https://github.com/materialsvirtuallab/maml},
    }

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

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

            

Raw data

            {
    "_id": null,
    "home_page": "https://materialsvirtuallab.github.io/maml",
    "name": "maml",
    "maintainer": "Shyue Ping Ong",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "ongsp@eng.ucsd.edu",
    "keywords": "materials,science,deep,learning",
    "author": "Materials Virtual Lab",
    "author_email": "ongsp@eng.ucsd.edu",
    "download_url": "https://files.pythonhosted.org/packages/ab/53/adcb3410e3957b0ee9938bc9e4ed63b12455cc89b4044db3f3edf281ce55/maml-2023.9.9.tar.gz",
    "platform": null,
    "description": "\nmaml (MAterials Machine Learning) is a Python package that aims to provide useful high-level interfaces that make ML\nfor materials science as easy as possible.\n\nThe goal of maml is not to duplicate functionality already available in other packages. maml relies on well-established\npackages such as scikit-learn and tensorflow for implementations of ML algorithms, as well as other materials science\npackages such as `pymatgen <http://pymatgen.org>`_ and `matminer <http://hackingmaterials.lbl.gov/matminer/>`_ for\ncrystal/molecule manipulation and feature generation.\n\nOfficial documentation at https://materialsvirtuallab.github.io/maml\n\nFeatures\n--------\n\n1. Convert materials (crystals and molecules) into features. In addition to common compositional, site and structural\n   features, we provide the following fine-grain local environment features.\n\n a) Bispectrum coefficients\n b) Behler Parrinello symmetry functions\n c) Smooth Overlap of Atom Position (SOAP)\n d) Graph network features (composition, site and structure)\n\n2. Use ML to learn relationship between features and targets. Currently, the `maml` supports `sklearn` and `keras`\n   models.\n\n3. Applications:\n\n a) `pes` for modelling the potential energy surface, constructing surrogate models for property prediction.\n\n  i) Neural Network Potential (NNP)\n  ii) Gaussian approximation potential (GAP) with SOAP features\n  iii) Spectral neighbor analysis potential (SNAP)\n  iv) Moment Tensor Potential (MTP)\n\n b) `rfxas` for random forest models in predicting atomic local environments from X-ray absorption spectroscopy.\n\nInstallation\n------------\n\nPip install via PyPI::\n\n    pip install maml\n\nTo run the potential energy surface (pes), lammps installation is required you can install from source or from `conda`::\n\n    conda install -c conda-forge/label/cf202003 lammps\n\nThe SNAP potential comes with this lammps installation. The GAP package for GAP and MLIP package for MTP are needed to\nrun the corresponding potentials. For fitting NNP potential, the `n2p2` package is needed.\n\nInstall all the libraries from requirement.txt file::\n\n    pip install -r requirements.txt\n\nFor all the requirements above::\n\n    pip install -r requirements-ci.txt\n    pip install -r requirements-optional.txt\n    pip install -r requirements-dl.txt\n    pip install -r requirements.txt\n\nCiting\n------\n::\n\n    @misc{maml,\n        author = {Chen, Chi and Zuo, Yunxing and Ye, Weike and Ong, Shyue Ping},\n        title = {{Maml - materials machine learning package}},\n        year = {2020},\n        publisher = {GitHub},\n        journal = {GitHub repository},\n        howpublished = {https://github.com/materialsvirtuallab/maml},\n    }\n\nFor the ML-IAP package (`maml.pes`), please cite::\n\n    Zuo, Y.; Chen, C.; Li, X.; Deng, Z.; Chen, Y.; Behler, J.; Cs\u00e1nyi, G.; Shapeev, A. V.; Thompson, A. P.;\n    Wood, M. A.; Ong, S. P. Performance and Cost Assessment of Machine Learning Interatomic Potentials.\n    J. Phys. Chem. A 2020, 124 (4), 731-745. https://doi.org/10.1021/acs.jpca.9b08723.\n",
    "bugtrack_url": null,
    "license": "BSD",
    "summary": "maml is a machine learning library for materials science.",
    "version": "2023.9.9",
    "project_urls": {
        "Homepage": "https://materialsvirtuallab.github.io/maml"
    },
    "split_keywords": [
        "materials",
        "science",
        "deep",
        "learning"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0ff88310ac401ee126ce0d000f45135caa6c476d6b3a0174d151fa9def69641b",
                "md5": "cf9ad68c8319c62f5b4f42fc249767cf",
                "sha256": "c3d139b2487df6ac65aeb00e48b2366bd076f1ea71be107b739d3f6bd55631be"
            },
            "downloads": -1,
            "filename": "maml-2023.9.9-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cf9ad68c8319c62f5b4f42fc249767cf",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4301177,
            "upload_time": "2023-09-09T22:24:33",
            "upload_time_iso_8601": "2023-09-09T22:24:33.703947Z",
            "url": "https://files.pythonhosted.org/packages/0f/f8/8310ac401ee126ce0d000f45135caa6c476d6b3a0174d151fa9def69641b/maml-2023.9.9-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ab53adcb3410e3957b0ee9938bc9e4ed63b12455cc89b4044db3f3edf281ce55",
                "md5": "9cf090ba68bcc1a9f55e1e6d1504f08e",
                "sha256": "163e19da32f32ea65377b434a11dcf7529e1e676c5585518d0af447dae2a2a4d"
            },
            "downloads": -1,
            "filename": "maml-2023.9.9.tar.gz",
            "has_sig": false,
            "md5_digest": "9cf090ba68bcc1a9f55e1e6d1504f08e",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4204750,
            "upload_time": "2023-09-09T22:24:42",
            "upload_time_iso_8601": "2023-09-09T22:24:42.841337Z",
            "url": "https://files.pythonhosted.org/packages/ab/53/adcb3410e3957b0ee9938bc9e4ed63b12455cc89b4044db3f3edf281ce55/maml-2023.9.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-09-09 22:24:42",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "maml"
}
        
Elapsed time: 0.12146s