Skip to main content

Machine learning models for ALMO-EDA energy prediction

Project description

CPU Test Inference Smoke Test Python 3.10 License: MIT

ALMO EDA

This repository contains a PyTorch-based neural network designed to predict electron delocalization energies of water molecules. By leveraging chemical descriptors (SOAP) as inputs, the model bypasses computationally expensive DFT calculations to provide rapid estimates of delocalization energies.

๐Ÿ“‚ Project Structure

.
โ”œโ”€โ”€ README.md
โ”œโ”€โ”€ requirements.txt
โ”œโ”€โ”€ requirements-dev.txt
โ”œโ”€โ”€ .gitignore
โ”œโ”€โ”€ LICENSE
โ”œโ”€โ”€ pyproject.toml
โ”‚
โ”œโ”€โ”€ configs
โ”‚   โ”œโ”€โ”€ mof_config.yaml
โ”‚   โ”œโ”€โ”€ inference_config.yaml
โ”‚ย ย  โ””โ”€โ”€ train_config.yaml
โ”œโ”€โ”€ data
โ”‚ย ย  โ””โ”€โ”€ soap_descriptor.py
โ”œโ”€โ”€ models
โ”‚ย ย  โ””โ”€โ”€ best_model_donor.pt
โ”œโ”€โ”€ examples
โ”‚   โ”œโ”€โ”€ run_mof.py
โ”‚   โ”œโ”€โ”€ run_inference.py
โ”‚   โ”œโ”€โ”€ run_optuna.py
โ”‚   โ””โ”€โ”€ run_training.py
โ””โ”€โ”€ almo_eda
 ย ย  โ”œโ”€โ”€ __init__.py
    โ”œโ”€โ”€ data_loader.py
 ย ย  โ”œโ”€โ”€ logger.py
 ย ย  โ”œโ”€โ”€ network.py
 ย ย  โ”œโ”€โ”€ utils.py
 ย ย  โ”œโ”€โ”€ visualization.py
 ย ย  โ”œโ”€โ”€ optimization.py
    โ””โ”€โ”€ trainer.py

Installation

python -m pip install -e ".[dev]"

or

python -m pip install -r requirements.txt

Run examples

  1. Place your data in the /data folder.

  2. Run the training: python examples/run_training.py

Citation

If you publish work that uses or mentions this code, please cite the following paper:

@article{Tahmasbi2025,
  title = {Scalable machine learning model for energy decomposition analysis in aqueous systems},
  volume = {163},
  ISSN = {1089-7690},
  url = {http://dx.doi.org/10.1063/5.0303825},
  DOI = {10.1063/5.0303825},
  number = {21},
  journal = {The Journal of Chemical Physics},
  publisher = {AIP Publishing},
  author = {Tahmasbi,  Hossein and Beerbaum,  Michael and Brzoza,  Bartosz and Cangi,  Attila and K\"{u}hne,  Thomas D.},
  year = {2025},
  pages = {214115},
  month = dec 
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

almo_eda-0.2.0.tar.gz (12.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

almo_eda-0.2.0-py3-none-any.whl (12.3 kB view details)

Uploaded Python 3

File details

Details for the file almo_eda-0.2.0.tar.gz.

File metadata

  • Download URL: almo_eda-0.2.0.tar.gz
  • Upload date:
  • Size: 12.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for almo_eda-0.2.0.tar.gz
Algorithm Hash digest
SHA256 20c6fd41d199f7b0346b03be8b3af8f9b3441557663da5c3052e906ad4c1e926
MD5 3fd3901809aeaa1b75e7a57252997755
BLAKE2b-256 46730fb6ef06b9e21cc76d012ff1a49290381c82cd52814c4e90b5dc7122c577

See more details on using hashes here.

Provenance

The following attestation bundles were made for almo_eda-0.2.0.tar.gz:

Publisher: python-publish.yml on htahmasbi/ALMO_EDA

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file almo_eda-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: almo_eda-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 12.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for almo_eda-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e736df6974832d012219e59aad64f043bcce7de66c9b100ce61f6f024e8b93d7
MD5 da0b5955a7f71799842e4f7a3543f2c4
BLAKE2b-256 29df4fc8afa736bc6cb7252ac84d2d079954639683e4b332faa03032d440ad1a

See more details on using hashes here.

Provenance

The following attestation bundles were made for almo_eda-0.2.0-py3-none-any.whl:

Publisher: python-publish.yml on htahmasbi/ALMO_EDA

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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