Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def all(self):
fs = [
cf.AtomicOrbitals(),
cf.ElementProperty.from_preset("matminer"),
cf.ElementProperty.from_preset("magpie"),
cf.ElementProperty.from_preset("matscholar_el"),
cf.ElementProperty.from_preset("deml"),
cf.Meredig(),
cf.ElementFraction(),
cf.Stoichiometry(),
cf.TMetalFraction(),
cf.BandCenter(),
cf.ValenceOrbital(),
cf.YangSolidSolution(),
cf.CationProperty.from_preset(preset_name="deml"),
cf.OxidationStates.from_preset(preset_name="deml"),
cf.ElectronAffinity(),
cf.ElectronegativityDiff(),
cf.IonProperty(fast=True),
cf.Miedema(),
cf.AtomicPackingEfficiency(), # slower than the rest
cf.CohesiveEnergy(), # requires mpid present
def express(self):
fs = [
cf.ElementProperty.from_preset("magpie"),
cf.OxidationStates.from_preset(preset_name="deml"),
cf.ElectronAffinity(),
cf.IonProperty(),
cf.YangSolidSolution(),
cf.Miedema(),
]
return self._get_featurizers(fs)
def all(self):
fs = [
cf.AtomicOrbitals(),
cf.ElementProperty.from_preset("matminer"),
cf.ElementProperty.from_preset("magpie"),
cf.ElementProperty.from_preset("matscholar_el"),
cf.ElementProperty.from_preset("deml"),
cf.Meredig(),
cf.ElementFraction(),
cf.Stoichiometry(),
cf.TMetalFraction(),
cf.BandCenter(),
cf.ValenceOrbital(),
cf.YangSolidSolution(),
cf.CationProperty.from_preset(preset_name="deml"),
cf.OxidationStates.from_preset(preset_name="deml"),
cf.ElectronAffinity(),
cf.ElectronegativityDiff(),
cf.IonProperty(fast=True),
cf.Miedema(),
cf.AtomicPackingEfficiency(), # slower than the rest
def all(self):
fs = [
cf.AtomicOrbitals(),
cf.ElementProperty.from_preset("matminer"),
cf.ElementProperty.from_preset("magpie"),
cf.ElementProperty.from_preset("matscholar_el"),
cf.ElementProperty.from_preset("deml"),
cf.Meredig(),
cf.ElementFraction(),
cf.Stoichiometry(),
cf.TMetalFraction(),
cf.BandCenter(),
cf.ValenceOrbital(),
cf.YangSolidSolution(),
cf.CationProperty.from_preset(preset_name="deml"),
cf.OxidationStates.from_preset(preset_name="deml"),
cf.ElectronAffinity(),
cf.ElectronegativityDiff(),
cf.IonProperty(fast=True),
cf.Miedema(),