MOFClassifier: A Machine Learning Approach for Validating Computation-Ready Metal-Organic Frameworks
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
Acknowledgments
We thank henk789 for contribution to batch prediction.
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
02ba26c944ebcd0303fd259f7f3ae70f513d63d916cb450fb0e68753822c92c8
|
|
| MD5 |
21427d415d84570bc37cbe437710da62
|
|
| BLAKE2b-256 |
a9a28ca2c81f43411e9af7f7e7eb537c1d690e69b0d1819110aa53bd969c0f06
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ad8ecaae4a2ab2bf067995054da024ad886140dfe62dd89cf113b3fcdce95ab5
|
|
| MD5 |
6bb6ad165632cee52a4662300296452a
|
|
| BLAKE2b-256 |
f7c17bb1de1149aaf7693df028295ab4b4338a880bfb30cadd9f311316cc6ca8
|