pjml.abs.mixin.exceptionhandling.WithExceptionHandling¶
-
class
pjml.abs.mixin.exceptionhandling.
WithExceptionHandling
[source]¶ Handle component exceptions and enable/disable numpy warnings.
E.g. Mahalanobis distance in KNN needs to supress warnings due to NaN in linear algebra calculations. MLP is also verbose due to nonconvergence issues among other problems.
-
__init__
(*args, **kwargs)¶ Initialize self. See help(type(self)) for accurate signature.
Attributes
msgs
name
transformer
-