check_memory
- sklearn.utils.validation.check_memory(memory)
Check that
memoryis joblib.Memory-like.joblib.Memory-like means that
memorycan be converted into a joblib.Memory instance (typically a str denoting thelocation) or has the same interface (has acachemethod).- Parameters: