Skip to main content

Collating Weather Data and Grocery Cost Using Machine Learning Techniques

  • Conference paper
  • First Online:
Advanced Communication and Intelligent Systems (ICACIS 2023)

Abstract

Economic development is aided by farming. Farming is primarily defined by the utilization of family labours, which is limited in terms of land, water, and capital resources. Farmers must choose which agricultural goods to be produced based on various parameters which needs technical methods to make the best decision for cultivation. Machine learning algorithms shall be the best choice to solve above problem and predict the prices of agricultural goods based on the weather conditions. This paper suggests different regression models have been investigated to predict vegetable prices. Based on this predictions, vegetable prices are forecasted to aids farmers to plan their next crop and to avoid hyperinflation. In this work, weather data are collected using web scraping whereas the weather data is collected from the weather channel website for appropriate period. The dependency of weather data and the vegetable price is derived by graphically plotting both date for every five days. The data set is created by combining both the weather and vegetable data. The machine learning algorithms such as decision tree, random forest, linear regression are be applied on the weather-price dataset for testing and training. Here 80% of the data is utilized for training whereas 20% data is utilized for testing. The accuracy prediction of different models are calculated and compared. Decision Tree Regressor shows highest prediction accuracy of 92.17%

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Brunda, S., Nimish, L., Chiranthan, S., Khan, A.: Crop price prediction using random forest and decision tree regression. Int. Res. J. Eng. Technol. (IRJET) 7(9), 235–237 (2020)

    Google Scholar 

  2. Luo, C., Wei, Q., Zhou, L.: Prediction of vegetable price based on neural network and genetic algorithm. IFIP AICT 7, 672–681 (2011). Pandey, I., Sathish Kumar Reddy, M., Dharani Vamsidhar Reddy, M., Krishna Babu, K.: Machine learning based future priced prediction of the products. Int. Res. J. Eng. Technol. (IRJET), 8(4), 865–871 (2021)

    Google Scholar 

  3. Keerthana, P.S., Keerthika, B., Shalini, R.: Prediction of vegetable cost based on weather condition using FRNN. Int. Res. J. Eng. Technol. (IRJET) 7(3), 1608–1612 (2020)

    Google Scholar 

  4. Rachana, P.S., Rashmi, G., Shravani, D., Shruthi, N.: Crop yield prediction using machine learning approaches. Int. Res. J. Eng. Technol. (IRJET) 6, 4805–4807 (2020)

    Google Scholar 

  5. Dhanapal, R., AjanRaj, A., Balavinayagapragathish, S., Balaji, J.: Crop price prediction using supervised machine learning algorithms. J. Softw. Eng. Simulat. 6(1), 14–20 (2021)

    Google Scholar 

  6. Mulla, S.A.: Crop-yield and price forecasting using machine learning. Int. J. Analyt. Exp. Modal Anal. 7(8), 1731–1737 (2020)

    Google Scholar 

  7. Das, S., et al.: Advance machine learning and artificial intelligence applications in service robot. In: Artificial Intelligence for Future Generation Robotics, pp. 83–91. Elsevier (2021). https://doi.org/10.1016/B978-0-323-85498-6.00002-2. ISBN 9780323854986

  8. Gupta, V., et al.: A new era of automated market-makers (AMM) powered by non-fungible tokens - a review. Glob. J. Innov. Emerg. Technol. 1(2), 1–7. https://doi.org/10.58260/j.iet.2202.0106

  9. Ye, L., Li, Y., Liang, W., Song, Q., Liu, Y., Qin, X.: Vegetable price prediction based on PSO-BP neural network. In: International Conference on Intelligent Computation Technology and Automation. IEEE (2015). ISBN 978-1-4673-7644-0/15

    Google Scholar 

  10. Hemageetha, N., Nasira, G.M.: Radial basis function model for vegetable price prediction. In: International Conference on Pattern Recognition, Informatics and Mobile Engineering. IEEE (2013). ISBN 978-1-4673-5845-3/13

    Google Scholar 

  11. Ramesh, D., Khosla, E.: Seasonal ARIMA to forecast fruits and vegetable agricultural prices. In: IEEE International Symposium on Smart Electronic Systems. IEEE (2019). ISBN 978-1-7281-4655-3/19

    Google Scholar 

  12. Warnakulasooriya, H., Senarathna, J., Peiris, P., Fernando, S., Kasthurirathna, D.: Supermarket retail – based demand and price prediction of vegetables. In: International Conference on Advances in ICT for Emerging Regions. IEEE (2020). ISBN 978-1-7281-8655-9/20

    Google Scholar 

  13. Vohra, A., Pandey, N., Khatri, S.K.: Decision Making Support System for Prediction of Prices in Agricultural Commodity. IEEE (2019). ISBN 978-1-5386-9346-9/19

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to K. Hemalatha .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Sridevi, S., Hemalatha, K., Gowthami, S. (2023). Collating Weather Data and Grocery Cost Using Machine Learning Techniques. In: Shaw, R.N., Paprzycki, M., Ghosh, A. (eds) Advanced Communication and Intelligent Systems. ICACIS 2023. Communications in Computer and Information Science, vol 1921. Springer, Cham. https://doi.org/10.1007/978-3-031-45124-9_3

Download citation

  • DOI: https://doi.org/10.1007/978-3-031-45124-9_3

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-031-45123-2

  • Online ISBN: 978-3-031-45124-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics