[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-290953-105":59,"doc-detail-290953-en":131,"doc-similar-290953":161},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":124,"head_meta":126,"extra_data":128,"updated_unix":130},105,"en","precipitation-forecasting-using-machine-learning-in-the-region-of-beni-mellal-khenifra","Precipitation forecasting using machine learning in the region of Beni Mellal-Khenifra","","Agriculture in Beni Mellal-Khenifra, Morocco depends on rainfall and dams, yet precipitation shortages can reduce crop growth and make reliable forecasting essential. The study addresses the limited data-driven research by proposing machine-learning and big-data approaches to forecast precipitation amounts. Using Apache Spark and five algorithms—lasso, ridge, elastic net, ARIMA, and random forest—daily rainfall data from 2000–2015 is modeled, and random forest achieves the lowest mean absolute error.",{"@graph":69,"@context":123},[70,84,106],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/precipitation-forecasting-using-machine-learning-in-the-region-of-beni-mellal-khenifra/290953/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/precipitation-forecasting-using-machine-learning-in-the-region-of-beni-mellal-khenifra/290953.png","ImageObject",300,407,{"name":92,"@type":93},"Quinn","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-22","2026-09-17",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",12,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"Why is precipitation forecasting important for farmers in Beni Mellal-Khenifra?","Question",{"text":113,"@type":114},"Because the region relies on rain and dams for irrigation, precipitation shortages can negatively affect crop growth. Accurate forecasts help farmers make informed decisions.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"What data and tools are used in the study?",{"text":118,"@type":114},"The study uses daily rainfall data from 2000 to 2015 and Apache Spark for big data analytics.",{"name":120,"@type":111,"acceptedAnswer":121},"Which machine-learning algorithm performed best?",{"text":122,"@type":114},"Random forest produced the lowest mean absolute error, making it the most effective for forecasting precipitation in the region.","https://schema.org",{"og:url":83,"og:type":125,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":127,"canonical":83},"index,follow",{"doc_id":129,"site_id":62},290953,1789643030,{"code":4,"msg":5,"data":132},{"doc_id":129,"user_id":133,"nickname":92,"user_avatar":134,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":39,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":130,"read_time":46,"preview_page_count":19,"preview_urls":144},962075114765,"https://ap-avatar.wpscdn.com/davatar_a8503ba1806abce46bf441b54a3ca4cd","Precipitation forecasting using machine learning in the region of  \nBeni Mellal-Khenifra  \nHamza Jdi, Noureddine Falih  \nLIMATI Laboratory, Polydisciplinary Faculty, Sultan Moulay Slimane University, Beni Mellal, Morocco  \nArticle history:  \nReceived Jan 12, 2023 Revised Mar 24, 2023 Accepted Mar 26, 2023  \nKeywords:  \nAgriculture  \nApache spark Big data analytics Machine learning Precepitation forecast  \nCorresponding Author:  \nAgriculture in the region of Beni Mellal-Khenifra, Morocco relies on irrigation from rain and dams, but recently there has been a lack of precipitation which may negatively affect crop growth. This has made accurate precipitation forecasts even more important for farmers, as they need this information to make informed decisions about their crops. However, a lack of data-driven research utilizing past data presents a challenge for the development of such research and leaves farmers relying solely on weather forecasts from TV, which cannot relied upon in systems such as irrigation. The objective of this paper is to propose various approaches for forecasting precipitation in the region of Beni Mellal-Khenifra using big data analyticsand machine learning techniques. The study made use of Apache Spark, a big data analytics tool, and five machine-learning algorithms: Lasso regression, ridge regression, elastic net, auto regressive integrated moving average, and random forest. These algorithms were applied on dataset of daily rainfall from 2000 to 2015 to forecast the amount of precipitation in the region. The results of the study showed that the random forest algorithm had the lowest mean absolute error, making it the most effective at forecasting precipitation in the region.  \nThis is an open access article under the CC BY-SA license.  \nHamza Jdi  \nLIMATI Laboratory, Polydisciplinary Faculty, Sultan Moulay Slimane University Beni Mellal, Morocco  \n[Email: hamzajdi@mail.com](Email: hamzajdi@mail.com)  \nArticle Info ABSTRACT  \n1. INTRODUCTION  \nIn the agricultural sector, machine learning (ML) and internet of things (IoT) technologies are implemented progressively by farmers to plan their farming activities. These technologies help get insights about the weather conditions, water use optimization [1], and early plant disease recognition [2], [3] . Farmers are keener to use ML to produce more yield, crops and products as they see the benefit of scientific and data driven ways to make use of the massive amounts of data that are put in their hands via sensors, which became in recent years accurate, dependable and most importantly affordable.  \nThe combination of ML and IoT is complementary to each other in the sense that IoT technologies provide the infrastructure for collecting data and ML algorithms provide the means for analyzing and extracting insights from that data. In the context of agriculture [4], IoT sensors [5] can be used to monitor various aspects of agricultural processes, provide decision support, and automate irrigation. The data collected through these IoT systems can then be fed into ML algorithms and big data analytics tools [6], [7] to generate useful insights [8] for farmers. The complementary relationship between ML and IoT allows for the development of more efficient and effective agricultural practices.  \nAgricultural irrigation optimization [9]-[11] is a very complex task because it depends on various variables. One variable depend on the changing weather conditions, which needs to be anticipated by predicting  \nweather conditions through answering for instance the simple question: “Will the rain fall?” another variable is soil that needs to be understood with the data provided by sensors. Therefore, according to the levels of pan evaporation, soil moisture reserves and other soil parameters [12], we can make automated, data driven decisions to use water in an optimized way [13] . Thus the need for precipitation forecast as it can help greatly in the optimization of water use [14], so we","cbCaifrtv6I64jy1","https://ap.wps.com/l/cbCaifrtv6I64jy1","pdf",530030,"English","# Abstract\n# 1. Introduction\n## Agriculture and ML/IoT adoption\n## Irrigation optimization and need for precipitation forecasts\n## Related work on precipitation forecasting","[{\"question\":\"Why is precipitation forecasting important for farmers in Beni Mellal-Khenifra?\",\"answer\":\"Because the region relies on rain and dams for irrigation, precipitation shortages can negatively affect crop growth. Accurate forecasts help farmers make informed decisions.\"},{\"question\":\"What data and tools are used in the study?\",\"answer\":\"The study uses daily rainfall data from 2000 to 2015 and Apache Spark for big data analytics.\"},{\"question\":\"Which machine-learning algorithm performed best?\",\"answer\":\"Random forest produced the lowest mean absolute error, making it the most effective for forecasting precipitation in the region.\"}]","Precipitation forecasting using machine learning in the region of Beni Mellal-Khenifra | PDF",[145,149,153,157],{"page_no":8,"url":146,"width":147,"height":148},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/7a45d08d171a57db9e0f25d14466410d.webp",983,1390,{"page_no":14,"url":150,"width":151,"height":152},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/4eef4c0baff9571b883c0a348beb59e8.webp",982,1388,{"page_no":81,"url":154,"width":155,"height":156},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/323b96f44aee6837b3330f71db28d939.webp",981,1387,{"page_no":19,"url":158,"width":159,"height":160},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-16/1048ed00b7aa876c2884df5db3dd5c4b.webp",980,1385,{"list":162,"token":66},[163,170,177,182,189,196,202,209,216,222],{"doc_id":164,"doc_title":165,"file_type":138,"home_preview_img_url":166,"slug":167,"view_count":168,"category_name":40,"create_tm":169},126030,"Evaluating machine learning models for precipitation prediction in Casablanca City - Article","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229838583244/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796227619&Signature=D%2BQhTERagNH5SeGFbXuy8WVZXrU%3D","evaluating-machine-learning-models-for-precipitation-prediction-in-casablanca-city-article",27,1785902627,{"doc_id":171,"doc_title":172,"file_type":138,"home_preview_img_url":173,"slug":174,"view_count":175,"category_name":40,"create_tm":176},119037,"Nowcasting Madagascar’s real GDP using machine learning algorithms","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229835002954/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796227619&Signature=FVPsJM%2Ffsu9vsgJ1miT8CKMSruI%3D","nowcasting-madagascars-real-gdp-using-machine-learning-algorithms",28,1785722036,{"doc_id":178,"doc_title":172,"file_type":138,"home_preview_img_url":179,"slug":174,"view_count":180,"category_name":40,"create_tm":181},118988,"https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229834994873/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796227619&Signature=109EC%2Bh8xAyNPDHX9sfQxHqOpcs%3D",22,1785721440,{"doc_id":183,"doc_title":184,"file_type":138,"home_preview_img_url":185,"slug":186,"view_count":187,"category_name":40,"create_tm":188},126562,"Application of Machine Learning methods to correct the readings of low-cost air pollution sensors","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229839374442/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796227619&Signature=Kc322X37oLkC1g0MR%2B%2F2JwONMek%3D","application-of-machine-learning-methods-to-correct-the-readings-of-low-cost-air-pollution-sensors",31,1785933340,{"doc_id":190,"doc_title":191,"file_type":138,"home_preview_img_url":192,"slug":193,"view_count":194,"category_name":40,"create_tm":195},128670,"Predicting Methanol Space-Time Yield from CO₂ Hydrogenation Using Machine Learning - Statistical Evaluation of Penalized Regression Techniques","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229840437354/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796227619&Signature=doQfitPfdHwRWo1%2F5uaCi0B5gp0%3D","predicting-methanol-space-time-yield-from-co-hydrogenation-using-machine-learning-statistical-evaluation-of-penalized-regression-techniques",25,1786002464,{"doc_id":197,"doc_title":198,"file_type":138,"home_preview_img_url":199,"slug":200,"view_count":194,"category_name":40,"create_tm":201},120545,"Machine Learning Based Method for Forecasting Crop Yield","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229835342387/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796227619&Signature=6PRgGGnwRcsGtglopuuBWuNs%2Bs8%3D","machine-learning-based-method-for-forecasting-crop-yield",1785730592,{"doc_id":203,"doc_title":204,"file_type":138,"home_preview_img_url":205,"slug":206,"view_count":207,"category_name":40,"create_tm":208},117956,"Sustainable Agriculture Practice using Machine Learning - Crop Recommendation and Plant Disease Detection","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229834725730/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796227619&Signature=bldCDwwVyJnsVmDEBFiw%2BltVM3U%3D","sustainable-agriculture-practice-using-machine-learning-crop-recommendation-and-plant-disease-detection",21,1785680522,{"doc_id":210,"doc_title":211,"file_type":138,"home_preview_img_url":212,"slug":213,"view_count":214,"category_name":40,"create_tm":215},120330,"Machine Learning Methods for Crop Yield Prediction and Climate Change Assessment in Agriculture - Research Focus","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229835199305/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796227619&Signature=qq%2B0IVryWITy4l1s%2BTLnWomLN%2BQ%3D","machine-learning-methods-for-crop-yield-prediction-and-climate-change-assessment-in-agriculture-research-focus",24,1785729495,{"doc_id":217,"doc_title":218,"file_type":138,"home_preview_img_url":219,"slug":220,"view_count":56,"category_name":40,"create_tm":221},120469,"Integration of ARIMA Models and Machine Learning for Academic Data Forecasting - A Case Study in Applied Mathematics","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229835214549/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796227619&Signature=Q%2Fzr%2FSIkAkmYHGIQgfS1qeu9ydI%3D","integration-of-arima-models-and-machine-learning-for-academic-data-forecasting-a-case-study-in-applied-mathematics",1785730254,{"doc_id":223,"doc_title":224,"file_type":138,"home_preview_img_url":225,"slug":226,"view_count":207,"category_name":40,"create_tm":227},290591,"Comparison of Classification Algorithm for Crop Decision based on Environmental Factors using Machine Learning","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229903735920/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796227619&Signature=IA7hglo3iexQwi6DyZQRn9td420%3D","comparison-of-classification-algorithm-for-crop-decision-based-on-environmental-factors-using-machine-learning",1789642142]