https://github.com/comprhys/elemd

A minimal implementation of the Element-Movers-Distance using modular libraries.

https://github.com/comprhys/elemd

Science Score: 13.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
  • DOI references
  • Academic publication links
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.4%) to scientific vocabulary
Last synced: 10 months ago · JSON representation

Repository

A minimal implementation of the Element-Movers-Distance using modular libraries.

Basic Info
  • Host: GitHub
  • Owner: CompRhys
  • License: mit
  • Language: Python
  • Default Branch: main
  • Homepage:
  • Size: 62.5 KB
Statistics
  • Stars: 8
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 0
Created over 5 years ago · Last pushed almost 4 years ago
Metadata Files
Readme License

README.md

EleMD

Tests

A minimal implementation of the Element-Movers-Distance using standard libraries.

This repository provides an implementations of the Element-Movers-Distance as described in the paper "The Earth Movers Distance as a metric for the space of inorganic compositions".

Installation

To install:

bash git clone https://github.com/CompRhys/EleMD cd EleMD python setup.py sdist pip install -e .

Usage

For simple usage initiate an object with a chemical scale

python from EleMD import EleMD mod_petti = EleMD(scale="mod_pettifor")

Calculate the distance to a second object with the elemd method.

python print(mod_petti.elemd("SrTiO3", "CaTiO3"))

Alternate chemical scales may be accessed via the "scale" argument, e.g.

python atomic = EleMD(scale="atomic")

Disclaimer

This code is designed to mimic the functionality of this reference implementation https://github.com/lrcfmd/ElMD. We do not have any involvement in the development of that code nor any claim to the idea of the element-movers-distance.

This is research code shared without support or any guarantee on its quality. However, please do raise an issue or submit a pull request if you spot something wrong or that could be improved.

Owner

  • Name: Rhys Goodall
  • Login: CompRhys
  • Kind: user

Working on the application of Machine Learning to Materials Discovery | PhD in Physics from the University of Cambridge

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Issues and Pull Requests

Last synced: over 1 year ago

All Time
  • Total issues: 3
  • Total pull requests: 0
  • Average time to close issues: about 5 hours
  • Average time to close pull requests: N/A
  • Total issue authors: 1
  • Total pull request authors: 0
  • Average comments per issue: 3.0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • sgbaird (2)
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels