Description Usage Arguments Value References Examples
Can & Ozkarahan (1990) formula for approximating the number of clusters for a text matrix: (m * n)/t where m and n are the dimensions of the matrix and t is the length of the non-zero elements in matrix A.
1 2 3 4 5 6 7 |
x |
A matrix. |
verbose |
logical. If |
Returns an integer.
Can, F., Ozkarahan, E. A. (1990). Concepts and effectiveness of
the cover-coefficient-based clustering methodology for text databases.
ACM Transactions on Database Systems 15 (4): 483. doi:10.1145/99935.99938.
1 2 3 4 5 6 | library(gofastr)
library(dplyr)
presidential_debates_2012 %>%
with(q_dtm(dialogue)) %>%
approx_k()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.