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 nb.fit
nb.pred
. Use the nb.fit
model
you created previouslynb.table
nb.acc
Assume that:
e1071
and MASS
libraries have been loadedbiopsy
dataset has been loaded and attachedID
column has been dropped