Skip to main content

Compositionally-Restricted Attention-Based Network (CrabNet)

The Compositionally-Restricted Attention-Based Network (CrabNet), inspired by natural language processing transformers, uses compositional information to predict material properties.

DOI

Open In Colab (PyPI) Read the Docs GitHub Workflow Status

PyPI Code style: black Lines of code GitHub

Conda Conda Conda Anaconda-Server Badge

⚠️ This is a fork of the original CrabNet repository ⚠️

This is a refactored version of CrabNet, published to PyPI (pip) and Anaconda (conda). In addition to using .csv files, it allows direct passing of Pandas DataFrames as training and validation datasets, similar to automatminer. It also exposes many of the model parameters at the top-level via CrabNet and uses the sklearn-like "instantiate, fit, predict" workflow. An extend_features is implemented which allows utilization of data other than the elemental compositions (e.g. state variables such as temperature or applied load). These changes make CrabNet portable, extensible, and more broadly applicable, and will be incorporated into the parent repository at a later date. Please refer to the CrabNet documentation for details on installation and usage. If you find CrabNet useful, please consider citing the following publication in npj Computational Materials:

Citing

@article{Wang2021crabnet,
 author = {Wang, Anthony Yu-Tung and Kauwe, Steven K. and Murdock, Ryan J. and Sparks, Taylor D.},
 year = {2021},
 title = {Compositionally restricted attention-based network for materials property predictions},
 pages = {77},
 volume = {7},
 number = {1},
 doi = {10.1038/s41524-021-00545-1},
 publisher = {{Nature Publishing Group}},
 shortjournal = {npj Comput. Mater.},
 journal = {npj Computational Materials}
}

Metadata

Release files for crabnet 2.0.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 crabnet 2.0.8
File Size Uploaded Provenance Actions
crabnet-2.0.8.tar.gz 52.4 MB Without provenance Details for crabnet-2.0.8.tar.gz

Built distribution (wheel)

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

Total release size: 87.1 MB

Release files / crabnet-2.0.8.tar.gz

Download URL crabnet-2.0.8.tar.gz
Size 52.4 MB
Tags Source
SHA-256 checksum
How to use checksums
53a4d3b5da398ad87b1aae72c24754ea76a90975ed9fa8073565ca67f85393c6
BLAKE2b-256 checksum
How to use checksums
13c013be5043fdfc8e3234f5cf7f9581ef508c18edf71270a2d812fbab91f9f1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.1

Release files / crabnet-2.0.8-py3-none-any.whl

Download URL crabnet-2.0.8-py3-none-any.whl
Size 34.7 MB
Tags Python 3
SHA-256 checksum
How to use checksums
4901565abaa5b4cd1a7841b9de647a3906df21676b226a7abf972d113f92054a
BLAKE2b-256 checksum
How to use checksums
7d662b1c538d419b62c67226ee02d01167a3721e3f2b127fe10726b7383ef834
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.28.1

Security for crabnet 2.0.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

2.0.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