Helpers

Formatting

mlinsights.helpers.parameters.format_parameters (pdict)

Formats a list of parameters.

mlinsights.helpers.parameters.format_value (v)

Formats a value to be included in a string.

mlinsights.helpers.parameters.format_function_call (name, pdict)

Formats a function call with named parameters.

Pipeline

mlinsights.helpers.pipeline.alter_pipeline_for_debugging (pipe)

Overwrite methods transform, predict, predict_proba or decision_function to collect the last inputs and outputs seen in these methods.

mlinsights.helpers.pipeline.enumerate_pipeline_models (pipe, coor = None, vs = None)

Enumerates all the models within a pipeline.