Smart Agriculture for Crop Productivity using Machine Learning

DOI : 10.17577/IJERTV12IS070058

Download Full-Text PDF Cite this Publication

Text Only Version

Smart Agriculture for Crop Productivity using Machine Learning

Vasanth R

Computer Science and Engineering Sri Sairam Institute of Technology, Chennai

Manivasagam M Computer Science and Engineering Sri Sairam Institute of Technology,

Chennai

MS. Aswini V Assistant Professor

Computer Science and Engineering

Sri Sairam Institute of Technology,Chennai

Santhosh Kumar P Computer Science and Engineering Sri Sairam Institute of Technology

Chennai

  1. ABSTRACT

    India is an Agriculture based economy whose most of the GDP comes from farming. The motivation of this project comes from the increasing suicide rates in farmers which May be due to low harvest in crops. Climate and other environmental changes have become a major threat in the agriculture field. Machine learning is an essential approach for achieving practical and effective solutions for this problem. Predicting yield of the crop from historical available data soil, rainfall parameters and historic crop yield. We achieved this using the machine learning algorithm.

    Keywordscrop prediction, agriculture, machine learning.

  2. INTRODUCTION

    Every person's life depends heavily on agriculture. It is crucial for survival in the first and most important way. For decades, agriculture has been the most well- known profession in India. The expansion and development of India's economy have been significantly influenced by

    agriculture. Speaking of India, agriculture is the foundation of the country's economy, thus switching from conventional farming methods to the greatest and most innovative ones will always improve the situation. In India, the rural economy is approximately 70% dependent on agriculture. However, over a ten-year period, between 1.4 and

    1.8 farmers in India committed suicide. Crop damage brought on by improper crop rotation causes farmers to suffer large losses. The farmer's intuition and other unimportant considerations, such as the need for quick money, an exaggerated belief in the land's ability to produce yields, and a lack of vital market knowledge, frequently override his or her decisions regarding which cropto plant.

    Crop forecast used to be based on yield experiences from the previous year, but today's variable weather, soil conditions, etc. have a significant impact on the yield. To boost productivity, it is also necessary to identify plant illnesses as soon as possible. By suggesting a good crop that may be produced in a given area and at a specific time for a higher yield, machine learning algorithms can be a huge assistance in theagriculture business. For sustainable

    intensification and efficient resource use, crop yield prediction is a crucial but challenging topic. Every farmer is curious about the yield that will be produced and whether it will meet their expectations.

  3. LITERATURE REVIEW

    Different studies considered various ways to predict agricultural Yield through machine learning techniques to enhance crop yield. They have used multiple approaches to recommend and predict crops and their Yield accordingly. This section will discuss the procedures considering their limitations and strengths to find suitable methodologies to conduct further study.

    In [1], the dataset included a number of characteristics that were taken into account to forecast the production of agricultural products, such as rainfall, temperature, and season. The accuracy attained with this method was greaterthan 75%.

    The Sorghum Yield Prediction [2] focuses on a single crop production of sorghum using linear regression and a convolution neural network (CNN). The detection of the sorghum yield has an accuracy of 74.5%. The weight estimation has an average precision of 99%. Additionally, because the dataset originated in America, it might not implement the model of Indian crop productivity. The Paddy Yield predictor [3] discusses the necessity to extend the implementation to non- paddy crops as well. By taking into account extra factors such the chemical presence of phosphorus, nitrogen, and zinc in the soil, the work can be improved to anticipate the better association rule.

    When used for more crops in more locations, it

    might have a more diversified applicability.

    In [4], The K-nearest neighbors (KNN) algorithm, a machine learning technique, uses real-time values to advise the crop that would grow the best in a certain field. Crop needs are stored in a standardised dataset. Real-time readings are taken by sensors, and the results are relayed to a cloud server. The system recommendsthe field's ideal crop.

    In [5], utilises the ARIMA model to estimate the crop-suggesting pH, moisture, and temperature variables. In this, input values from the database are used to predict values for a future period of time. This is applied to crop forecasting. After that, the K means algorithm is applied to the

    projected categorization values, resulting in the creation of k clusters of crops. The KNN algorithm can forecast N appropriate crops.

    In [6], employs an Internet of Things (IoT)- based zonal irrigation system to control irrigation by keeping track of soil moisture. In agriculture, managing irrigation effectively is a challenge. Here, the goal is to optimise the growing environment while cutting down on energy and water waste. The system sends an ON/OFF instruction to the user after comparing the sensor's values with the matching value in the database.

    In [7], Real-time sampling of soil parameters is determined using a well-liked machine learning approach called Modified Support Vector Regression. It has a mobile IoT device (NodeMCU), sensors that measure soil moisture and pH, an agricultural cloud for data storage, an analysis tool that uses a modified Support Vector Machine algorithm to process the crop type, and a simple web interface called the Agri user interface. (AUI). With the help of the proposed soil attributes, the farmer will be able to choose the best crop to plant.

    In [8] use machine learning algorithms like the

    Kohonen Self Organizing Map and the Back Propagation Network. The technology evaluates the soil's quality to predict the crop. The dataset is trained to distinguish between organic, inorganic, and real estate soil types. To reduce error in the result, the accuracy provided by various network learning algorithms is compared.

    In [9], To test the model, a sample of two consecutive years was taken. They used k-nearest neighbor and M5-Prime methods. Thus, it acquired the highest average correlation factors, the lowest average MAE (Mean Absolute Error), the lowest average RMSE (Root Mean Squared Error), and the lowest average RRSE (Root Relative Squared Error Loss Error). The most crop yield models with the fewest errors were produced by the M5-Prime. In the end, it was determined that this was a very suitable implementation for large crop yield prediction in the planning and estimation of agricultural yield sectors. The model's training dataset, however, was somewhat limited. The number of records was restricted to 6000, which could lead to an

    over-fitting of the model when employing ML techniques.

    In [10], It is described how neural networks can be strengthened for in-depth learning to achieve a precise aesthetic state that significantly exceeds even human ability. A thorough understanding enables trainees to clearly distinguish between tasks and the text, image, or audio documents that are provided. The study on the learning depth of neural network architectures which are employed in many systems to have accurateclassification and automatic feature extraction is presented in the paper.

  4. EXISTING SYSTEM

    The Temperature sensor, PH sensor, soil moisture sensors are used for the crop prediction technique. The Temperature sensor used for sense the temperature of soil around 10 meters. The pH sensor used for sensing the data from surrounding area to detect the soil alkaline or acidic which will help for the sustainability of crop. The datas of both Temperature sensor and PH sensor are transferred by Raspberry Pi through internet. Data will be processed and provide the predicted data. Data will be processed and provide the predicted data. Data will be processed and provide the predicted data. Data will be processed and provide the predicted data. If the Moisture level of soil is lower than the crop requirement then the motors are switched ON until the moisture level of soil reaches the required moisture level.

    • TEMPERATURE SENSOR

      The temperature sensor(DHT11) senses

      the temperature and humidity of the surrounding area. DHT11 has four pins VCC, DATA, NC, and GND.

    • SOIL MOISTURE SENSOR

      The soil moisture sensor is connected to the amplifier which converts the low input into high input. The Amplifier has four pins VCC, GND, A0, and D0.

    • pH SENSOR

    The pH sensor module interfaced to Raspberry Pi using MCP3008.The pH sensor module has three pins VCC, GND and OUT.

    PROPOSED SYSTEM ARCHICTECTURE

    In this proposed system, there are two categories ofuser logins: farmer logins and consumer logins.

    • Farmer

      A model can be trained to recommend crops based on the inputs of some factors that are present in agricultural land, like potassium, phosphorus, nitrogen, temperature, humidity, pH, and rainfall. The yield of the crop can be predicted by determining the surface area of agricultural land.

    • Consumer

    Recommending the farmer who has the stack of products needed by the consumer by usinga database management system.

    The model for recommending crops can be trained by using a random forest algorithm with anaccuracy of 99.3%.

    Random Forest is a classifier that contains a number of decision trees on various subsets of

    the given dataset and takes the average to improve thepredictive accuracy of that dataset.

    The random forest algorithm has a greater accuracy score than other algorithms.

  5. RESULT

    .

    The below figure is flask application to get the input of7 parameters to predict the suitable crop for that land.

    The below figure indicates that Rice is suitable crop for that land. It can be recommended based on the 7 parameters which are getting from the farmer.

    The below figure indicates that the surface area of theagricultural land is getting from the user.

    The below figure shows the amount of output from the cropin Kilogram.

  6. CONCLUSION

    If the farmer not aware of which crop is suitable for his land, then our project is used to recommend him the suitable crop for his land by getting the inputs of 7 parameters like Nitrogen, Phosphorus, Potassium, Temperature, rainfall, PH, Humidity. The farmer can also predict the amount of output of the crop. By this project the consumer and farmers interacts each other, it leads to consumers can buy the products directly from the farmer.

  7. REFERENCES

[1] Champaneri, Mayank & Chachpara, Darpan & Chandvidkar,Chaitanya

& Rathod, Mansing. CROP YIELD PREDICTION USING

MACHINE LEARNING. International Journal of Science and Research (IJSR), Vol.9 Issue 4, April 2020.

[2] J. G. N. Zannou and V. R. Houndji, Sorghum Yield Prediction using Machine Learning, 3rd International Conference on Bio-engineering

for Smart

Technologies(BioSMART), Paris, France, 2019, pp. 1-4,2019.

[3] Rao P.R., Gowda S.P., Prathibha R.J., Paddy Yield Predictor Using Temperature, Rainfall, Soil pH, and Nitrogen. In: Sridhar V., Padma M., Rao K. in Emerging Research in Electronics, Computer Science and Technology. Lecture Notes in Electrical Engineering, vol 545. Springer, Singapore, 2019.

[4] T Raghav Kumar, Bhagavatula Aiswarya, Aashish Suresh, Drisht i Jain, Nat esh Balaji, Varshini Sankaran, Smart Management of Crop Cultivation using IOT and Machine Learning, International Research Journal of Engineering and Technology (IRJET) Nov 2018, pp. 845- 850.

[5] Shridhar Mhaiskar, Chinmay Patil, Piyush Wadhai, Aniket Patil, Vaishali Deshmukh, A Survey on Predicting Suitable Crops for Cultivation Using IoT, International Journal of Innovative Research in Computer and Communication Engineering January 2017, pp. 318- 323.

