W3cubDocs

/scikit-learn

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'

© 2007–2025 The scikit-learn developers
Licensed under the 3-clause BSD License.
https://scikit-learn.org/1.6/modules/generated/sklearn.utils.discovery.all_functions.html