show_versions

show_versions(as_str: bool = False) str | None[source]

Print useful debugging information.

Parameters:
as_strbool, default=False

If True, return the output as a string instead of printing.

Returns:
str or None

The output string if as_str is True, otherwise None.

Notes

Adapted from the scikit-learn 1.5.0 show_versions function. https://github.com/scikit-learn/scikit-learn/ Copyright (c) 2007-2024 The scikit-learn developers, BSD-3

Examples

>>> from aeon.utils import show_versions
>>> vers = show_versions(as_str=True)