Can the number of Predictors be different for Train and Test data?
古いコメントを表示
Can my train data have 6 predictors while test data have only 4?
The 4 predictors in my test data are the same as in my train data, just that 2 extra predictors of the train might not be present in my test data.
It's basic question, but I'm a bit confused. Any suggestion would be helpful thank you.
採用された回答
その他の回答 (1 件)
Greg Heath
2019 年 7 月 18 日
0 投票
Of course not. The ultimate purpose of training is to create a model that works well on non-training data.
Thank you for formally accepting my answer
Greg
カテゴリ
ヘルプ センター および File Exchange で AI for Signals についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!