targets module

Full Documentation for hippynn.graphs.nodes.targets module. Click here for a summary page.

Nodes for prediction of variables from network features.

class AtomizationEnergyNode(name, parents, module='auto', module_kwargs=None, **kwargs)[source]

Bases: Energies, HAtomRegressor, AutoKw, ExpandParents, MultiNode

create_henergy_equivalent()[source]
expansion0(net, vacuum_net, encoding, pdindexer, **kwargs)[source]

Used for creation from parents with signature (Network, Network, Encoder, AtomIndexer)

expansion1(net, **kwargs)[source]

Used for creation from parents with signature (Network)

class HBondNode(name, parents, module='auto', module_kwargs=None, **kwargs)[source]

Bases: ExpandParents, AutoKw, MultiNode

Predict an pair-level scalar such as bond order from local features on both atoms

Note

This node has parent expansion, following these procedures.

  1. If matching (Network), then apply expand0

  2. If matching (_BaseNode), then apply expand1

  3. If matching (_BaseNode, _BaseNode), then apply expand2

expand0(net, *, purpose, **kwargs)[source]

Used for creation from parents with signature (Network)

expand1(features, *, purpose, **kwargs)[source]

Used for creation from parents with signature (_BaseNode)

expand2(features, pairfinder, **kwargs)[source]

Used for creation from parents with signature (_BaseNode, _BaseNode)

class HChargeNode(name, parents, module='auto', module_kwargs=None, **kwargs)[source]

Bases: Charges, HAtomRegressor, AutoKw, ExpandParents, MultiNode

Predict an atom-level scalar such as charge from local features.

Note

This node has parent expansion, following these procedures.

  1. If matching (Network), then apply expansion0

expansion0(net, **kwargs)[source]

Used for creation from parents with signature (Network)

class HEnergyNode(name, parents, first_is_interacting=False, module='auto', module_kwargs=None, **kwargs)[source]

Bases: Energies, HAtomRegressor, AutoKw, ExpandParents, MultiNode

Predict a system-level scalar such as energy from a sum over local components.

Note

This node has parent expansion, following these procedures.

  1. If matching (Network), then apply expansion0

expansion0(net, **kwargs)[source]

Used for creation from parents with signature (Network)

class LocalChargeEnergy(name, parents, **kwargs)[source]

Bases: Energies, ExpandParents, HAtomRegressor, MultiNode

expansion0(charge, network, **kwargs)[source]

Used for creation from parents with signature (_BaseNode, Network)