AverageBondLength: 100%|████████████████████████████████████████████████████████| 2322/2322 [00:00<00:00, 9241.78it/s]
---------------------------------------------------------------------------
RemoteTraceback Traceback (most recent call last)
RemoteTraceback:
"""
Traceback (most recent call last):
File "~/miniconda3/envs/py3/lib/python3.6/site-packages/matminer/featurizers/base.py", line 396, in featurize_wrapper
return self.featurize(*x)
TypeError: featurize() missing 1 required positional argument: 'idx'
Hello Libin,
Thanks for the question!
As you’ve noticed, the featurizers you mentioned (VoronoiFingerprint, etc) are designed to retrieve properties of a certain atomic site. If you want to describe a complete structure, you should use the “SiteStatsFingerprint” (see docs here), which will compute the features of each site in a structure and then create a composite feature for the structure by computing statistics of those site properties.
We have an example that uses this kind of functionality in our examples repository: https://github.com/hackingmaterials/matminer_examples/blob/master/notebooks/machine-learning/voronoi-ward-prb-2017.ipynb
Does this solve your problem?
Best,
Logan
--
You received this message because you are subscribed to the Google Groups "matminer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to matminer+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to matm...@googlegroups.com.
Yes, we just moved the examples to a new directory:
Logan
To unsubscribe from this group and stop receiving emails from it, send an email to matminer+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/matminer/af353379-0a9d-458c-bb83-6cb24de768f8%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to matm...@googlegroups.com.