Knn based Crop and Fertilizer Prediction
India has always been active in agriculture, in fact even in this age of industrialization agriculture and agriculturebased industries continue to be a main source of income for a large percentage of the population. Machine learning and data mining have become, in the present day, are very important mediums when it comes to research in the crop yielding domain. Many a times we come across news on the paper about farmers committing suicide because of crop failures and increase in loans. In preventing such situations, crop yield prediction software can play a very important role. This research is an attempt in proposing a method to predict the success of crop for a particular area by using data on amounts and ratios of different components of soil like nitrogen, potassium, phosphorus and environmental statistics on temperature and weather. Various machine learning algorithms are used to get an accurate result. KNN is used for classification and regression prediction problem. It also attempts in providing a precise output on what fertilizers can be used to better the yield. Through this, therefore, farmers will also be able to predict their profits and final revenues.