[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-detail-122687-en":3,"doc-seo-122687-105":30,"detail-sidebar-cat-0-en-105":91},{"code":4,"msg":5,"data":6},0,"success",{"doc_id":7,"user_id":8,"nickname":9,"user_avatar":10,"doc_module":4,"category_id":11,"category_name":12,"doc_title":13,"doc_description":14,"doc_content":15,"file_id":16,"file_url":17,"file_type":18,"file_size":19,"view_count":4,"is_deleted":4,"is_public":20,"is_downloadable":20,"audit_status":20,"page_count":21,"language":22,"language_code":23,"site_id":24,"html_lang":23,"table_of_contents":25,"faqs":26,"seo_title":27,"seo_description":14,"update_tm":28,"read_time":29},122687,962075006959,"Anda","https://ap-avatar.wpscdn.com/avatar/e0002397efbe92a78e?_k=1776741047341049297",8,"Research & Report","Predictive fertilization models for potato crops using machine learning techniques in Moroccan Gharb region - Optimal NPK prediction model development - hardware implementation","Adequate nutrient prescription for potato production remains difficult due to interacting factors such as weather, soil conditions, land management practices, genotypes, and pest and disease pressure. This study develops an accurate machine learning model to determine optimal nitrogen, phosphorus, and potassium levels for high-quality and high-yield potato crops while accounting for environmental drivers including weather, soil type, and management. Using 900 Kaggle field experiments, models including KNN, linear SVM, naive Bayes, decision tree, random forest, and XGBoost are trained, evaluated, and compared with MAE, MSE, R-squared, and RMSE, and XGBoost shows the strongest predictive performance. The work concludes with a suggested hardware implementation to support farmers in the field.","Predictive fertilization models for potato crops using machine learning techniques in Moroccan Gharb region  \nSaid Tkatek, Samar Amassmir, Amine Belmzoukia, Jaafar Abouchabaka  \nComputer Sciences Research Laboratory, Faculty of Sciences, Ibn Tofail University, Kenitra, Morocco  \n\n| Article history:\u003Cbr>Received Dec 12, 2022 Revised Jan 13, 2023 Accepted Feb 4, 2023 | Given the influence of several factors, including weather, soils, land management, genotypes, and the severity of pests and diseases, prescribing adequate nutrient levels is difficult. A potato ’s performance can be predicted using machine learning techniques in cases when there is enough data. This study aimed to develop a highly precise model for determining the optimal levels of nitrogen, phosphorus, and potassium required to achieve both high-quality and high-yield potato crops, taking into account the impact of various environmental factors such as weather, soil type, and land management practices. We used 900 field experiments from Kaggle as part of a data set. We developed, evaluated, and compared prediction models ofk-nearest neighbor (KNN), linear support vector machine (SVM), naive Bayes (NB) classifier, decision tree (DT) regressor, random forest (RF) regressor, and eXtreme gradient boosting (XGBoost) . We used measures such as mean average error (MAE), mean squared error (MSE), R-Squared (RS), and R2Root mean squared error (RMSE) to describe the model ’s mistakes and prediction capacity. It turned out that the XGBoost model has the greatest R2, MSE and MAE values. Overall, the XGBoost model outperforms the other machine learning models. In the end, we suggested a hardware implementation to help farmers in the field.\u003Cbr>This is an open access article under the CC BY-SA license.\u003Cbr> |\n| --- | --- |\n| Keywords:\u003Cbr>Artificial intelligence Fertilization Internet of things Machine learning Raspberry Pi3 |  |\n\nCorresponding Author:  \nSaid Tkatek  \nLaboratory for Computer Sciences Research, Faculty of Science, Ibn Tofail University 14000, Kenitra, Morocco  \nEmail: [said.tkatek@uit.ac.ma](said.tkatek@uit.ac.ma)  \nArticle Info ABSTRACT  \n1. INTRODUCTION  \nThe two most important and fundamental resources for life on earth are soil and water. Morocco ’s soils and rivers are becoming more and more deteriorated, and this deterioration is accelerating. Due to its rich soils and easy access to water, The Gharb (Morocco) is widely renowned for its intense agriculture. However, after extensive use of these resources, the quality of these soils and rivers should be evaluated. The Atlantic Ocean has a significant impact on the Gharb ’s climate, which is characterized by a sub-humid bioclimatic zone with high air humidity in the winter and high temperatures in the summer.  \nVarious factors can affect fertilization for optimal tuber yield, including the type and quality of the soil [1], [2], organic fertilizers [3], [4], previous crops [5]–[9], weather [10], irrigation [11], timing and location of the applied fertilizer [12], pests and diseases [13], and genetic factors. For instance, soil with high organic matter content tends to retain nutrients better and provide a more suitable environment for microbial activity, which aids in nutrient availability. The use of organic fertilizers also enhances soil quality, improves plant nutrient uptake, and reduces environmental impacts compared to synthetic fertilizers. Furthermore, previous crops, weather patterns, and irrigation practices influence the nutrient cycling and availability in the soil, ultimately impacting crop growth and development.  \nIn addition to these factors, various other factors can influence the growth and development of crops, including day length, photoperiod, water availability, intercepted radiation, air temperature, precipitation, root development, and crop management. These factors interact in complex ways, making it challenging to optimize crop growth [14], [15], and development for optimal yield. Howev","cbCaieEZe0fJeXuN","https://ap.wps.com/l/cbCaieEZe0fJeXuN","pdf",374168,1,9,"English","en",105,"# Article overview\n## Problem background and influencing factors\n## Nutrient management, eutrophication, and literature context\n## NPK roles in crop development\n## Data and proposed machine learning approach\n## Model training, evaluation metrics, and comparison\n## Results and recommendation for field deployment","[{\"question\":\"Why is prescribing fertilizer levels for potatoes considered difficult?\",\"answer\":\"Because potato performance depends on interacting factors such as weather, soil properties, land management, genotypes, and the severity of pests and diseases.\"},{\"question\":\"What is the goal of the study regarding NPK fertilization?\",\"answer\":\"To predict and determine optimal nitrogen, phosphorus, and potassium levels that achieve both high-quality and high-yield potato crops under varying environmental conditions.\"},{\"question\":\"Which machine learning model performs best in the study?\",\"answer\":\"The XGBoost model shows the greatest R-squared, MSE, and MAE values, outperforming the other tested models.\"}]","Predictive fertilization models for potato crops using machine learning techniques in Moroccan Gharb region - Optimal NPK prediction model development - hardware implementation | PDF",1785812212,23,{"code":4,"msg":31,"data":32},"ok",{"site_id":24,"language":23,"slug":33,"title":13,"keywords":34,"description":14,"schema_data":35,"social_meta":86,"head_meta":88,"extra_data":90,"updated_unix":28},"predictive-fertilization-models-for-potato-crops-using-machine-learning-techniques-in-moroccan-gharb-region-optimal-npk-prediction-model-development-hardware-implementation","",{"@graph":36,"@context":85},[37,54,68],{"@type":38,"itemListElement":39},"BreadcrumbList",[40,44,48,51],{"item":41,"name":42,"@type":43,"position":20},"https://docshare.wps.com","Home","ListItem",{"item":45,"name":46,"@type":43,"position":47},"https://docshare.wps.com/document/","Document",2,{"item":49,"name":12,"@type":43,"position":50},"https://docshare.wps.com/document/research-report/",3,{"item":52,"name":13,"@type":43,"position":53},"https://docshare.wps.com/document/predictive-fertilization-models-for-potato-crops-using-machine-learning-techniques-in-moroccan-gharb-region-optimal-npk-prediction-model-development-hardware-implementation/122687/",4,{"url":52,"name":13,"@type":55,"author":56,"headline":13,"publisher":58,"fileFormat":61,"inLanguage":23,"description":14,"dateModified":62,"datePublished":62,"encodingFormat":61,"isAccessibleForFree":63,"interactionStatistic":64},"DigitalDocument",{"name":9,"@type":57},"Person",{"url":41,"name":59,"@type":60},"DocShare","Organization","application/pdf","2026-08-04",true,{"@type":65,"interactionType":66,"userInteractionCount":4},"InteractionCounter",{"@type":67},"ViewAction",{"@type":69,"mainEntity":70},"FAQPage",[71,77,81],{"name":72,"@type":73,"acceptedAnswer":74},"Why is prescribing fertilizer levels for potatoes considered difficult?","Question",{"text":75,"@type":76},"Because potato performance depends on interacting factors such as weather, soil properties, land management, genotypes, and the severity of pests and diseases.","Answer",{"name":78,"@type":73,"acceptedAnswer":79},"What is the goal of the study regarding NPK fertilization?",{"text":80,"@type":76},"To predict and determine optimal nitrogen, phosphorus, and potassium levels that achieve both high-quality and high-yield potato crops under varying environmental conditions.",{"name":82,"@type":73,"acceptedAnswer":83},"Which machine learning model performs best in the study?",{"text":84,"@type":76},"The XGBoost model shows the greatest R-squared, MSE, and MAE values, outperforming the other tested models.","https://schema.org",{"og:url":52,"og:type":87,"og:title":13,"og:site_name":59,"og:description":14},"article",{"robots":89,"canonical":52},"index,follow",{"doc_id":7,"site_id":24},{"code":4,"msg":5,"data":92},[93,97,101,105,110,115,120,123,127,130,134],{"id":20,"doc_module":4,"doc_module_name":46,"category_name":94,"show_sort_weight":95,"slug":96},"Story & Novel",90,"story-novel",{"id":47,"doc_module":4,"doc_module_name":46,"category_name":98,"show_sort_weight":99,"slug":100},"Literature",80,"literature",{"id":53,"doc_module":4,"doc_module_name":46,"category_name":102,"show_sort_weight":103,"slug":104},"Exam",70,"exam",{"id":106,"doc_module":4,"doc_module_name":46,"category_name":107,"show_sort_weight":108,"slug":109},5,"Comic",60,"comic",{"id":111,"doc_module":4,"doc_module_name":46,"category_name":112,"show_sort_weight":113,"slug":114},6,"Technology",50,"technology",{"id":116,"doc_module":4,"doc_module_name":46,"category_name":117,"show_sort_weight":118,"slug":119},7,"Healthcare",40,"healthcare",{"id":11,"doc_module":4,"doc_module_name":46,"category_name":12,"show_sort_weight":121,"slug":122},30,"research-report",{"id":21,"doc_module":4,"doc_module_name":46,"category_name":124,"show_sort_weight":125,"slug":126},"Religion & Spirituality",20,"religion-spirituality",{"id":125,"doc_module":4,"doc_module_name":46,"category_name":128,"show_sort_weight":125,"slug":129},"World Cup","world-cup",{"id":131,"doc_module":4,"doc_module_name":46,"category_name":132,"show_sort_weight":131,"slug":133},10,"Lifestyle","lifestyle",{"id":135,"doc_module":4,"doc_module_name":46,"category_name":136,"show_sort_weight":106,"slug":137},19,"General","general"]