R/OneR_data.R

#' Breast Cancer Wisconsin Original Data Set
#'
#' Dataset containing the original Wisconsin breast cancer data.
#'
#' \enumerate{
#'   \item Clump Thickness: 1 - 10
#'   \item Uniformity of Cell Size: 1 - 10
#'   \item Uniformity of Cell Shape: 1 - 10
#'   \item Marginal Adhesion: 1 - 10
#'   \item Single Epithelial Cell Size: 1 - 10
#'   \item Bare Nuclei: 1 - 10
#'   \item Bland Chromatin: 1 - 10
#'   \item Normal Nucleoli: 1 - 10
#'   \item Mitoses: 1 - 10
#'   \item Class: benign, malignant
#' }
#'
#' @name breastcancer
#' @docType data
#' @references The data were obtained from the UCI machine learning repository, see \url{https://archive.ics.uci.edu/ml/datasets/Breast+Cancer+Wisconsin+(Original)}
#' @keywords data datasets Wisconsin breast cancer
#' @usage data(breastcancer)
#' @format A data frame with 699 instances and 10 attributes. The variables are as follows:
#' @examples
#' data(breastcancer)
#' data <- optbin(breastcancer, method = "infogain")
#' model <- OneR(data, verbose = TRUE)
#' summary(model)
#' plot(model)
#' prediction <- predict(model, data)
#' eval_model(prediction, data)
NULL

Try the OneR package in your browser

Any scripts or data that you put into this service are public.

OneR documentation built on May 2, 2019, 9:33 a.m.