[6] Hamza Benyezza, Mounir Bouhedda, Samia Rebouh, Zoning irrigation smart system based on fuzzy control technology and IoT for water and energy saving, Journal of Cleaner Production April 2021.

[7] Radhika, Narendiran, Kind of Crops and Small Plants Prediction using IoT with Machine Learning, International Journal of Computer Mathematical Sciences April 2018.

[8] Rushika Ghadge, Juilee Kulkarni, Pooja More, Sachee Nene, Priya R L, Prediction of Crop Yield using Machine Learning, International Research Journal of Engineering and Technology (IRJET) Feb 2018.

[9] Gonz´alez-Sanchez, Alberto & Frausto- Solis, Juan & Ojeda, Waldo. Predictive ability of machine learning methods for massive crop yield prediction in Spanish Journal of Agricultural Research, Vol. 12(2), pp. 313- 328, 2014.

[10] Bashar, Abul, Survey on evolving deep learning neural network architectures. Journal of Artificial Intelligence 1, no. 02 (2019): 73-82.

[11] Archana Gupta, Dharmil Nagda, Pratiksha Nikhare, Atharva Sandbhor, Smart Crop Prediction using IoT and Machine Learning, International Journal of Engineering Research Technology (IJERT) 2021.

[12] B.J. Sowmya, Chet an Shet ty, S. Seema,

K.G. Srinivasa, Utility system for premature plant disease detection using machine learning, 2020.

[13] Hamza Benyezza, Mounir Bouhedda, Samia Rebouh, Zoning irrigation smart system based on fuzzy control technology and IoT for water and energy saving, Journal of Cleaner Product ion April 2021.

[14] Crop yield prediction using deep neural networks, by S. Khaki and L. Wang. pp. 621 in Frontiers in Plant Science, vol. 10, 2019.

[15] T. Vijayakumar, T. Vijayakumar, T.Vijayakumar "Journal of Innovative Image Processing (JIIP), vol. 2, no. 03, pp. 121-127, 2020.