This repo contains R
codes for reproducing results and more experiments from
Yunlong Jiao, Jean-Philippe Vert. The Kendall and Mallows Kernels for Permutations. 2016. hal-01279273
setwd("[somepath]/kendallkernel_demo/APA/")
install.packages(c("rmarkdown", "combinat", "caret", "mvtnorm", "reshape2", "ggplot2", "gplots", "flexclust", "Rankcluster", "devtools"))
devtools::install_github("YunlongJiao/kernrank")
rmarkdown::render("analysis.Rmd")
setwd("[somepath]/kendallkernel_demo/eurovision/")
install.packages(c("rmarkdown", "combinat", "reshape2", "ggplot2", "gplots", "kernlab", "Rankcluster", "cluster", "devtools"))
devtools::install_github("YunlongJiao/kernrank")
rmarkdown::render("analysis.Rmd")
setwd("[somepath]/kendallkernel_demo/geneexpr/")
install.packages(c("rmarkdown", "kernlab", "pcaPP", "caret"))
system("R CMD SHLIB src/utiles.c", intern = TRUE)
system("R CMD SHLIB src/tsp.c", intern = TRUE)
rmarkdown::render("analysis.Rmd")
- Some implementations depend on
parallel::mclapply
which may be inconvenient for MS Windows users. See here for an easy solution, or manually revert allmclapply
tolapply
.