March 2019
Beginner to intermediate
448 pages
13h 14m
English
This dataset has 8,124 samples of mushrooms that can be either poisonous or edible; the objective is to predict which ones are edible or poisonous based on 22 categorical features that relate to the physical characteristics of each mushroom.
We will show different ways of partitioning this dataset using several caret tools:
library(caret)mushroom_data = read.csv("https://archive.ics.uci.edu/ml/machine-learning-databases/mushroom/agaricus-lepiota.data",head=FALSE)colnames(mushroom_data) = c("edible","cap-shape", "cap-surface", "cap-color","bruises","odor", "gill-attachment","gill-spacing","gill-size","gill-color","stalk-shape", ...
Read now
Unlock full access