what could be the reason to get negative predicted output for new dataset?

2 次查看(过去 30 天)
what could be the reason to get negative predicted output for new dataset?

回答(1 个)

Image Analyst
Image Analyst 2023-12-17
Because that's what the model thinks the value should be. If you don't think it's right then make sure your test data is in the range of data you used to train your model. You may be passing in data that is outside the range of data you used to train the model.
If you have any more questions, then attach your data and code to read it in with the paperclip icon after you read this:

类别

Help CenterFile Exchange 中查找有关 Get Started with Statistics and Machine Learning Toolbox 的更多信息

标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by