10000 Merge pull request #69 from nmjakobsen/patch-1 · codingbooks/tidy-text-mining@53571f2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 53571f2

Browse files
authored
Merge pull request juliasilge#69 from nmjakobsen/patch-1
Update 08-nasa-metadata.Rmd
2 parents cbcaecc + d527d57 commit 53571f2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

08-nasa-metadata.Rmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ desc_word_pairs <- nasa_desc %>%
181181
desc_word_pairs
182182
```
183183

184-
These are the pairs of words that occur together most often in descripton fields. "Data" is a very common word in description fields; there is no shortage of data in the datasets at NASA!
184+
These are the pairs of words that occur together most often in description fields. "Data" is a very common word in description fields; there is no shortage of data in the datasets at NASA!
185185

186186
Let's plot networks of these co-occurring words so we can see these relationships better in Figure \@ref(fig:plottitle). We will again use the ggraph package for visualizing our networks.
187187

@@ -453,7 +453,7 @@ lda_gamma <- tidy(desc_lda, matrix = "gamma")
453453
lda_gamma
454454
```
455455

456-
Notice that some of the probabilites visible at the top of the data frame are low and some are higher. Our model has assigned a probability to each description belonging to each of the topics we constructed from the sets of words. How are the probabilities distributed? Let's visualize them (Figure \@ref(fig:plotgammaall)).
456+
Notice that some of the probabilities visible at the top of the data frame are low and some are higher. Our model has assigned a probability to each description belonging to each of the topics we constructed from the sets of words. How are the probabilities distributed? Let's visualize them (Figure \@ref(fig:plotgammaall)).
457457

458458
```{r plotgammaall, dependson = "lda_gamma", fig.width=7, fig.height=5, fig.cap="Probability distribution in topic modeling of NASA metadata description field texts"}
459459
ggplot(lda_gamma, aes(gamma)) +

0 commit comments

Comments
 (0)
0