{"id":15066206,"url":"https://github.com/sparks-baird/mat_discover","last_synced_at":"2025-10-13T00:47:47.650Z","repository":{"id":37899352,"uuid":"392897894","full_name":"sparks-baird/mat_discover","owner":"sparks-baird","description":"A materials discovery algorithm geared towards exploring high-performance candidates in new chemical spaces.","archived":false,"fork":false,"pushed_at":"2024-08-20T20:53:44.000Z","size":93041,"stargazers_count":44,"open_issues_count":29,"forks_count":9,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-09-08T21:37:07.447Z","etag":null,"topics":["adaptive-design","bayesian-optimization","crabnet","earth-mover-distance","earth-movers-distance","machine-learning","matdiscover","materials-discoveries","materials-discovery","materials-informatics","materials-project","materials-science","materials-screening","numba","predict-materials-properties","python","pytorch","wasserstein","wasserstein-distance","wasserstein-metric"],"latest_commit_sha":null,"homepage":"https://mat-discover.readthedocs.io/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sparks-baird.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-08-05T04:07:17.000Z","updated_at":"2025-06-01T22:25:13.000Z","dependencies_parsed_at":"2024-08-20T22:28:58.653Z","dependency_job_id":"07f031de-7126-4156-963f-936948f3331b","html_url":"https://github.com/sparks-baird/mat_discover","commit_stats":{"total_commits":1367,"total_committers":7,"mean_commits":"195.28571428571428","dds":"0.15654718361375275","last_synced_commit":"ec9ca6d522f2a241cbdfada1216621883488ee75"},"previous_names":[],"tags_count":30,"template":false,"template_full_name":null,"purl":"pkg:github/sparks-baird/mat_discover","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparks-baird%2Fmat_discover","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparks-baird%2Fmat_discover/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparks-baird%2Fmat_discover/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparks-baird%2Fmat_discover/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sparks-baird","download_url":"https://codeload.github.com/sparks-baird/mat_discover/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparks-baird%2Fmat_discover/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279013643,"owners_count":26085298,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-12T02:00:06.719Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["adaptive-design","bayesian-optimization","crabnet","earth-mover-distance","earth-movers-distance","machine-learning","matdiscover","materials-discoveries","materials-discovery","materials-informatics","materials-project","materials-science","materials-screening","numba","predict-materials-properties","python","pytorch","wasserstein","wasserstein-distance","wasserstein-metric"],"created_at":"2024-09-25T01:03:41.284Z","updated_at":"2025-10-13T00:47:47.634Z","avatar_url":"https://github.com/sparks-baird.png","language":"Python","funding_links":[],"categories":["Unsupervised Learning"],"sub_categories":[],"readme":"\u003c!-- TODO: add buttons for code ocean and Zenodo DOI [![Open in Code Ocean](https://codeocean.com/codeocean-assets/badge/open-in-code-ocean.svg)](https://codeocean.com/capsule/3904426/tree)--\u003e\n\n# DiSCoVeR\n\n[![Open In Colab (PyPI)](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/drive/1MgV_ZewS6gLm1a3Vyhg33pFHi5uTld_2?usp=sharing)\n[![Open in Code Ocean](https://codeocean.com/codeocean-assets/badge/open-in-code-ocean.svg)](https://doi.org/10.24433/CO.8463578.v1)\n[![Interactive Figures](https://img.shields.io/static/v1?message=Open%20interactive%20figures\u0026logo=github\u0026labelColor=5c5c5c\u0026color=blueviolet\u0026logoColor=white\u0026label=%20)](https://mat-discover.readthedocs.io/en/latest/figures.html)\n[![Read the Docs](https://img.shields.io/readthedocs/mat-discover?label=Read%20the%20docs\u0026logo=readthedocs)](https://mat-discover.readthedocs.io/en/latest/)\n[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/sparks-baird/mat_discover/Install%20with%20flit%20and%20test%20via%20Pytest?label=main)](https://github.com/sparks-baird/mat_discover/actions/workflows/flit-install-test.yml)\n\n\u003c!-- [![PyPI version](https://img.shields.io/pypi/v/mat_discover.svg)](https://pypi.org/project/mat_discover/) --\u003e\n[![PyPI version](https://badge.fury.io/py/mat_discover.svg)](https://pypi.org/project/mat_discover/)\n[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)\n[![Coverage Status](https://coveralls.io/repos/github/sparks-baird/mat_discover/badge.svg?service=github)](https://coveralls.io/github/sparks-baird/mat_discover)\n[![Lines of code](https://img.shields.io/tokei/lines/github/sparks-baird/mat_discover)](https://img.shields.io/tokei/lines/github/sparks-baird/mat_discover)\n[![License](https://img.shields.io/github/license/sparks-baird/mat_discover?service=github)](https://img.shields.io/github/license/sparks-baird/mat_discover)\n[![DOI](https://zenodo.org/badge/392897894.svg?service=github)](https://zenodo.org/badge/latestdoi/392897894)\n\u003c!-- ![PyPI - License](https://img.shields.io/pypi/l/mat_discover) --\u003e\n\u003c!-- [![Coverage Status](https://coveralls.io/repos/github/sparks-baird/mat_discover/badge.svg?branch=main)](https://coveralls.io/github/sparks-baird/mat_discover?branch=main) --\u003e\n\u003c!-- ![Coveralls](https://img.shields.io/coveralls/github/sparks-baird/mat_discover) --\u003e\n\n[![Conda](https://img.shields.io/conda/v/sgbaird/mat_discover)](https://anaconda.org/sgbaird/mat_discover)\n[![Conda](https://img.shields.io/conda/pn/sgbaird/mat_discover)](https://anaconda.org/sgbaird/mat_discover)\n[![Conda](https://img.shields.io/conda/dn/sgbaird/mat_discover?label=conda%7Cdownloads)](https://anaconda.org/sgbaird/mat_discover)\n\u003c!-- ![Conda](https://img.shields.io/conda/dn/sgbaird/mat_discover) --\u003e\n\u003c!-- [![Anaconda-Server Downloads](https://anaconda.org/sgbaird/mat_discover/badges/downloads.svg)](https://anaconda.org/sgbaird/mat_discover) --\u003e\n\u003c!-- [![Anaconda-Server Downloads](https://anaconda.org/sgbaird/mat_discover/badges/downloads.svg?service=github)](https://anaconda.org/sgbaird/mat_discover) --\u003e\n\u003c!-- ![PyPI - Downloads](https://img.shields.io/pypi/dm/mat_discover?label=PyPI%20downloads) --\u003e\n\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://mat-discover.readthedocs.io/en/latest/examples.html\"\u003eExamples\u003c/a\u003e, \n    \u003ca href=\"https://doi.org/10.1039/D1DD00028D\"\u003ePaper\u003c/a\u003e, and\n    \u003ca href=\"https://mat-discover.readthedocs.io/en/latest/index.html\"\u003eDocs\u003c/a\u003e\n\u003c/p\u003e\n\nA materials discovery algorithm geared towards exploring high performance candidates in new chemical spaces using composition-only.\n\n\u003c!-- \u003cp align=\"center\"\u003e\u003cimg src=https://user-images.githubusercontent.com/45469701/139520031-bf4fda18-9be7-4c54-b70b-c9be8e974cea.png width=500\u003e  \u003c/p\u003e --\u003e\n\u003cimg src=https://user-images.githubusercontent.com/45469701/139520031-bf4fda18-9be7-4c54-b70b-c9be8e974cea.png width=500\u003e\n\n\u003csup\u003eBulk modulus values overlaid on DensMAP densities (cropped).\u003c/sup\u003e\n\n[The documentation](https://mat-discover.readthedocs.io/) describes the Descending from Stochastic Clustering Variance Regression (DiSCoVeR) algorithm, how to install `mat_discover`, and basic usage (`fit`/`predict`, custom or built-in datasets, adaptive design, and cluster plots). [Interactive plots](https://mat-discover.readthedocs.io/en/latest/figures.html) for several types of\nPareto front plots are available. We also describe how to contribute, and what to do if you run into bugs or have questions. Various [examples](https://mat-discover.readthedocs.io/en/latest/examples.html) (including a [teaching example](https://mat-discover.readthedocs.io/en/latest/examples.html#bare-bones)), the [interactive figures](https://mat-discover.readthedocs.io/en/latest/figures.html#figures) mentioned, and the [Python API](https://mat-discover.readthedocs.io/en/latest/modules.html) are also hosted at https://mat-discover.readthedocs.io. The open-access article is [published at Digital Discovery](https://dx.doi.org/10.1039/D1DD00028D). If you find this useful, please consider citing as follows:\n\n## Citing\n\u003e Baird, S. G.; Diep, T. Q.; Sparks, T. D. DiSCoVeR: A Materials Discovery Screening Tool for High Performance, Unique Chemical Compositions. Digital Discovery 2022. https://doi.org/10.1039/D1DD00028D.\n\n```bib\n@article{bairdDiSCoVeRMaterialsDiscovery2022,\n  title = {{{DiSCoVeR}}: A {{Materials Discovery Screening Tool}} for {{High Performance}}, {{Unique Chemical Compositions}}},\n  shorttitle = {{{DiSCoVeR}}},\n  author = {Baird, Sterling Gregory and Diep, Tran Q. and Sparks, Taylor D.},\n  year = {2022},\n  month = feb,\n  journal = {Digital Discovery},\n  publisher = {{RSC}},\n  issn = {2635-098X},\n  doi = {10.1039/D1DD00028D},\n  abstract = {We present Descending from Stochastic Clustering Variance Regression (DiSCoVeR) (https://github.com/sparks-baird/mat_discover), a Python tool for identifying and assessing high-performing, chemically unique compositions relative to existing compounds using a combination of a chemical distance metric, density-aware dimensionality reduction, clustering, and a regression model. In this work, we create pairwise distance matrices between compounds via Element Mover's Distance (ElMD) and use these to create 2D density-aware embeddings for chemical compositions via Density-preserving Uniform Manifold Approximation and Projection (DensMAP). Because ElMD assigns distances between compounds that are more chemically intuitive than Euclidean-based distances, the compounds can then be clustered into chemically homogeneous clusters via Hierarchical Density-based Spatial Clustering of Applications with Noise (HDBSCAN*). In combination with performance predictions via Compositionally-Restricted Attention-Based Network (CrabNet), we introduce several new metrics for materials discovery and validate DiSCoVeR on Materials Project bulk moduli using compound-wise and cluster-wise validation methods. We visualize these via multi-objective Pareto front plots and assign a weighted score to each composition that encompasses the trade-off between performance and density-based chemical uniqueness. In addition to density-based metrics, we explore an additional uniqueness proxy related to property gradients in DensMAP space. As a validation study, we use DiSCoVeR to screen materials for both performance and uniqueness to extrapolate to new chemical spaces. Top-10 rankings are provided for the compound-wise density and property gradient uniqueness proxies. Top-ranked compounds can be further curated via literature searches, physics-based simulations, and/or experimental synthesis. Finally, we compare DiSCoVeR against the naive baseline of random search for several parameter combinations in an adaptive design scheme. To our knowledge, this is the first time automated screening has been performed with explicit emphasis on discovering high-performing, novel materials.},\n  langid = {english},\n}\n```\n\nIf you use this software, in addition to the above reference, please also cite the Zenodo DOI and state the version that you used:\n\u003e Sterling Baird. (2022). sparks-baird/mat_discover. Zenodo. https://doi.org/10.5281/zenodo.5594678\n\n```bib\n@software{sterling_baird_2022_6116258,\n  author       = {Sterling Baird},\n  title        = {sparks-baird/mat\\_discover},\n  month        = feb,\n  year         = 2022,\n  publisher    = {Zenodo},\n  doi          = {10.5281/zenodo.5594678},\n  url          = {https://doi.org/10.5281/zenodo.5594678}\n}\n```\n\nIf you use this software as an installed dependency in another GitHub repository, please add `mat_discover` to a `requirements.txt` file in your repository via e.g.:\n```bash\npip install pipreqs\npipreqs .\n```\n`pipreqs` generates (at least a starting point) for a `requirements.txt` file based on import statements in your working directory and subfolders. For an example, see [`requirements.txt`](requirements.txt).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparks-baird%2Fmat_discover","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsparks-baird%2Fmat_discover","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparks-baird%2Fmat_discover/lists"}