Skip to main content

A Machine Learning Approach for Validating Computation-Ready Metal-Organic Frameworks

Project description

MOFClassifier: A Machine Learning Approach for Validating Computation-Ready Metal-Organic Frameworks

mofclassifier logo

Static Badge DOI GitHub repo size PyPI Requires Python 3.9 GitHub license GitHub issues DOI

Installation

pip install MOFClassifier

Examples

from MOFClassifier import CLscore
result = CLscore.predict(root_cif="./example.cif", model="core")
  • root_cif: the path of your structure
  • model: the model name: a. "core": training with CoRE MOF DB; b. "qsp": training with CoRE MOF DB and QMOF DB; c. "h": training with ToBaCCo (Hypothetical MOFs)
  • result: a. cifid: the name of structure; b. all_score: the CLscore predicted by 100 models (bags); c. mean_score: the mean CLscore of CLscores
from MOFClassifier import CLscore
results = CLscore.predict_batch(root_cifs=["./example1.cif""./example2.cif","./example3.cif"], model="core", batch_size=512)
  • root_cifs: the path of your structures
  • model: the model name: a. "core": training with CoRE MOF DB; b. "qsp": training with CoRE MOF DB and QMOF DB; c. "h": training with ToBaCCo (Hypothetical MOFs)
  • batch_size: the number of samples
  • results: a. cifid: the name of structure; b. all_score: the CLscore predicted by 100 models (bags); c. mean_score: the mean CLscore of CLscores

Citation

Guobin Zhao, Pengyu Zhao and Yongchul G. Chung. Journal of the American Chemical Society, 2025, 147, 37, 33343–33349. DOI: 10.1021/jacs.5c10126

Acknowledgments

We thank henk789 for contribution to batch prediction.

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

mofclassifier-0.1.2.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

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

mofclassifier-0.1.2-py3-none-any.whl (6.8 kB view details)

Uploaded Python 3

File details

Details for the file mofclassifier-0.1.2.tar.gz.

File metadata

  • Download URL: mofclassifier-0.1.2.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for mofclassifier-0.1.2.tar.gz
Algorithm Hash digest
SHA256 02ba26c944ebcd0303fd259f7f3ae70f513d63d916cb450fb0e68753822c92c8
MD5 21427d415d84570bc37cbe437710da62
BLAKE2b-256 a9a28ca2c81f43411e9af7f7e7eb537c1d690e69b0d1819110aa53bd969c0f06

See more details on using hashes here.

File details

Details for the file mofclassifier-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: mofclassifier-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 6.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for mofclassifier-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ad8ecaae4a2ab2bf067995054da024ad886140dfe62dd89cf113b3fcdce95ab5
MD5 6bb6ad165632cee52a4662300296452a
BLAKE2b-256 f7c17bb1de1149aaf7693df028295ab4b4338a880bfb30cadd9f311316cc6ca8

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