library(ggtern) library(entropy) # To work out the appropriate coordinates. library(caret) # To build the classifiers. library(mlbench) # Many databases for ML tasks
The inventory of databases to be explored:
# the inventory of databases you can access #library(datasets) name <- c("Ionosphere", "iris", "Glass") # classVar <- c(35, 5, 10) # ordinal of the class attribute className <- c("Class","Species", "Type") # Name of class attribute K <- c(2, 3, 7) # No. of classes datasets <- data.frame(name,classVar,className,K) # To select a dataset by name evalDataset <- function(dsName){ dsName <- as.character(dsName) switch(dsName, "iris" = {data(iris); iris}, "Ionosphere" = {data(Ionosphere); Ionosphere}, "Glass"={data(Glass); Glass}) } datasets
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.