Crop-prediction-using-Machine-Learning
Crop-prediction-using-Machine-Learning copied to clipboard
crop array list according to the predicted values
In the data after one hot encoding the crop columns are sorted in alphabetical order and therefore the prediction array is corresponding to those columns. So updated the crop array list to predict the correct crop name.