knitr::opts_chunk$set(echo = TRUE)
library(caret) library(proxy) tag <- read.csv("data/tag_data.csv", row.names = 1) tag <- as.matrix(tag) ## Select only models for regression regModels <- tag[tag[,"Classification"] == 1,] all <- 1:nrow(regModels) ## Seed the analysis with the SVM model start <- grep("(gbm)", rownames(regModels), fixed = TRUE) pool <- all[all != start] ## Select 4 model models by maximizing the Jaccard ## dissimilarity between sets of models nextMods <- maxDissim(regModels[start,,drop = FALSE], regModels[pool, ], method = "Jaccard", n = 20) rownames(regModels)[c(start, nextMods)]
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.