Sometimes, it is important to know if your test set contains the same categories in the train set. If you want to check the category mismatch between the train and test set, use Deepchecks’s CategoryMismatchTrainTest
.
In the example above, the result shows that there are 2 new categories in the test set. They are ‘d’ and ‘e’.