Introduction
This repository contains the Python (3.8+) package implementing the Material Optimal Descriptor Network (MODNet). It is a supervised machine learning framework for learning material properties from either the composition or crystal structure. The framework is well suited for limited datasets and can be used for learning multiple properties together by using joint learning.
MODNet appears on the MatBench leaderboard. As of 11/11/2021, MODNet provides the best performance of all submitted models on 7 out of 13 tasks.
This repository also contains two pretrained models that can be used for predicting the refractive index and vibrational thermodynamics from any crystal structure.
See the MODNet papers and repositories below for more details:
- De Breuck et al., "Materials property prediction for limited datasets enabled by feature selection and joint learning with MODNet." npj Comput Mater 7, 83 (2021). 10.1038/s41524-021-00552-2 (preprint: arXiv:2004.14766).
- De Breuck et al., "Robust model benchmarking and bias-imbalance in data-driven materials science: a case study on MODNet." J. Phys.: Condens. Matter 33 404002, (2021), 10.1088/1361-648X/ac1280 (preprint: arXiv:2102.02263).
- MatBench benchmarking data repository: modl-uclouvain/modnet-matbench.
How to install
First, create a virtual environment (e.g., named modnet) with Python (3.8+) using your favourite environment manager (the following instructions use conda):
conda create -n modnet python=3.9
Activate the environment:
conda activate modnet
Finally, install MODNet from PyPI with pip:
pip install modnet
Warning We strongly recommend pinning your Python environment when using MODNet across multiple machines, or multiple MODNet versions, as changes to the dependencies and sub-dependencies can lead to different values for particular features.
This can be achieved with
conda exportorpip freeze.
For development (or if you wish to use pinned versions of direct dependencies that
MODNet has been tested with), you can clone this git repository and make an
editable install inside your chosen environment with pip:
git clone git@github.com:ppdebreuck/modnet
cd modnet
conda create -n modnet python=3.9
conda activate modnet
pip install -r requirements.txt # optionally use pinned requirements
pip install -e .
Documentation
The documentation is available at ReadTheDocs.
Changelog
A brief changelog can be found in the release summaries on GitHub.
Author
This software was written by Pierre-Paul De Breuck and Matthew Evans with contributions from David Waroquiers and Gregoire Heymans. For an up-to-date list, see the Contributors on GitHub.
License
MODNet is released under the MIT License.
Metadata
Release files for modnet 0.4.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| modnet-0.4.5.tar.gz | 10.3 MB | Without provenance | Details for modnet-0.4.5.tar.gz |
Release files / modnet-0.4.5.tar.gz
| Download URL | modnet-0.4.5.tar.gz |
|---|---|
| Size | 10.3 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2d3704d5f7d785f14f3a7e73d66a869663ee5d0b579f13ec8d3d0f32e3141f2e
|
|
BLAKE2b-256 checksum How to use checksums |
d9bd60c87c1b59f40775e73e5587f95b837e69901117c1599c2a264ee1541432
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.15
|
Security for modnet 0.4.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.