Skip to content

Commit

Permalink
update with more pngs used in blog post
Browse files Browse the repository at this point in the history
  • Loading branch information
jwijffels committed Nov 9, 2016
1 parent 203704d commit 2ce29bb
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions 02_visualise_ceta_treaty.R
Expand Up @@ -29,6 +29,10 @@ ceta_topics <- LDA(x = dtm[, topterms], k = 5, method = "VEM",
control = list(alpha = 0.1, estimate.alpha = TRUE, seed = as.integer(10:1),
verbose = FALSE, nstart = 10, save = 0, best = TRUE))
ceta_topic_terms <- predict(ceta_topics, type = "terms", min_posterior = 0.01)
ceta_topic_terms$topic3
scores <- predict(ceta_topics, newdata = dtm[, topterms], type = "topics")
table(scores$topic)


######################################################################################
## Visualise
Expand All @@ -42,8 +46,6 @@ x <- ceta$ceta_nouns[, list(n = .N), by = list(word.lemma)]
x <- x[order(x$n, decreasing = TRUE), ]
x <- as.data.frame(x)



library(wordcloud)
wordcloud(words = x$word.lemma, freq = x$n, max.words = 150, random.order = FALSE,
colors = brewer.pal(8, "Dark2"))
Expand Down
Binary file added article_snapshot.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ceta_networkvis.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ceta_reorganisation.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ceta_screenshot.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added ceta_wordclouds.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2ce29bb

Please sign in to comment.