get_guided_lda_history {lionfish} | R Documentation |
Get Guided Tour-LDA History
Description
Returns a guided tour with the LDA index to the python' backend. This guided tour is generated with the 'tourr' functions 'save_history' and 'guided_tour'.
Usage
get_guided_lda_history(data, clusters, dimension)
Arguments
data |
the dataset to calculate the projections with |
clusters |
the clusters for the lda to be performed on |
dimension |
1 for a 1d tour or 2 for a 2d tour |
Value
history object containing the projections of the requested tour
Examples
data("flea", package = "tourr")
clusters <- as.numeric(factor(flea[[7]]))
get_guided_lda_history(flea[-7], clusters, 2)
[Package lionfish version 1.0.27 Index]