For the final project, the ultimate goal was to determine whether it was possible to determine food prices, depending on the type of food, year and rainfall that was received that year. Throughout the process, there was a lot of data exploration that was needed to be done, to determine how to model the machine learning technique to solve the problem.
Furthermore, it was important to research how the food prices can be affected by rainfall. For the country of India, further research about the places where crops are grown, the types of food, and its correlation to weather or climate patterns. For example, an abundance of water was crucial to the rice plants, meaning that high rainfall meant lower prices for the market. However, for certain plants, high rainfall did not necessarily mean high returns on crops.
For this project, I used the random forest supervised learning algorithm and Decision trees to solve the regression problem. When the two different technique was applied to the model, it was clear that the decision tree was a better method once the features were cleared out for easier processing.
Originally, the idea for the project was to determine how food prices for each region in India was affected by the rainfall in that district throughout the year. This soon became extremely difficult to manipulate and clean the data. One of the first reasons for this was because the areas of India can be divided into several ways, according to district, state, city and more. With this information, the other data sets had to be matched accordingly based on the region. However more problems arose as the data was not fully available for the same range of years/timeframe.
Although I was not able to fully achieve my goal of predicting the food prices based upon the rainfall of the region, I learned countless data science skills throughout the process. It is my humble regard to honestly say that this project was one of the most interesting project, simply because it did not just require excellent coding skills, but also critical thinking and problem solving to handle, read and understand the figures and data that was given to me.
Research sources: 1. http://www.yourarticlelibrary.com/crops/crop-regions-in-india/74996
2. https://www.mapsofindia.com/top-ten/india-crops/
3. https://www.povertyactionlab.org/evaluation/impact-rainfall-insurance-farmer-behavior-india