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 lda.fit
lda.pred
. Use the lda.fit
model
you created previously.class
element from lda.pred
(which is a list). Store it in lda.class
.lda.table
lda.acc
Assume that:
MASS
library has been loadedbiopsy
dataset has been loaded and attached