baybe.utils.chemistry.get_fingerprint_class

baybe.utils.chemistry.get_fingerprint_class(encoding: SubstanceEncoding)[source]

Retrieve the fingerprint class corresponding to a given encoding.

Parameters:

encoding (SubstanceEncoding) – A substance encoding.

Raises:

ValueError – If no fingerprint class for the specified encoding is found.

Return type:

BaseFingerprintTransformer

Returns:

The fingerprint class.