How to do feature engineering with Catagorical Data

Hi Experts,

I have a data set which has all the categorical variables as below

Name of the crop, Stage of Crop .Weather Temperature Season Pest Stage Pest

what feature engineering should i use to achieve better accuracy.

insights much appreciated.


Do you have to predict the yield of the crop…?

If yes, then you can use one hot encode and add weight to the later stages of the crop as the yield would be the consecutive of the latest stage of the crop.

Could you also be a bit more informative about the last 2 columns, so that I can understand the features in a better way.

Correct me if I have gone wrong anywhere.

Hi Spandana,

we need to predict pesticide based on other features
what do you mean by adding weights can u please elaborate or point me to some good examples.


© Copyright 2013-2019 Analytics Vidhya