MCPcopy
hub / github.com/scikit-learn/scikit-learn / _check_estimator_name

Function _check_estimator_name

sklearn/utils/validation.py:670–676  ·  view source on GitHub ↗
(estimator)

Source from the content-addressed store, hash-verified

668
669
670def _check_estimator_name(estimator):
671 if estimator is not None:
672 if isinstance(estimator, str):
673 return estimator
674 else:
675 return estimator.__class__.__name__
676 return None
677
678
679def _pandas_dtype_needs_early_conversion(pd_dtype):

Callers 3

check_arrayFunction · 0.85
check_X_yFunction · 0.85
_check_yFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…