Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial Design of the Composition/Structure/Missing_value-related Metafeatures for the Input Dataset #30

Merged
merged 9 commits into from Jul 16, 2018

Conversation

Qi-max
Copy link
Contributor

@Qi-max Qi-max commented Jul 16, 2018

To-do:

  • add unittests
  • add more metafeatures

return 1
elif element.is_alkali:
return 4
elif element.is_alkaline:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm pretty sure pymatgen's Element or Specie has some of these properties already

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah, I just use pymatgen Element object to do this. I just want to assign a number to the species that are of interest for the elements. This can be further used to perform set() etc to get the element types present in the formula, such as [1, 1, 1] or [1, 1] will be all transitional metal, [2, 2, 9] or [2, 9] will be rare_earth_metal-nonmetal etc.

@Qi-max Qi-max changed the title Initial draft for composition/structure/missing_value-related metafeatures for the input dataset Initial Design of the Composition/Structure/Missing_value-related Metafeatures for the Input Dataset Jul 16, 2018
@albalu
Copy link
Contributor

albalu commented Jul 16, 2018

Thank you @Qi-max ! Please feel free to merge anytime you are done and tests passed. We will discuss all our changes tomorrow.

@Qi-max
Copy link
Contributor Author

Qi-max commented Jul 16, 2018

OK, cool! @albalu

@Qi-max Qi-max merged commit 03f885b into hackingmaterials:master Jul 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants