Skip to content

Commit 47cdd42

Browse files
Update 06-lsa.md
1 parent 9b6d0cc commit 47cdd42

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

_episodes/06-lsa.md

-1
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,6 @@ We don't know *why* they are getting arranged this way, since we don't know what
279279
Let's write a helper to get the strongest words for each topic. This will show the terms with the *highest* and *lowest* association with a topic. In LSA, each topic is a spectra of subject matter, from the kinds of terms on the low end to the kinds of terms on the high end. So, inspecting the *contrast* between these high and low terms (and checking that against our domain knowledge) can help us interpret what our model is identifying.
280280

281281
```python
282-
def show_topics(topic, n):
283282
def show_topics(topic, n):
284283
# Get the feature names (terms) from the vectorizer
285284
terms = vectorizer.get_feature_names_out()

0 commit comments

Comments
 (0)