Using machine learning techniques in smart farming is gaining momentum worldwide. The main goal is to achieve better production by predicting right crop considering present conditions of weather and soil. The climatic changes that are being uncertain results in reduced yield when the farmers follow traditional way of growing crops. The features of soil and conditions of the weather change time to time and this criteria when concentrated leads to precision farming. The study implements machine learning techniques to predict the right crop for cultivation, expecting better yield, taking into account the changes in the weather and soil every time, as and when the farmer aims for growing a fresh crop.