Skip to main content

mineralML

Project description

mineralML

PyPI Build Status Documentation Status codecov Open In Colab Python 3.8 License: GPL v3 DOI

We present mineralML (mineral classification using Machine Learning) for probabilistic classification of common igneous minerals. mineralML provides functions for calculating stoichiometries and crystallographic sites based on this classification, along with functions for handling mapped EDS data. Utilizing this package allows for the identification of misclassified mineral phases and poor-quality data. We streamline data processing and cleaning to allow for the rapid transition to usable data, improving the utility of data curated in these databases and furthering computing and modeling capabilities.

Documentation

Read the documentation for a run-through of the mineralML code.

Citation

If you use mineralML in your work, please cite this abstract. This package represents a significant time investment. Proper citation helps support continued development and academic recognition.

Shi, S., Wieser, P., Gordon, C., Toth, N., Antoshechkina, P.M., Gleeson, M., Lehnert, K., (2026) mineralML: Leveraging Machine Learning for Probabilistic Mineral Classification in Geochemical Databases", Earth ArXiv. doi:10.31223/X53J2M
@article{Shietal2026,
  doi       = {10.31223/X53J2M},
  url       = {https://doi.org/10.31223/X53J2M},
  year      = {2026},
  author    = {Shi, Sarah C and Wieser, Penny E and Gordon, Charlotte and Toth, Norbert and Antoshechkina, Paula M and Gleeson, Matthew LM and Lehnert, Kerstin},
  title     = {mineralML: Leveraging Machine Learning for Probabilistic Mineral Classification},
  journal   = {Earth ArXiv},
}

Run on the Cloud

If you do not have Python installed locally, run mineralML on Google Colab. The Cloud-based version runs rapidly, with test cases of >10,000 microanalyses classified within 4 seconds.

Run and Install Locally

Obtain a version of Python between 3.8 and 3.12 if you do not already have it installed. mineralML can be installed with one line. Open terminal and type the following:

pip install mineralML

Make sure that you keep up with the latest version of mineralML. To upgrade to the latest version of mineralML, open terminal and type the following:

pip install mineralML --upgrade

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

mineralml-0.0.3.14.tar.gz (2.1 MB view details)

Uploaded Source

Built Distribution

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

mineralml-0.0.3.14-py3-none-any.whl (2.1 MB view details)

Uploaded Python 3

File details

Details for the file mineralml-0.0.3.14.tar.gz.

File metadata

  • Download URL: mineralml-0.0.3.14.tar.gz
  • Upload date:
  • Size: 2.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mineralml-0.0.3.14.tar.gz
Algorithm Hash digest
SHA256 063acbffb7caab4eeb2b0c87a5f71e38b7e6102a51cd715e5d24d7beb279965e
MD5 6485d7abfb718f9ce75873e25f515e43
BLAKE2b-256 920bf7265819d17b72c217373a449d82c17493f6385b0769d5684b0e151a9d82

See more details on using hashes here.

File details

Details for the file mineralml-0.0.3.14-py3-none-any.whl.

File metadata

  • Download URL: mineralml-0.0.3.14-py3-none-any.whl
  • Upload date:
  • Size: 2.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for mineralml-0.0.3.14-py3-none-any.whl
Algorithm Hash digest
SHA256 520fb3e584cd2aaf559723bdc2d78d39a77d1f529b80ed0d1e9861500d4b8616
MD5 43b68ecf5cd6c06876141f00c9f61510
BLAKE2b-256 ebe11dea6b615809e6102f94469c9ab0dfe4cd3496da25f8a3db48d312a2ad47

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