From 12285107ad9b8aee5da46faf619fe03d8571fcbd Mon Sep 17 00:00:00 2001 From: koyachi Date: Thu, 20 Oct 2022 06:02:45 +0900 Subject: [PATCH] fix Memory parametr to location from cachedir https://github.com/amueller/introduction_to_ml_with_python/issues/162#issuecomment-1264326158 --- mglearn/plot_nmf.py | 2 +- mglearn/plot_pca.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mglearn/plot_nmf.py b/mglearn/plot_nmf.py index 3d1961d..dbea642 100644 --- a/mglearn/plot_nmf.py +++ b/mglearn/plot_nmf.py @@ -4,7 +4,7 @@ from joblib import Memory -memory = Memory(cachedir="cache") +memory = Memory(location="cache") def plot_nmf_illustration(): diff --git a/mglearn/plot_pca.py b/mglearn/plot_pca.py index 099b4aa..25ce634 100644 --- a/mglearn/plot_pca.py +++ b/mglearn/plot_pca.py @@ -4,7 +4,7 @@ from joblib import Memory -memory = Memory(cachedir="cache") +memory = Memory(location="cache") def plot_pca_illustration():