matminer
Feature extraction for machine learning on materials: hundreds of composition, structure and electronic descriptors, plus connectors to the common materials databases.
Tool 064 of 100 in the MolForge directory of open-source tools. Every fact below was read from the repository's host on 2026-11-28.

What matminer is
matminer is a Python library that turns materials data into features for machine learning. A featuriser takes a composition, a crystal structure, a site in a structure, a band structure or a density of states, and returns a numeric vector that a learning algorithm can use. Composition featurisers draw on tabulated elemental properties and their statistics; structure featurisers compute packing, radial distributions, Voronoi neighbourhoods and local order parameters; site featurisers describe individual atomic environments.
Everything flows through pandas DataFrames: a column of pymatgen compositions or structures goes in, columns of features come out, with parallel execution for large tables. Data retrieval classes pull records from the Materials Project, AFLOW, OQMD, Citrine and the Materials Data Facility, and a datasets module downloads curated sets used in published benchmarks. The output feeds scikit-learn or any other modelling library; matminer deliberately stops at the feature matrix and leaves model selection to the user.
Feature engineering of this kind suits moderate data sets and interpretable models; graph neural networks learn their own representations and do not need it.
Features
- Composition featurisers based on elemental property statistics and oxidation states
- Structure featurisers: density, radial distribution, Voronoi and order parameters
- Site featurisers for local atomic environments
- Band structure and density of states featurisers
- Retrieval from Materials Project, AFLOW, OQMD, Citrine and MDF
- Curated data sets downloadable from a datasets module
- pandas DataFrame interface with parallel featurisation
What it is for
- Build a feature matrix from compositions for a formation-energy model
- Pull a labelled training set from a materials database in a few lines
- Describe local environments for site-level property prediction
- Reproduce published benchmark data sets for materials machine learning
Verified facts
| Family | Materials science: structures and properties |
|---|---|
| Language or basis | Python |
| Repository | https://github.com/hackingmaterials/matminer (GitHub) |
| Licence | No licence detected by GitHub; read the repository before reuse |
| Main language on GitHub | HTML |
| Last commit | 2026-11-24 |
| Latest release | v0.10.1 (2026-04-14) |
| Stars | 633 on 2026-11-28 |
| Open issues and pull requests | 49 on 2026-11-28 |
| Repository created | 2015-09-24 |
| Verified | 2026-11-28 by MolForge's checking script, against the host's API |
Where matminer fits
Analyse and generate crystal structures, then derive phonons, transport and other properties.
It is the first place to look when you want analysing materials structures.
Questions people ask
- Does matminer include machine-learning models?
- No. It produces features and data sets and leaves modelling to scikit-learn or other libraries. A companion project, automatminer, once wrapped feature selection and model search around it, but matminer itself is the feature layer. This separation keeps it usable with any learning framework.
- What input does matminer need?
- A pandas DataFrame with a column of pymatgen objects: Composition for composition features, Structure for structure features, or band structure and density of states objects for electronic features. Strings such as chemical formulae are converted with a built-in conversion featuriser before the numeric featurisers run.
- Can matminer featurise structures without knowing their properties?
- Yes. Structure and composition featurisers need only the structure or formula, which is the point of using them for prediction. Only the electronic-structure featurisers require a computed band structure or density of states as input.
- How is matminer different from graph neural network approaches?
- matminer produces hand-designed, interpretable descriptors that work with tree ensembles and linear models on modest data sets. Graph networks such as those in MatGL learn a representation directly from the structure and generally need more data. The two are often compared on the same tasks, and matminer features also serve as inputs to analysis beyond prediction.
- Where is the matminer source code?
- At https://github.com/hackingmaterials/matminer (GitHub). This is the address the host reported on the day of verification; renamed repositories are followed to their new home.
- Is matminer still maintained?
- The last commit was pushed on 2026-11-24 and the latest tagged release is v0.10.1 from 2026-04-14; the repository had 49 open issues and pull requests on 2026-11-28.
- Does MolForge use matminer?
- No. MolForge runs nine of the hundred tools in this directory (RDKit, OpenMM, AutoDock Vina, Open Babel, MDTraj, pymbar and NGL, plus PySCF and xTB in MFsig); matminer is listed because of its place in materials science: structures and properties, not because we run it.
Our comments on matminer
MolForge does not run matminer in production. This page is a verified pointer, not a review: the facts above come from the repository on the date shown, the description is ours, and we make no claim about accuracy or speed that we have not measured. If you maintain matminer and something here is wrong or out of date, write to hello@molforge.ai and we will correct the source file.
Test status
Not tested by MolForge. To check matminer yourself: clone the repository, follow the installation section of its README, and run the test suite the project ships before trusting a result; the last-commit date and the open issue count above tell you how alive the project is.