Skip to main content

# amlearn Machine Learning Package for Amorphous Materials (WIP).

To featurize the heterogeneous atom site environments in amorphous materials, we can use amlearn to derive 1k+ candidate features that encompass short- (SRO) and medium-range order (MRO) to describe the packing heterogeneity around each atom site. (See the following example figure for combining site features and machine learning (ML) to predict the deformation heterogeneity in metallic glasses).

Candidate features include recognized signatures such as coordination number (CN), Voronoi indices, characteristic motifs, volume metrics (atomic/cluster packing efficiency), i-fold symmetry indices, bond-orientational orders and symmetry functions (originally proposed to fit ML interatomic potentials and recently gained success in featurizing disordered materials). We also include our recently proposed highly interpretable and generalizable distance/area/volume interstice distribution features in amlearn (see [A transferable machine-learning framework linking interstice distribution and plastic heterogeneity in metallic glasses](https://www.nature.com/articles/s41467-019-13511-9). Qi Wang and Anubhav Jain. Nature Communications 10, 5537 (2019)).

In amlearn, We integrate Fortran90 with Python (using f2py) to achieve combination of the flexibility and fast-computation (>10x times faster than pure Python) of features. Please refer to the SRO and MRO feature representations in amlearn.featurize. We also include an IntersticeDistribution class as a site featurizer in [matminer](https://github.com/hackingmaterials/matminer), a comprehensive Python library for ML in materials science.

<div align=’center’><img alt=”amlearn” src=”docs_rst/_static/schematic_ML_of_deformation.png” width=”800”></div> &nbsp;

## Installation

Before installing amlearn, please install numpy (version 1.7.0 or greater) first.

We recommend to use the conda install.

`sh conda install numpy `

or you can find numpy installation guide from [Numpy installation instructions](https://www.scipy.org/install.html).

Then, you can install amlearn. There are two ways to install amlearn:

Install amlearn from PyPI (recommended):

`sh pip install amlearn `

Alternatively: install amlearn from the GitHub source:

First, clone amlearn using git:

`sh git clone https://github.com/Qi-max/amlearn `

Then, cd to the amlearn folder and run the setup.py:

`sh cd amlearn sudo python setup.py install `

## References Qi Wang and Anubhav Jain. A transferable machine-learning framework linking interstice distribution and plastic heterogeneity in metallic glasses. Nature Communications 10, 5537 (2019). doi:[10.1038/s41467-019-13511-9](https://www.nature.com/articles/s41467-019-13511-9)

Release files for amlearn 0.3.4

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

Source distribution (sdist)

Source distribution for amlearn 0.3.4
File Size Uploaded
amlearn-0.3.4.tar.gz 86.2 kB Details

Release files / amlearn-0.3.4.tar.gz

Download URL amlearn-0.3.4.tar.gz
Size 86.2 kB
Tags Source
SHA-256 checksum
How to use checksums
35b993401f1b75cf97104aec6aca3f1c5d2d89dc7a991d18d2f60412f36ca428
BLAKE2b-256 checksum
How to use checksums
8095ed6fd2b47ba6b38590fa63a50fbdd07945f8d234c4e32f2f0a3558fd27b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/42.0.1.post20191125 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.3

Release history Release notifications | RSS feed

This release

0.3.4 This release

1 release file

0.3.3

1 release file

0.3.2

1 release file

0.3.1

1 release file

0.2.6

1 release file

0.2.5

1 release file

0.2.4

1 release file

0.2.3

1 release file

0.2.2

1 release file

0.2.1

1 release file

0.2.0

1 release file

0.1.0

1 release file

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