Skip to content

Commit

Permalink
Update scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
cforgaci committed Mar 19, 2024
1 parent 418f8fc commit 9c0541b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions script.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -334,9 +334,9 @@ Now you are ready to run the document on your own data. You do that as follows:

5. Run the code chunks from top to bottom (the order matters). Look at the overall word cloud and spot words that do not add meaning. Add those to the custom stop words and rerun the code chunks. Iterate until the overall wordcloud only shows meaningful words.

5. Tweak the topic model parameters by changing the value of `k` (number of topics) on line 222 and `n_words` (number of words to be included in pseudo-naming the topics) on line 233.
6. Tweak the topic model parameters by changing the value of `k` (number of topics) on line 222 and `n_words` (number of words to be included in pseudo-naming the topics) on line 233.

6. Paste the newly generated prompt into ChatGPT. Does the answer make sense? If needed continue the conversation with ChatGPT to refine its answers. Rename the topic names on lines 294-298 with the answers you got from ChatGPT.
7. Paste the newly generated prompt into ChatGPT. Does the answer make sense? If needed continue the conversation with ChatGPT to refine its answers. Rename the topic names on lines 294-298 with the answers you got from ChatGPT.

Note that every time you make a change, you need to run the code chunks in this document from top to bottom to see the updated results. When you are satisfied with the results, render the document to see the final html output.

2 changes: 1 addition & 1 deletion script_socialmedia.qmd
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ include-in-header:
---

::: callout-note
If you are reading the source document `script_socialmedia.qmd` and want to see a rendered version in your browser, click on the Render button above this window.
In this workshop, we will work in a computational notebook, an environment that combines narrative, executable code and output in one place. The document you are reading is a Quarto document that combines [Markdown](https://www.markdowntutorial.com/), a markup language with a simple syntax for text formatting, with code chunks written in the R programming language. If you are reading the source document `script_socialmedia.qmd` and want to see a rendered version in your browser, click on the Render button above this window.
:::

## Setup
Expand Down

0 comments on commit 9c0541b

Please sign in to comment.