Jan-12-2018, 08:07 PM
Hi all,
I have split my data randomly where 2/3 of my data is kept for training while 1/3 is kept for testing. I have to now determine the mean error rate over 150 different random samples from my training data and plot a confusion matrix for one sample.
My code works up to making the predictions over the whole training data but I am not sure how to extract 150 different random samples and plot a confusion matrix for one sample.
Any ideas?
I have split my data randomly where 2/3 of my data is kept for training while 1/3 is kept for testing. I have to now determine the mean error rate over 150 different random samples from my training data and plot a confusion matrix for one sample.
My code works up to making the predictions over the whole training data but I am not sure how to extract 150 different random samples and plot a confusion matrix for one sample.
Any ideas?