AtomConnectivity
- model openff.nagl.features.atoms.AtomConnectivity[source]
One-hot encodings for the number of other atoms this atom is connected to.
By default, one-hot encodings are provided for all of the connectivities in the
categories
field. To cover a different list of numbers, provide that list as an argument to the feature:>>> atom_features = ( ... AtomConnectivity([1, 2, 3, 4, 5, 6]), ... ... ... )
- field categories: List[int] = [1, 2, 3, 4]
Connectivities to provide one-hot encodings for.