Machine learning to predict yield

2 views (last 30 days)
I am wanting to use a combination of numeric and categorical data to predict numeric data using matlab/machine learning. I'm wondering which application would do this. For example for a vineyard, I have weather data - which is the same for the vineyard and am wanting to use this to predict yield for different blocks of fruit. The only input data that I can say is different between these blocks is the soil type of the block. Which application could incorporate both this numeric and categorical data?

Accepted Answer

Kartik Mittal
Kartik Mittal on 24 Aug 2018
Edited: Kartik Mittal on 24 Aug 2018
I think the right approach would be to convert the categorical variable into a numeric one by encoding it in numeric levels and probably it would work better if you normalize your attributes after that. You can refer to material related to dummy coding for categorical variables. After that you can leverage different algorithms in MATLAB's Statistics toolbox for predictive modelling.
  1 Comment
Wendy Cameron
Wendy Cameron on 26 Aug 2018
Thanks very much, I'll follow that up.
Wendy

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!