Answer the question
In order to leave comments, you need to log in
How to design a classifier with different data structures for training and testing?
I am writing my classifier on scikit-learn. That is, I inherit sklearn.base.BaseEstimator
. But the data structure on training and on the test is different (the object being classified is a sports match),
sklearn.base.BaseEstimator
?
Answer the question
In order to leave comments, you need to log in
Either do not use in training features that will not be available in the test, or use information from the train a la for team 1, the average win rate is 0.67. But here it’s easy to retrain and run into a situation where the test will have a team that was not in the train
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question