R/data.R

#' Chess Dataset
#'
#' Bidimensional binary dataset to be used as a toy example.
#'
#' @format A data.frame with 2000 rows and 3 variables:
#' \describe{
#'   \item{x1}{randomly generated numeric feature}
#'   \item{x2}{randomly generated numeric feature}
#'   \item{target}{factor array with class labels}
#' }
#' 
#' @family Dataset
"chess"

#' Spirals Dataset
#'
#' Bidimensional binary dataset to be used as a toy example.
#'
#' @format A data.frame with 2000 rows and 3 variables:
#' \describe{
#'   \item{x1}{randomly generated numeric feature}
#'   \item{x2}{randomly generated numeric feature}
#'   \item{target}{factor array with class labels}
#' }
#' 
#' @family Dataset
"spirals"

#' Multi Spirals Dataset
#'
#' Bidimensional multiclass dataset to be used as a toy example.
#'
#' @format A data.frame with 2000 rows and 3 variables:
#' \describe{
#'   \item{x1}{randomly generated numeric feature}
#'   \item{x2}{randomly generated numeric feature}
#'   \item{target}{factor array with class labels in 4 levels}
#' }
#' 
#' @family Dataset
"multi_spirals"

#' Covertype Data
#'
#' Sample of size 50k from the multiclass dataset Covertype hosted in the UCI repository.
#'
#' @format A data.frame with 50000 rows and 55 variables:
#' \describe{
#'   \item{V1...V54}{binary features}
#'   \item{Target}{character array with class labels in 7 categories}
#' }
#' 
#' @family Dataset
"covertype"
davpinto/fastknn documentation built on May 15, 2019, 1:18 a.m.