CheckFailure

class CheckFailure[source]

Class which holds a run exception of a check.

Parameters
checkBaseCheck
exceptionException
header_suffixstr , default ``
__init__(check: BaseCheck, exception: Exception, header_suffix: str = '')[source]
__new__(*args, **kwargs)

Methods

CheckFailure.to_json([with_display])

Return check failure as json.

CheckFailure.to_wandb([dedicated_run])

Export check result to wandb. Parameters ---------- dedicated_run : bool , default: None If to initiate and finish a new wandb run. If None it will be dedicated if wandb.run is None. kwargs: Keyword arguments to pass to wandb.init. Default project name is deepchecks. Default config is the check metadata (params, train/test/ name etc.).