Description Usage Arguments Details Value Examples
This function does these things...
1 | get_clusters(data, filenames, algorithm = "adaptive", N = 2)
|
filenames |
Vector of Character Vector |
algorithm |
Character Vector. Defaults to c( 'adaptive' ) |
N |
Numeric Vector. Number of clusters (ignored for adaptive; otherwise defaults to 2) |
features_to_cluster |
Numeric Vector |
DETAILS
Returns a list of cluster IDs and cluster exemplar filenames
1 2 3 4 5 | img_path <- '/Users/Karl/Dropbox/Projects/Video-Captioning/pipelines/box2/'
image_filenames <- dir( path=img_path )
clusters <- get_clusters( data = hogs[[2]][[1]]$hog, filenames = image_filenames )
clusters$IDs
clusters$exemplars
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.