practical-pytorch
practical-pytorch copied to clipboard
Train and Test Split
In the Char RNN classification I had some questions:
- Why have not split the dataset into train and test/validation set to check the performance ?
- How can we add 'accuracy' as a metric to evaluate model performance ?
I agree with this. Currently he tests on the training data, and draws a misleading confusion matrix. He trains on 100K names with repetitions, and tests against 10K from the same population, yet again with repetition. You can't infer accuracy from this. You need to split to train / test and evaluate on the test after every epoch. Please see my notebook.