alien.train {mltools} | R Documentation |
Alien training dataset
Description
A dataset describing features of living beings and whether or not they are an alien
Usage
alien.train
Format
A data.table with 8 rows and 6 variables:
- SkinColor
Skin color of the individual
- IQScore
IQ score of the individual
- Cat1
Categorical descriptor
- Cat2
Categorical descriptor
- Cat3
Categorical descriptor
- IsAlien
Is this being an alien?
Details
library(data.table)
alien.train <- data.table::data.table( SkinColor=c("green", "white", "brown", "white", "blue", "white", "green", "white"), IQScore=c(300, 95, 105, 250, 115, 85, 130, 115), Cat1=c("type1", "type1", "type2", "type4", "type2", "type4", "type1", "type1"), Cat2=c("type1", "type2", "type6", "type5", "type7", "type5", "type2", "type1"), Cat3=c("type4", "type4", "type11", "type2", "type11", "type2", "type4", "type4"), IsAlien=c(TRUE, FALSE, FALSE, TRUE, TRUE, FALSE, TRUE, FALSE) )
save(alien.train, file="data/alien_train.rda")