Question: Analyze the agaricus dataset using extreme gradient boosting. This dataset is supplied with the xgboost package and is already divided into training and test subsets.
Analyze the agaricus dataset using extreme gradient boosting. This dataset is supplied
with the xgboost package and is already divided into training and test subsets. The
training and test data is in sparse matrix format class dgCMatrix with slots while the
labels ie responses are numeric vectors. You will have to decide whether to use this
data in sparse or dense format when you call xgboost. Label is binary and represents
whether a mushroom is safe to eat, or not, given characteristics of the mushrooms ie
the predictors Tune your model in the training phase to yield best performance. Then
test your trained model using the test data. Show the predictive performance using tabular
and graphical representations. points
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
