LinkSpec.validate_target#

abstractmethod LinkSpec.validate_target(y)[source]#

Validate that y is compatible with this link function.

Raises:
ValueError

If the target values are incompatible.