Skip to main content

Positive and Unlabeled Materials Machine Learning (pumml) is a code that uses semi-supervised positive and unlabeled (PU) machine learning to classify materials when data is incomplete and only examples of 'positive' materials are available.

Project description

pumml Python 3.6 Python 3.7

pumml

Positive and Unlabeled Materials Machine Learning (pumml) is a code that uses semi-supervised positive and unlabeled (PU) machine learning to classify materials when data is incomplete and only examples of "positive" materials are available. As an example, pumml was used to predict the "synthesizability" of bulk and 2D materials from "positive" examples of synthesized materials.

How to cite pumml

If you use pumml in your research, please cite the following work:

Nathan C. Frey, Jin Wang, Gabriel Iván Vega Bellido, Babak Anasori, Yury Gogotsi, and Vivek B. Shenoy. Prediction of Synthesis of 2D Metal Carbides and Nitrides (MXenes) and Their Precursors with Positive and Unlabeled Machine Learning. ACS Nano 2019 13 (3), 3031-3041.

Please also consider citing the original works that establish the underlying methodology of pumml:

Elkan, Charles, and Keith Noto. Learning classifiers from only positive and unlabeled data. Proceeding of the 14th ACM SIGKDD international conference on Knowledge discovery and data mining. ACM, 2008.

Mordelet, F.; Vert, J.-P. A Bagging SVM to Learn from Positive and Unlabeled Examples. Pattern Recognit. Lett. 2014, 37, 201−209.

Getting pumml

The easiest way to get started with pumml is to create a virtual environment with python3.6 and then pip install pumml

You can also create a virtual environment, clone this repo and do python setup.py install in the root directory.

Using pumml

In the example_notebooks folder you will find a Jupyter notebook called basic_example.ipynb that shows the basic functionality of the package. The notebook materials_project_example.ipynb shows how to use pumml to predict the synthetic accessibility of theoretical materials in the Materials Project database. Static images of Materials Project data are available on figshare for experimenting with pumml.

About pumml

More information about using PU learning for materials synthesis prediction can be found in our publication: DOI: 10.1021/acsnano.8b08014 https://pubs.acs.org/doi/abs/10.1021/acsnano.8b08014

Helpful PU learning wrappers for scikit-learn can be found at: Alexandre Drouin, pu-learning, 2013, https://github.com/aldro61/pu-learning

In addition to our transductive bagging scheme with decision tree base classifiers, we recommend the robust ensemble of support vector machines (RESVM) method introduced by Claesen et al. RESVM is an alternative PU learning method that provides an excellent benchmark. It is implemented here: Marc Claesen, EnsembleSVM, 2014, https://github.com/claesenm/EnsembleSVM and a python wrapper is available here: Marc Claesen, resvm, 2014, https://github.com/claesenm/resvm.

License

This code is made available under the MIT License.

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

pumml-0.0.2.tar.gz (14.5 kB view details)

Uploaded Source

Built Distribution

pumml-0.0.2-py3-none-any.whl (14.4 kB view details)

Uploaded Python 3

File details

Details for the file pumml-0.0.2.tar.gz.

File metadata

  • Download URL: pumml-0.0.2.tar.gz
  • Upload date:
  • Size: 14.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.11

File hashes

Hashes for pumml-0.0.2.tar.gz
Algorithm Hash digest
SHA256 b84b775ed8660e3f3891b9ce715dde29a0f36bd4c02bb7a7bdfec24f2791d5c0
MD5 a8eb2284eb05e68d7dcb87ee0bb904ff
BLAKE2b-256 76b3a8917a6870fff248c3fff068d6c59fdf3d7808b2dc7f3c3972d509af16a8

See more details on using hashes here.

File details

Details for the file pumml-0.0.2-py3-none-any.whl.

File metadata

  • Download URL: pumml-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 14.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/49.6.0.post20201009 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.11

File hashes

Hashes for pumml-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 632db0823c086664f1e8e4d8ca20003fe012936a07a304057d6f6aaf4ed2ddea
MD5 949a1430bb0c168f695954a6de73e4f8
BLAKE2b-256 7b1ed8fd058d4808229cbf2c6a518aa4d3d70d04ec0290328b3dfaaa949e1784

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page