- model openff.nagl.features.bonds.BondOrder
One-hot encoding of the bond order.
The bond order is also known as the degree of the bond; a single bond has bond order 1, a double bond has bond order 2, etc. By default, one-hot encodings are provided for all of the formal charges in the
categoriesfield. To cover a different list of charges, provide that list as an argument to the feature:
>>> bond_features = ( ... BondOrder([1, 2, 3, 4]), ... ... ... )