Skip to content

Commit 6dd6ad4

Browse files
Update 06-lsa.md
1 parent 3260bb6 commit 6dd6ad4

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

episodes/06-lsa.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ LSA requires two steps- first we must create a TF-IDF matrix, which we have alre
6767
Next, we will perform dimensional reduction using a technique called SVD.
6868

6969
### Worked Example: LSA
70-
In case you are starting from a fresh notebook, you will need to (1), mount Google drive (2) add the helper code to your path, and (3) load the data.csv file.
70+
In case you are starting from a fresh notebook, you will need to (1), mount Google drive (2) add the helper code to your path, (3) load the data.csv file, and (4) pip install parse which is used in the helper function code.
7171

7272
```python
7373
# Run this cell to mount your Google Drive.
@@ -89,6 +89,10 @@ data = read_csv("/content/drive/My Drive/Colab Notebooks/text-analysis/data/data
8989

9090
```
9191

92+
```python
93+
!pip install pathlib parse # parse is used by helper functions
94+
```
95+
9296
Mathematically, these "latent semantic" dimensions are derived from our TF-IDF matrix, so let's begin there. From the previous lesson:
9397

9498
```python

0 commit comments

Comments
 (0)