Precise categorization of avocado ripeness plays a vital role in strengthening post-harvest operations and curbing waste throughout agricultural supply networks. The present study centers on constructing a resilient ensemble classification framework employing spectral readings from 120 kilograms of Buccaneer avocados procured from the Royal Project in Chiang Mai, Thailand. The specimens were assessed via near-infrared (NIR) spectroscopy at 18 wavelengths. Five distinct machine learning models—Random Forest, Decision Tree, XGBoost, Gradient Boosting, and Gaussian Mixture Model—were separately trained and subsequently fused into a unified ensemble. Four distinct algorithms were deployed to fine-tune the weighting of each model: Bayesian optimisation, differential evolution, particle swarm optimisation, and grid search. Evaluation metrics covering accuracy, precision, recall, F1-score, confusion matrices, and ROC curves were applied. Grid Search yielded the strongest classification outcomes, securing an accuracy of 82.5% alongside an F1-score of 85.3%, emphasizing the value of weight-refined ensemble learning relative to standalone classifiers. This investigation delivers a scalable and transparent pipeline for non-destructive ripeness identification. The outcomes, notwithstanding constraints related to overfitting and dependency on spectral data integrity, pave the way for eventual real-time field deployment in agriculture.
Data science has become a central analytical foundation of precision agriculture, enabling researchers and practitioners to transform heterogeneous farm, crop, soil, climate, machinery, sensor, and remote-sensing data into decision-relevant knowledge. This original bibliometric and thematic review examines how precision agriculture data science has evolved as a research field, how its knowledge structures are organized, and which methodological and application frontiers are shaping its future direction. The review follows a transparent bibliometric logic by distinguishing database searching, eligibility screening, metadata cleaning, keyword normalization, bibliometric indicators, thematic mapping, and interpretive synthesis. Because verified database-export counts were not available in the present working environment, the manuscript does not report invented publication totals, citation rankings, cluster sizes, or network metrics. Instead, it develops a cautious bibliometric-thematic framework grounded in the approved reference set and in clearly stated methodological safeguards. The review focuses on research evolution from early sensor analytics and remote observation toward machine learning, deep learning, big data, IoT-enabled systems, data fusion, decision support, and sustainable smart farming. It also examines knowledge structures around journals, keywords, co-occurrence logic, thematic clusters, and emerging research fronts. The main contribution is an integrated synthesis of precision agriculture data science as a field shaped by technical innovation, methodological fragmentation, data-quality constraints, interoperability challenges, explainability needs, reproducibility demands, and farmer-centered implementation concerns. The review provides a future agenda for more robust, transparent, usable, and responsible data science in precision agriculture.