Continuing on the biopsy dataset.
train
with all the numbers from 1 to 400train
and store it in test.Y
train
and store it in test.X
class
with
the attributes V1
through V9
, use the train
vector for the subset
parameter,
and store it in qda.fit
qda.pred
. Use the qda.fit
model
you created previously
Extract the class
element from qda.pred
(which is a list). Store it in qda.class
.qda.table
qda.acc
Assume that:
MASS
library has been loadedbiopsy
dataset has been loaded and attachedID
column has been dropped