Set the directory to be used for temporary file storage.
This directory is used by joblib to store memmapped arrays,
which reduces memory requirements and speeds up parallel
computation.
- Parameters:
- cache_dir
str
or None
Directory to use for temporary file storage. None disables
temporary file storage.