sklearn.utils.validation.check_memory(memory)
[source]
Check that memory
is joblib.Memory-like.
joblib.Memory-like means that memory
can be converted into a sklearn.utils.Memory instance (typically a str denoting the cachedir
) or has the same interface (has a cache
method).
Parameters: |
|
---|---|
Returns: |
|
Raises: |
|
© 2007–2018 The scikit-learn developers
Licensed under the 3-clause BSD License.
http://scikit-learn.org/stable/modules/generated/sklearn.utils.validation.check_memory.html