MLMOD

MLMOD: Machine Learning Methods for Data-Driven Modeling in LAMMPS - Published in JOSS (2023)

https://github.com/atzberg/mlmod

Science Score: 98.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 6 DOI reference(s) in README and JOSS metadata
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
    Published in Journal of Open Source Software

Keywords

data-science machine-learning scientific-computation simulations
Last synced: 6 months ago · JSON representation ·

Repository

Machine learning package for data-driven modeling and simulation of particle systems, materials, and complex fluids (interfaces with LAMMPS MD package)

Basic Info
  • Host: GitHub
  • Owner: atzberg
  • License: other
  • Language: C++
  • Default Branch: main
  • Homepage: http://atzberger.org
  • Size: 7.66 MB
Statistics
  • Stars: 6
  • Watchers: 1
  • Forks: 4
  • Open Issues: 0
  • Releases: 2
Topics
data-science machine-learning scientific-computation simulations
Created over 4 years ago · Last pushed 7 months ago
Metadata Files
Readme License Citation

README.md

Documentation | Examples | Paper

MLMOD: Machine Learning Methods for Data-Driven Modeling in LAMMPS

Now available with Jupyter notebooks and Python scripts for readily setting up models and simulations.

MLMOD is a Python/C++ package for utilizing machine learning methods and data-driven modeling for simulations in LAMMPS. The package provides methods for time-step integrators for dynamics and interactions using general ML model classes, including Neural Networks, Kernel Regression, and others. Models can be trained and exported from PyTorch or from other machine learning frameworks. Note, this is an early prototype alpha release with future implementations and features to come. Please provide feedback or information on bugs using the forms below.

LAMMPS is an optimized molecular dynamics package in C/C++ providing many interaction potentials and analysis tools for modeling and simulation. Interaction methods include particle-mesh electrostatics, common coarse-grained potentials, many-body interactions, and others.

Quick Start

To try automatically to install the package for Python, you can use the script quick_install.py. python ./quick_install.py

To install directly the pre-compiled packages for Python, download one of the following

Install using

pip install -U (substitute-filename-or-url-here).whl

To test the package installed run

python -c "from mlmod_lammps.tests import t1; t1.test()"

For example models and simulations, see the notebooks and scripts in the examples folder.

Documentation pages can be found here.

Pre-compiled binaries are currently for (Debian 9+/Ubuntu and Centos 7+, Python 3.6+).

If you installed previously this package, please be sure to update to the latest version using pip install -U (substitute-filename-or-url-here).whl

Video giving a brief overview of MLMOD can be found here.

Other ways to install the package For running prototype models and simulations on a desktop, such as Windows and MacOS, we recommend using Docker container. For example, install Docker Desktop, or docker for linux, and then load a standard ubuntu container by using in the terminal docker run -it ubuntu:24.04 /bin/bash You can then use apt update; apt install python3-pip, and can then pip install and run the simulation package as above. Note use command python3 in place of python when calling scripts. Pre-installed packages in anaconda also in docker run -it atzberg/ubuntu_24_04_anaconda3 /bin/bash
Use conda activate mlmod-lammps

May need to update packages to the latest version.

For more information on other ways to install or compile the package, please see the documentation pages.


Please cite the paper below for this package:

MLMOD Package: Machine Learning Methods for Data-Driven Modeling in LAMMPS", P.J. Atzberger, Journal of Open Source Software, 8(89), 5620, (2023) [paper link]. ``` @article{mlmod_atzberger, author = {Paul J. Atzberger}, journal = {Journal of Open Source Software}, title = {MLMOD: Machine Learning Methods for Data-Driven Modeling in LAMMPS}, year = {2023},
publisher = {The Open Journal}, volume = {8}, number = {89}, pages = {5620}, note = {http://atzberger.org}, doi = {10.21105/joss.05620}, url = {https://doi.org/10.21105/joss.05620} }

```

Tutorials / Talks:

  • Video giving a brief overview of MLMOD can be found here.

  • Documentation on using the package can be found here.

  • Examples can be found here.

Mailing List for Future Updates and Releases

  • Please join the mailing list for future updates and releases here.

Bugs or Issues

  • If you encounter any bugs or issues please let us know by providing information here.

Please submit usage and citation information

  • If you use this package or related methods, please let us know by submitting information here. This helps us with reporting and with further development of the package. Thanks.

Acknowledgements We gratefully acknowledge support from NSF Grant DMS-2306101, NSF Grant DMS-1616353, and DOE Grant ASCR PHILMS DE-SC0019246.

Additional Information
http://atzberger.org/


Documentation | Examples | Paper | Atzberger Homepage

Owner

  • Name: Paul J. Atzberger
  • Login: atzberg
  • Kind: user

JOSS Publication

MLMOD: Machine Learning Methods for Data-Driven Modeling in LAMMPS
Published
September 14, 2023
Volume 8, Issue 89, Page 5620
Authors
Paul J. Atzberger ORCID
Paul J. Atzberger, Professor, University of California Santa Barbara
Editor
Antonia Mey ORCID
Tags
machine learning dynamics

Citation (CITATION.cff)

cff-version: "1.2.0"
authors:
- family-names: Atzberger
  given-names: Paul J.
  orcid: "https://orcid.org/0000-0001-6806-8069"
doi: 10.5281/zenodo.8327516
message: If you use this software, please cite our article in the
  Journal of Open Source Software.
preferred-citation:
  authors:
  - family-names: Atzberger
    given-names: Paul J.
    orcid: "https://orcid.org/0000-0001-6806-8069"
  date-published: 2023-09-14
  doi: 10.21105/joss.05620
  issn: 2475-9066
  issue: 89
  journal: Journal of Open Source Software
  publisher:
    name: Open Journals
  start: 5620
  title: "MLMOD: Machine Learning Methods for Data-Driven Modeling in
    LAMMPS"
  type: article
  url: "https://joss.theoj.org/papers/10.21105/joss.05620"
  volume: 8
title: "MLMOD: Machine Learning Methods for Data-Driven Modeling in
  LAMMPS"

GitHub Events

Total
  • Watch event: 4
  • Push event: 4
  • Fork event: 2
Last Year
  • Watch event: 4
  • Push event: 4
  • Fork event: 2

Committers

Last synced: 7 months ago

All Time
  • Total Commits: 178
  • Total Committers: 1
  • Avg Commits per committer: 178.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 7
  • Committers: 1
  • Avg Commits per committer: 7.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Paul J. Atzberger a****g@g****m 178

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels

Dependencies

requirements.txt pypi
  • numpy >=1.21.1
tests/mobility_responses1/requirements.txt pypi
  • pytest >=2.0.0 test