This is documentation for an old release of Scikit-learn (version 1.4). Try the latest stable release (version 1.6) or development (unstable) versions.

sklearn.utils.discovery.all_functions

sklearn.utils.discovery.all_functions()[source]

Get a list of all functions from sklearn.

Returns:
functionslist of tuples

List of (name, function), where name is the function name as string and function is the actual function.

Examples

>>> from sklearn.utils.discovery import all_functions
>>> functions = all_functions()
>>> name, function = functions[0]
>>> name
'accuracy_score'