-
Notifications
You must be signed in to change notification settings - Fork 131
/
NEWS
58 lines (30 loc) · 3.23 KB
/
NEWS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
CHANGES IN LDAvis VERSION 0.3.5
NEW FEATURES
Click events (on topics and terms) are now made available to the Shiny input object (closes [[#45]](https://github.com/cpsievert/LDAvis/issues/45)). When a topic is clicked on, the topic number is made available to Shiny server at input$OUTPUTID_topic_click, where OUTPUTID is the outputId of the LDAvis plot. When a term is clicked on, the term is available at input$OUTPUTID_term_click. See https://github.com/cpsievert/LDAvis/tree/master/inst/examples/shiny for an example Shiny app.
BUG FIXES
The jensen-shannon divergence calculated in `jsPCA()` (i.e., the default for the `mds.method` argument in `createJSON`) now does division in log space which is more precies and reduces the probability of underflow (see #80, thanks @dpmccable). It also now checks for 0 values and returns 0 in that case (instead of producing a NaN result, see #56).
If rows of theta/phi don't all sum to 1, a warning is now thrown instead of an error (see #68).
CHANGES IN LDAvis VERSION 0.3.4
A new argument, encoding, was added to serVis(). This sets the encoding which will be used to write the JSON file. This may be set to `UTF-8` to fix an issue where, when running on windows, the JSON output would be encoded in ANSI despite the R data beeing encoded in UTF-8. This should also fix #50.
CHANGES IN LDAvis VERSION 0.3.3
A new argument, reorder.topics, was added to createJSON(). For details, see #51
It is possible to use different language than english in the final visualization (polish so far). See [[#60]](https://github.com/cpsievert/LDAvis/issues/60).
CHANGES IN LDAvis VERSION 0.3.2
BUG FIX
In some cases, the widths of the red topic-term bars did not decrease (as they should have) from term \#1 to term \#R under the relevance ranking with $\lambda = 1$. In other words, when $\lambda = 1$, there were topics in which a narrow red bar was displayed above a wider red bar, which should never happen. The issue had to do with the way topic-term bar widths are computed, and is discussed in detail in #32.
In the end, we implemented a quick fix in which we compute term frequencies implicitly, rather than using those supplied in the createJSON() function. The upside is that the red bar widths are now explicitly controlled to produce the correct visualization. The downside is that the blue bar widths do not necessarily match the user-supplied term frequencies exactly -- in fact, the new version of LDAvis ignores the user-supplied term frequencies entirely. In a few experiments, the differences are small, and decrease (as a proportion of the true term frequencies) as the true term frequencies increase. Thanks to @bmabey for leading us to this bug.
CHANGES IN LDAvis VERSION 0.3.1
BUG FIX
- See #33
CHANGES IN LDAvis VERSION 0.3
NEW FEATURES
- LDAvis output can now be integrated in shiny apps and interactive rmarkdown documents using the functions renderVis & visOutput.
CHANGES IN LDAvis VERSION 0.2
MAJOR CHANGES
- The function runShiny was deprecated. Please use createJSON to create visualizations instead.
CHANGES IN LDAvis VERSION 0.1
NEW FEATURES
- first version of LDAvis
MISC
- in this NEWS file, #n means the issue number on GitHub, e.g. #1 is
https://github.com/cpsievert/pitchRx/issues/1