TransWikia.com

Does testing a training dataset guarantee successful results?

Data Science Asked on April 26, 2021

If I test an image that has been previously used to train a classification model, is it guaranteed to classify correctly?

My guess is that since the parameters have been trained with other images as well, there is no guarantee of getting a correct classification, just a high probability.

One Answer

This is correct, there's no guarantee at all, not even a high probability. As usual It depends on the type of model, the data, the number and distribution of the classes.

However there's of course a higher chance that the instance would be correctly classified. That's why one shouldn't use a test set containing training instances to estimate the performance of the model, since there's a high risk the performance would be overestimated (data leakage).

Correct answer by Erwan on April 26, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP