summarizeHDBSCAN | R Documentation |
Summarize HDBSCAN data for a model
summarizeHDBSCAN( lemma, modelname, input_dir, output_dir, minPts = 8, includePlot = FALSE, coords_name = ".tsne.30" )
lemma |
Name of the lemma, for filenames |
modelname |
Name of the model, for coordinates and filename |
input_dir |
Directory where the distance matrix is stored |
output_dir |
Directory where coordinates are stored. This directory must contain:
|
minPts |
Minimum points for |
includePlot |
Whether too include the plot (requires |
coords_name |
The code in the coordinate files indicating the type of dimensionality reduction performed, for filenames |
list with at least two items:
coords: a tibble with one row per token, the coordinates in the pertinent file, and information
from extractHDBSCAN
as well as the variables
file.
cws: a tibble with one row per context word and cluster, output
from cwsForClusters
, combined with coordinates from the relevant file.
hplot: If includePlot
, the HDBSCAN plot.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.