diff --git a/nbs/2. Topic Modeling with NMF and SVD.ipynb b/nbs/2. Topic Modeling with NMF and SVD.ipynb index 9b09ca1..1c02a40 100644 --- a/nbs/2. Topic Modeling with NMF and SVD.ipynb +++ b/nbs/2. Topic Modeling with NMF and SVD.ipynb @@ -348,7 +348,7 @@ }, "outputs": [], "source": [ - "vocab = np.array(vectorizer.get_feature_names())" + "vocab = np.array(vectorizer.get_feature_names_out())" ] }, { diff --git a/nbs/5. Health Outcomes with Linear Regression.ipynb b/nbs/5. Health Outcomes with Linear Regression.ipynb index bbbf305..a58e45b 100755 --- a/nbs/5. Health Outcomes with Linear Regression.ipynb +++ b/nbs/5. Health Outcomes with Linear Regression.ipynb @@ -285,7 +285,7 @@ } ], "source": [ - "', '.join(poly.get_feature_names(feature_names))" + "', '.join(poly.get_feature_names_out(feature_names))" ] }, {