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
Clump Thickness: 1 - 10
Uniformity of Cell Size: 1 - 10
Uniformity of Cell Shape: 1 - 10
Marginal Adhesion: 1 - 10
Single Epithelial Cell Size: 1 - 10
Bare Nuclei: 1 - 10
Bland Chromatin: 1 - 10
Normal Nucleoli: 1 - 10
Mitoses: 1 - 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]