Skip to main content

mineralML

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

We present mineralML (mineral classification using Machine Learning) for classifying common igneous minerals based on oxide data collected by EPMA, with functions for calculating stoichiometries and crystallographic sites based on this classification. 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., Toth, N., Antoshechkina, P.M., Lehnert, K., (2023) “MIN-ML: Leveraging Machine Learning for Probabilistic Mineral Classification in Geochemical Databases”. In AGU Fall Meeting Abstracts (Vol. 2023, pp. V54A-07).
@inproceedings{Shietal2023,
  title     = {MIN-ML: Leveraging Machine Learning for Probabilistic Mineral Classification in Geochemical Databases},
  author    = {Shi, Sarah C and Wieser, Penny E and Toth, Norbert and Antoshechkina, Paula M and Lehnert, Kerstin},
  booktitle = {AGU Fall Meeting Abstracts},
  volume.   = {2023},
  pages.    = {V54A--07},
  year.     = {2023}
}

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

Mac/Linux installation will be straightforward. Windows installations will require the additional setup of WSL.

Metadata

Release files for mineralML 0.0.3.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mineralML 0.0.3.8
File Size Uploaded Provenance Actions
mineralml-0.0.3.8.tar.gz 2.1 MB Without provenance Details for mineralml-0.0.3.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mineralML 0.0.3.8
File Interpreter ABI Platform Actions
mineralml-0.0.3.8-py3-none-any.whl Python 3 none any Details for mineralml-0.0.3.8-py3-none-any.whl

Total release size: 4.3 MB

Release files / mineralml-0.0.3.8.tar.gz

Download URL mineralml-0.0.3.8.tar.gz
Size 2.1 MB
Tags Source
SHA-256 checksum
How to use checksums
c4da324a5752fbee5bee4574ea88faa3e2203ec85f0ba33e2ef06fb18c8bc855
BLAKE2b-256 checksum
How to use checksums
847a5642ad7495117f152046eff52d42b692568c8b7d2a54b98dd0e1a434a642
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / mineralml-0.0.3.8-py3-none-any.whl

Download URL mineralml-0.0.3.8-py3-none-any.whl
Size 2.1 MB
Tags Python 3
SHA-256 checksum
How to use checksums
d052dc6ddf90bda0ef0869f5eada5cea2d58f61872eabadd5ad53222cd58805e
BLAKE2b-256 checksum
How to use checksums
15424935d717452e505eb0cf7e7d9390ed6b86b2b7a3c12df83193a3ac459d94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Security for mineralML 0.0.3.8

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.

Release history Release notifications | RSS feed

This release

0.0.3.8 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page