breastcancer {OneR}R Documentation

Breast Cancer Wisconsin Original Data Set

Description

Dataset containing the original Wisconsin breast cancer data.

Usage

data(breastcancer)

Format

A data frame with 699 instances and 10 attributes. The variables are as follows:

Details

  1. Clump Thickness: 1 - 10

  2. Uniformity of Cell Size: 1 - 10

  3. Uniformity of Cell Shape: 1 - 10

  4. Marginal Adhesion: 1 - 10

  5. Single Epithelial Cell Size: 1 - 10

  6. Bare Nuclei: 1 - 10

  7. Bland Chromatin: 1 - 10

  8. Normal Nucleoli: 1 - 10

  9. Mitoses: 1 - 10

  10. Class: benign, malignant

References

The data were obtained from the UCI machine learning repository, see https://archive.ics.uci.edu/ml/datasets/Breast+Cancer+Wisconsin+(Original)

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)

[Package OneR version 2.2 Index]