Logging Instruments

class sklearn_instrumentation.instruments.logging.ColumnNameLogger[source]

Instrument which logs the columns of X on input and output.

Only works if X is a pandas DataFrame.

class sklearn_instrumentation.instruments.logging.GetSizeOfLogger[source]

Instrument which logs sys.getsizeof(X) on input and output.

class sklearn_instrumentation.instruments.logging.ShapeLogger[source]

Instrument which logs the shape of X on input and output.

class sklearn_instrumentation.instruments.logging.TimeElapsedLogger[source]

Instrument which logs execution time elapsed.