interpret_community.common.progress module

Defines utilities for getting progress status for explanation.

interpret_community.common.progress.get_tqdm(logger, show_progress)

Get the tqdm progress bar function.

Parameters:
  • logger (logger) – The logger for logging info messages.

  • show_progress (bool) – Default to ‘True’. Determines whether to display the explanation status bar when using PFIExplainer.

Returns:

The tqdm (https://github.com/tqdm/tqdm) progress bar.

Return type:

function