Clear Filters
Clear Filters

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

2 views (last 30 days)
what could be the reason to get negative predicted output for new dataset?

Answers (1)

Image Analyst
Image Analyst on 17 Dec 2023
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:

Tags

Community Treasure Hunt

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

Start Hunting!