1. Introduction
The real-time data is critical for agricultural decision-making, especially in the challenge of uncertain and highly variable weather conditions. Field-based sensors are important to measure environmental parameters e.g. (temperature, humidity, soil moisture, or wind speed) [1]. However, weather is stochastic, and many conventional processing methods of data collection have uncertainty. In this case, the utilization of fuzzy numbers e.g. neutrosophic numbers on real-time sensor information allows decision-makers to model ambiguous and incomplete information in a more effective way, which results in better forecasts and more resilient farming strategies [2]. Precision farming, also known as smart agriculture, is considered as one of the most advanced means to mitigate current unresolved problems in agriculture like resource constraint and environmentally sustainable food production objectives [3]. Decision-making in agriculture involves competing demands (e.g., for crop yield, resource use efficiency, economic returns and environmental impact), all against an uncertain future. The integration of machine learning (ML) algorithms with multi-criteria decision-making (MCDM) frameworks has gained importance because it allows dealing effectively with large data and support farmers for making informed decisions, so that they can adapt their sustainability practices in a timely manner while mitigating the economic risk [4-6].
The application of Fuzzy C-Means (FCM) and Support Vector Machines (SVM) in agriculture has become increasingly important due to their ability to handle complex, relationships in agriculture. FCM is particularly useful for modelling uncertain and dynamic systems, such as soil-plant interactions, and pest management by considering the relationships between key agricultural factors. It facilitates qualitative modelling, helping farmers make informed decisions [8]. On the other hand, SVM excels in classification and regression tasks, enabling precise predictions related to crop diseases, soil moisture levels, and yield estimations by analysing large datasets. In crop disease prediction, for instance, SVM has been utilized effectively for detecting diseases in various crops based on image data [9]. Together, FCM and SVM provide a comprehensive decision-support system that enhances the efficiency and sustainability of agricultural practices, particularly in precision farming, where the optimization of resource usage, such as water, fertilizer, and pesticides, is critical [10-11].
Crops are largely dependent on external factors such as market price between harvest and marketing, variation in input costs, weather conditions and similar other unpredictable situations; all this leads to crop economics being fraught with uncertainties. For farmers who need to allocate resources to optimize productivity and sustainability, these uncertainties create complicated decision-making problems. Fuzzy set (FS) [12] theory is a powerful mathematical framework over the imprecise and ambiguous data, which arises quite often within agricultural scenario where uncertainties need to be modelled, represented & managed. This is very different from traditional discrete logic that relies on clear-cut distinctions, standard truth-values of 0 or 1. FS theory avoids this problem by permitting an object to belong in a certain available set with the membership degree between operating limits full and void. This is especially useful in the sort of crop economics, where definitive information is less or incomplete and mostly decisions will be based on global knowledge.
Smarandache proposed the concept of neutrosophic sets (NS) characterized by uncertainty, inconsistency and indeterminacy in 1998 [13]. In the logical systems, which involve indeterminacy values added to the membership and non-membership values (T, I, and F) each one being independent. NS have been extended to single valued by [14], interval valued by [15] and multi-valued linguistic neutrosophic sets (MVLNS) by [16]. The applications of these extensions and multi-criteria decision-making (MCDM) approaches have been proposed by [17-19].
Smarandache [20] presented the theory of hypersoft set (HSS) is a mapping from cartesian product of sub-divided sets of alternatives to the power set. The extensions: fuzzy hypersoft sets (FHSs), intuitionistic hypersoft sets (IHSs), and neutrosophic hypersoft sets (NHSs) were also proposed in the same work to deal with uncertainty, and indeterminacy. Single-valued neutrosophic hypersoft sets (SVNHSs) [21] with their aggregate operators [22], multi-valued neutrosophic hypersoft sets (m-VNHSs), interval-valued neutrosophic hypersoft sets (IVNHSs), and [23] have introduced multi-valued interval neutrosophic hypersoft sets (m-IVNHSs). The matrix notions of HSS have been proposed by [24] along with MCDM algorithms to solve problems. NHSS-TOPSIS using distance and similarity measures were proposed by [25-26]. The concept of linguistic hypersoft set (LHSs) and linguistic neutrosophic hypersoft set (LNHSs) has been proposed by [27-28]. Other optimization methodologies, as well [29-30], are employed to address the same kind of optimization issues.
Recent advances in smart agriculture and digitalization strategies have revolutionized the agricultural sector, especially for small-scale farmers, who are burdened with various economic and environmental issues [31-32]. Zhou [33] and Nourkhah et al. [34], which describe an integrated technique for improving soil suitability through soil quality prediction and technological monitoring capacity, further explore the potential of smart agriculture in the study. The studies of Yongyi Gu et al. [35] and Debnath [36] explain the opportunities to increase the economic capacity of farmers and develop efficient strategies in a market of uncertainty. Li et al. [37] have studied the role of stable digital agriculture. The study [38-39] presents the importance of smart technology in agriculture. Overall, these sources give a more updated view of how future digitalization will examine in agriculture.
Research Gap: Smart farming and decision-making frameworks have progressed considerably, this methodology usually does not cope well with real-time (data assimilation) agricultural data because of the uncertainty often caused by unpredictable weather conditions. The tools to deal with imprecise information, traditional decisionmaking models are incapable of incorporating complex nature like (indeterminacy-uncertainty-falsity). Furthermore, most existing methods just consider small number of criteria like crop yield or economic performance, and they inadequately integrate real time environmental sensor data for the better decision provisioning. Though machine learning (ML) is extended to deal with large-sized data (simply agricultural database), however, the convergence of MCDM and indeterminacy management tools like neutrosophic sets and ML has been fewer considered. This gap emphasizes the need for more powerful, adaptable models that can bridge the insights in making data-driven decisions provided by ML and facilitate rigorous decision-making under environmental uncertainty and indeterminacy.
Contribution: We propose a new distance and similarity measures approach under the linguistic neutrosophic hypersoft set (NLHSs) and by integrating it with machine learning (ML) Fuzzy C-Means (FCM) and Support Vector Machines (SVM) methods. ML-based real-time sensor data processing for predicting weather patterns and key environmental factors, and the other one is an application of linguistic neutrosophic sets to address uncertainty, indeterminacy and falsity in decision-making. We do this by applying similarity measures that rank farming strategies in terms of crop yield, resource efficiency and economic viability across multiple criteria to enable optimized decisions under highly variable conditions.
Significance: The importance of this study is that it can greatly increase the strength and efficiency in agriculture farming practices when dealing with unexpected environmental issues such as weather and land fertility changes. The method introduces measured sensor data in real-time to facilitate intelligent decision-making. This helps to increase the food security and sustainability of climate-sensitive regions. Moreover, the approach applied in this work is extendable to industries other than agriculture e.g., environmental sustainability, climate resilience, and disaster management. Thus, this study is of significance for agricultural decision-making and the larger context of dealing with uncertainty in complex systems.
The paper originality, it integrates FCM, SVM and proposed distance and similarity measures for NLHSs based framework to tackle the weather uncertainty in agriculture. Through the application of similarity measures, the framework ranks farming approaches based on multiple criteria such as crop yield, resource efficiency, and economic sustainability. The use of linguistic neutrosophic terms offer better flexibility in managing weatherrelated uncertainty compared to existing methods. This unique usage of sophisticated mathematics integrated with machine learning allows the decision-makers to find more accurate results, meaning it can manage economic risks better and allocate resources intelligently in agriculture.
The following indicates that how the work is organized:
Section2: Material and method.
Section3: Proposed distance and similarity measures for NLHSs.
Section4: Numerical illustration using FCM, SVM, and Distance and Similarity Measures.
Section5: Results discussion, comparison and limitations.
Section6: Concluded with future directions.
2. Material and Methods The section we discuss the importance of selected methods i.e. distance and similarity measures, Fuzzy C-Means (FCM) and Support Vector Machines (SVM).
2.1 Linguistic Neutrosophic Hypersoft Set (LNHSs) [28]
Smarandache extended soft sets (SS’s) to hypersoft set and deal with the further bifurcations of attributes. Let 𝒴= {բ1, բ2, բ3, … բ𝑠} be the set of alternatives and 𝒜 be the set of attributes. Let 𝑃(𝒴) denote the power set of 𝒴. Let 𝜉1, 𝜉2, 𝜉3 … 𝜉𝑛 for 𝑛≥1 be different attributive features, whose corresponding attributive values are the sets 𝜍1, 𝜍2, 𝜍3, … 𝜍𝑛 with 𝜍𝑚𝑖∩𝜍𝑛𝑖= ∅ for𝑚≠𝑛,𝑚𝑖, 𝑛𝑖= 1,2 … 𝑛 respectively. Then, the pair (𝒢, 𝜉1, 𝜉2, 𝜉3 … 𝜉𝑛) is said to be hypersoft set over 𝒴,
𝒢: 𝜉1 × 𝜉2 × 𝜉3 … × 𝜉𝑛→𝑃(𝒴) Then the neutrosophic-linguistic valued hypersoft set will be,
𝛤(𝛼(𝑘)) = {𝑀(𝛼(𝛵, 𝐼, ℱ)) | 𝛵, 𝐼, ℱ∈𝑘= {𝜅1, 𝜅2, 𝜅3, … , 𝜅𝑡} } 𝑤ℎ𝑒𝑟𝑒 𝑘 𝑖𝑠 𝑡ℎ𝑒 𝑠𝑒𝑡 𝑜𝑓 𝑙𝑖𝑛𝑔𝑢𝑠𝑖𝑡𝑖𝑐 𝑞𝑢𝑎𝑛𝑡𝑖𝑓𝑖𝑒𝑟𝑠 𝑖𝑛 𝑎𝑠𝑐𝑒𝑛𝑑𝑖𝑛𝑔 𝑜𝑟𝑑𝑒𝑟 𝑖. 𝑒. 𝑁𝑜𝑛𝑒−𝑃𝑒𝑟𝑓𝑒𝑐𝑡. 2.2 Distance and Similarity Measures [40]: Distance measures play an important role in studies where the similarity between objects or alternatives is crucial when handling uncertainty, or indeterminacy. This especially applies in the context of multi-criteria decision-making (MCDM) where such measures can enable evaluation within linguistic terms to capture different kinds of errors like vagueness or indeterminacy. The distance and similarity measures of the attributes that are further subdivided can be studied using the proposed distance and similarity measures under LNHSs. 2.3 Fuzzy C-Means (FCM) [41]: Fuzzy C-Means is a clustering algorithm, which can quickly cluster datasets with uncertainty. Traditional clustering methods assign each data point to a one-and-only-one cluster whereas in FCM, a given data point can be part of multiple clusters and with different degrees of memberships. FCM minimizes an objective function that takes the distance of data points from centroid of clusters with weighted by the membership values. For our study, Fuzzy C-Mean algorithm is used to cluster the weather conditions with proposed distance measures in a linguistic neutrosophic hypersoft set LNHSs environment.
2.4 Support Vector Machines (SVM) [42-43]: SVM is the most popular supervised learning algorithm, which can also perform classification and regression tasks. It is suitable for small as well as large datasets, capable of handling high dimensional data. SVM works on the principle of categorizing data into small parts with a maximum clear gap among classes. The SVM can classify uncertain weather conditions with attributes such as distance and similarity measures that are described in the linguistic neutrosophic hypersoft set. The SVM model learns the patterns of uncertainty in these input attributes and hence it can be used to predict any indeterminacy in weather data.
3. Proposed Distance and Similarity Measures for LNHSs
In this section, we propose some distance measures especially built for the linguistic neutrosophic hypersoft set (LNHSs) environment. This method will allow us to measure the qualitative differences between alternatives by interpreting how much truth, indeterminacy and falseness is contained in linguistic expressions. In other words, our proposed measures will describe the natural indeterminacy and imprecision of data which occurs in all the real-world multi-criteria decision-making problems. The distances proposed in this paper are aimed to add a more robust tool for evaluating alternatives within complex environments. Definition 3.1 Let 𝔸= 𝒜𝒾 and 𝔹= ℬ𝒾 be the two LNHSs where 𝒜𝒾= (𝛵𝒾
𝔸) for 𝒾= {1,2,3, … , 𝑛}, then Normalized Hamming distance (NHD) between 𝔸 & 𝔹 LNHSs is defined as; 𝒟 (𝔸 , 𝔹) =
𝔹|〉 𝑛 𝒾 Example 3.2 Let us say we have 2 cities 𝒞1, 𝒞2 that need to be evaluated using the criteria / attribute: Temperature ( 𝕋 ), wind speed ( 𝕎 ), and humidity ( ℍ ). The linguistic terms for each attribute can be taken from [28], which are none to perfect. Moreover, to model the data each of these attributes will have a degree of (𝛵, 𝐼, ℱ) in the form of linguistic variables. Let 𝔸= 〈𝒞1, 𝕋(𝑚𝑒𝑑𝑖𝑢𝑚, 𝑙𝑜𝑤, ℎ𝑖𝑔ℎ), 𝕎(ℎ𝑖𝑔ℎ, 𝑙𝑜𝑤, 𝑛𝑜𝑛𝑒), ℍ(𝑛𝑜𝑛𝑒, ℎ𝑖𝑔ℎ, 𝑣. 𝑣. ℎ𝑖𝑔ℎ)〉, and 𝔹= 〈𝒞2, 𝕋(𝑙𝑜𝑤, 𝑚𝑒𝑑𝑖𝑢𝑚, ℎ𝑖𝑔ℎ), 𝕎(𝑣. ℎ𝑖𝑔ℎ, 𝑙𝑜𝑤, 𝑙𝑜𝑤), ℍ(𝑣. 𝑣. ℎ𝑖𝑔ℎ, ℎ𝑖𝑔ℎ, 𝑙𝑜𝑤) 〉} be two LNHSs. Then, the NHD can be calculated as:
![𝒟 (𝔸 , 𝔹) = 1 3(3) (|𝑚𝑒𝑑𝑖𝑢𝑚−𝑙𝑜𝑤| + |ℎ𝑖𝑔ℎ−𝑣. ℎ𝑖𝑔ℎ| + |𝑛𝑜𝑛𝑒−𝑣. 𝑣. ℎ𝑖𝑔ℎ| + |𝑙𝑜𝑤−𝑚𝑒𝑑𝑖𝑢𝑚| + |𝑙𝑜𝑤−𝑙𝑜𝑤| + |ℎ𝑖𝑔ℎ−ℎ𝑖𝑔ℎ| + |ℎ𝑖𝑔ℎ−ℎ𝑖𝑔ℎ| + |𝑛𝑜𝑛𝑒−𝑙𝑜𝑤| + |𝑣. 𝑣, ℎ𝑖𝑔ℎ−𝑙𝑜𝑤|) To solve this, we consider the fuzzy values from [28]. 𝒟 (𝔸 , 𝔹) = 1 3(3) (|0.5 −0.4| + |0.6 −0.7| + |0.0 −0.8| + |0.4 −0.5| + |0.4 −0.4| + |0.6 −0.6| + |0.6 −0.6| + |0.0 −0.4| + |0.8 −0.4|) 𝒟 (𝔸 , 𝔹) = 1 3(3) (1.9) = 0.211 = 𝑣. 𝑣. 𝑙𝑜𝑤](https://americaspg.com/storage/fulltext/3892/e7d11d51b7eb1aed/eq-3.png)
ℂ) for 𝒾= {1,2,3, … , 𝑛}, Then, it satisfies the following axioms: 1. 𝒟 (𝔸 , 𝔹) ≥0, non-negativity 2. 𝒟 (𝔸 , 𝔹) = 𝒟 (𝔹, 𝔸 ) Associativity 3. 𝒟 (𝔸 , 𝔹) = 0 𝑖𝑓 𝑎𝑛𝑑 𝑜𝑛𝑙𝑦 𝑖𝑓 (𝔸= 𝔹) Invertible 4. 𝒟 (𝔸 , 𝔹) + 𝒟 (𝔹 , ℂ) ≥𝔻(𝔸 , ℂ) The axioms validation is done using python code (find in Appendix section) See the Figure 1, with above stated results.
𝔸) for 𝒾= {1,2,3, … , 𝑛}, then Normalized Euclidean distance (NED) between 𝔸 & 𝔹 LNHSs is defined as:

𝔸) for 𝒾= {1,2,3, … , 𝑛}, then for ℷ> 0 𝑎𝑛𝑑 ∑ 𝜔𝑖 𝑛 𝑖=1 = 1 the generalized weighted Euclidean distance (GWD) for between 𝔸 & 𝔹 LNHSs is defined as;
1 ℷ 𝑛 𝒾 For the 𝑤𝑒𝑖𝑔ℎ𝑡𝑠 = [0.4, 0.3, 0.3] the GWD between 𝐴 𝑎𝑛𝑑 𝐵= 0.089 = 𝑣. 𝑣. 𝑣. 𝑙𝑜𝑤 The comparison for all the three distances is presented below in figure 2.
𝔸) for 𝒾= {1,2,3, … , 𝑛}, then Similarity measure (SM) between 𝔸 & 𝔹 LNHSs is defined as: 𝒮 (𝔸 , 𝔹) = 1 −
𝔹|〉 𝑛 𝒾 Example 3.7 Consider data from example 3.2 𝒮 (𝔸 , 𝔹) = 1 −
![1 𝔹|〉 𝑛 𝒾 3𝑛 ∑ 〈|𝛵𝒾 𝔸−𝛵𝒾 𝔹| + | 𝐼𝒾 𝔸− 𝐼𝒾 𝔹| + | 𝐹𝒾 𝔸− 𝐹𝒾 𝒮 (𝔸 , 𝔹) = 1 − 1 3(3) (|𝑚𝑒𝑑𝑖𝑢𝑚−𝑙𝑜𝑤| + |ℎ𝑖𝑔ℎ−𝑣. ℎ𝑖𝑔ℎ| + |𝑛𝑜𝑛𝑒−𝑣. 𝑣. ℎ𝑖𝑔ℎ| + |𝑙𝑜𝑤−𝑚𝑒𝑑𝑖𝑢𝑚| + |𝑙𝑜𝑤−𝑙𝑜𝑤| + |ℎ𝑖𝑔ℎ−ℎ𝑖𝑔ℎ| + |ℎ𝑖𝑔ℎ−ℎ𝑖𝑔ℎ| + |𝑛𝑜𝑛𝑒−𝑙𝑜𝑤| + |𝑣. 𝑣, ℎ𝑖𝑔ℎ−𝑙𝑜𝑤|) To solve this, we consider the fuzzy values from [28]. 𝒮 (𝔸 , 𝔹) = 1 − 1 3(3) (|0.5 −0.4| + |0.6 −0.7| + |0.0 −0.8| + |0.4 −0.5| + |0.4 −0.4| + |0.6 −0.6| + |0.6 −0.6| + |0.0 −0.4| + |0.8 −0.4|) 𝒮 (𝔸 , 𝔹) = 0.788 = 𝑣. 𝑣. ℎ𝑖𝑔ℎ Proposition 3.8 Let 𝔸= 𝒜𝒾 , 𝔹= ℬ𝒾 and ℂ= 𝐶𝒾 be three L](https://americaspg.com/storage/fulltext/3892/e7d11d51b7eb1aed/eq-10.png)
ℂ) for 𝒾= {1,2,3, … , 𝑛}, Then, it satisfies the following axioms: 1. 0 ≤𝒮 (𝔸 , 𝔹) ≤1. 2. 𝒮 (𝔸 , 𝔹) = 1 𝑖𝑓𝑓 𝔸= 𝔹 ; 3. 𝒮 (𝔸 , 𝔹) = 𝒮 (𝔹, 𝔸 ). 4. If 𝔸 ⊂ 𝔹⊂ℂ. then 𝒮 (𝔸 , ℂ) ≤ 𝒮 (𝔸 , 𝔹). 𝑎𝑛𝑑 𝒮 (𝔸 , ℂ) ≤ 𝒮 (𝔹, ℂ) The axioms validation is done using python code (find in Appendix section) See the Figure 3, with above stated results.
𝔸) for 𝒾= {1,2,3, … , 𝑛}, then for ℷ> 0 𝑎𝑛𝑑 ∑ 𝜔𝑖 𝑛 𝑖=1 = 1 the generalized weighted similarity measure (GWSM) for between 𝔸 & 𝔹 LNHSs is defined as;
![1 ℷ 𝑛 𝒮ℷ (𝔸 , 𝔹) = 1 − 1 ℷ+ | 𝐼𝒾 ℷ+ | 𝐹𝒾 ℷ〉] 3𝑛 ∑𝜔𝑖 [〈|𝛵𝒾 𝔸−𝛵𝒾 𝔹| 𝔸− 𝐼𝒾 𝔹| 𝔸− 𝐹𝒾 𝔹| 𝒾 For the 𝑤𝑒𝑖𝑔ℎ𝑡𝑠 = [0.4, 0.3, 0.3] the GWS between 𝐴 𝑎𝑛𝑑 𝐵 = 0.9105 = 𝑣. 𝑣. 𝑣. ℎ𝑖𝑔ℎ](https://americaspg.com/storage/fulltext/3892/e7d11d51b7eb1aed/eq-12.png)
4. Numerical illustration
In this study, we integrate machine-learning techniques to analyze weather uncertainty using the proposed distance and similarity measures within the linguistic neutrosophic hypersoft set environment. First, historical weather data, including parameters such as temperature, wind speed, and precipitation, is transformed into linguistic terms to handle the inherent uncertainty in weather patterns. These linguistic values are then modeled using a linguistic neutrosophic hypersoft set, assigning degrees of truth, indeterminacy, and falsity to each criterion. To analyze the data, we apply the proposed distance and similarity measures to quantify the relationship between different weather conditions. To classify weather patterns, Fuzzy C-Means (FCM) clustering is used, which help us detect uncertain weather conditions. The distances and similarities have been calculated to use them to train Support Vector Machines (SVM) and to classify weather conditions into "uncertain" or "stable". By combining these methods, one can analyze weather uncertainty more flexibly, incorporating both machine learning and mathematical modeling approaches that may enhance the decision-making ability in weather prediction.
4.1 Data Collection and Preprocessing
Gathering historical data of 50 different cities of Pakistan. The data has been retrieved from https://www.kaggle.com/datasets/ahmddbilall/pakistan-weather?resource=download Only temperature, wind speed, and precipitation has been considered as a potential attribute to model the weather uncertainty problem. The data is then converted into linguistic neutrosophic quantifiers from (None - Perfect) by assigning, degrees of truth, indeterminacy, and falsity to each attribute. Consider 𝐶= {𝐶1, 𝐶2, … , 𝐶50} 𝑏𝑒 fifty cites as alternatives, and DM wants to find the weather similarities. The goal should be to identify the cities with the same weather conditions, while minimizing any unintended negative consequences. Consider the parameters be: 𝛼1 = 𝑡𝑒𝑚𝑝𝑒𝑟𝑎𝑡𝑢𝑟𝑒, 𝛼2 = wind speed, and 𝛼3 = precipitation. Then the function.
Step1: Construction of neutrosophic linguistic preference table for alternatives
![[ 𝑁𝐿𝑉−𝐻𝑆𝑊𝐺𝐴𝑂 𝑣𝑎𝑙𝑢𝑒𝑠 𝐶𝑖𝑡𝑖𝑒𝑠 (𝑣. ℎ𝑖𝑔ℎ, 𝑙𝑜𝑤, 𝑣. 𝑙𝑜𝑤) (𝑚𝑒𝑑𝑖𝑢𝑚, 𝑙𝑜𝑤, 𝑛𝑜𝑛𝑒) (ℎ𝑖𝑔ℎ, 𝑚𝑒𝑑𝑖𝑢𝑚, 𝑛𝑜𝑛𝑒) (𝑚𝑒𝑑𝑖𝑢𝑚, 𝑙𝑜𝑤, 𝑚𝑒𝑑𝑖𝑢𝑚) 𝐶1 𝐶2 𝐶3 𝐶4 (𝑚𝑒𝑑𝑖𝑢𝑚, 𝑙𝑜𝑤, 𝑙𝑜𝑤) 𝐶5 = 𝐶6 (ℎ𝑖𝑔ℎ, ℎ𝑖𝑔ℎ, 𝑙𝑜𝑤) (ℎ𝑖𝑔ℎ, 𝑚𝑒𝑑𝑖𝑢𝑚, ℎ𝑖𝑔ℎ) (𝑝𝑒𝑟𝑓𝑒𝑐𝑡, 𝑛𝑜𝑛𝑒, 𝑛𝑜𝑛𝑒) (𝑣. ℎ𝑖𝑔ℎ, 𝑙𝑜𝑤, 𝑚𝑒𝑑𝑖𝑢𝑚) 𝐶7 𝐶8 𝐶9 ⋮ 𝐶50 ⋮ (𝑙𝑜𝑤, 𝑣. 𝑙𝑜𝑤, ℎ𝑖𝑔ℎ) ]](https://americaspg.com/storage/fulltext/3892/e7d11d51b7eb1aed/eq-15.png)
Step3: List the aggregated values of all the alternatives ℴ𝑖
![[ 𝑎𝑔𝑔𝑟𝑒𝑔𝑎𝑡𝑒𝑑 𝑣𝑎𝑙𝑢𝑒𝑠 𝐶𝑖𝑡𝑖𝑒𝑠 ℎ𝑖𝑔ℎ 𝑚𝑒𝑑𝑖𝑢𝑚 𝐶1 𝐶2 𝐶3 ℎ𝑖𝑔ℎ 𝑚𝑒𝑑𝑖𝑢𝑚 𝑚𝑒𝑑𝑖𝑢𝑚 𝑣. 𝑣. 𝑣. ℎ𝑖𝑔ℎ 𝐶4 𝐶5 = 𝐶6 𝐶7 ℎ𝑖𝑔ℎ 𝑝𝑒𝑟𝑓𝑒𝑐𝑡 𝐶8 𝐶9 𝑣. ℎ𝑖𝑔ℎ ⋮ 𝐶50 ⋮ 𝑙𝑜𝑤 ]](https://americaspg.com/storage/fulltext/3892/e7d11d51b7eb1aed/eq-17.png)
Step4: Rank the alternative with highest truthiness (𝛵) value, that shows 𝐶6 as the best alternative.
4.2 Calculation of Distance and Similarity Measures
We calculate the distance and similarity measures (presented in Table 2) proposed in section 3, to measure the uncertainty of weather data. The data is then quantified through the linguistic neutrosophic representations of temperature, wind speed and precipitation (as we will see later) and applied to each city to capture how much uncertainty they can introduce to weather forecasts. The distance measure indicates the degree of variation between different weather conditions, how far they are from each other. In contrast, the similarity measure evaluates just how similar (equivalent) are the weather states with respect to some patterns or correlations. When we evaluate the data from these calculations, it helps us understand the heterogeneity and complexity of conditions in these cities. This analysis is crucial for decision-making processes that rely on accurate and nuanced weather predictions.
C7 0.024113927 0.975886073 C32 0.015634719 0.984365281
C8 0.021430335 0.978569665 C33 0.016887427 0.983112573
C9 0.018087578 0.981912422 C34 0.009094836 0.990905164
C10 0.060929022 0.939070978 C35 0.030651365 0.969348635
C11 0.018087578 0.981912422 C36 0.025603819 0.974396181
C12 0.021285827 0.978714173 C37 0.01435872 0.98564128
C13 0.012813958 0.987186042 C38 0.020214895 0.979785105
C14 0.01692394 0.98307606 C39 0.023908261 0.976091739
C15 0.02116951 0.97883049 C40 0.031289173 0.968710827
C16 0.020306297 0.979693703 C41 0.012813958 0.987186042
C17 0.011055416 0.988944584 C42 0.011111111 0.988888889
C18 0.019277057 0.980722943 C43 0.014315665 0.985684335
C19 0.02116951 0.97883049 C44 0.009026709 0.990973291
C20 0.031308895 0.968691105 C45 0.016887427 0.983112573
C21 0.029439203 0.970560797 C46 0.006382847 0.993617153
C22 0.023985592 0.976014408 C47 0.015674151 0.984325849
C23 0.01692394 0.98307606 C48 0.011111111 0.988888889
C24 0.015791856 0.984208144 C49 0.011111111 0.988888889
C25 0.024820342 0.975179658 C50 None None
4.3 Clustering with Fuzzy C-Means (FCM)
FCM is used to classify similar weather patterns with LNHSs distance and similarity measures. We can identify the weather conditions (patterns leading to storms, clouds etc.) despite the uncertainty and complexity of dataset. The results and the cluster formation within the data are shown in Figure 4 and Figure 5 and are calculated using Python programming.
Results obtained from the Fuzzy C-Means (FCM) analysis showed that this method is efficient in classifying and clustering cities according to their weather attributes. The FCM clustering results present a more nuanced perspective by assigning degrees of membership for cities within different climate groups. This methodology suggests that climate conditions are not fit and do not fall purely into one category.
4.4 Classification with Support Vector Machines (SVM)
The SVM technique is used to classify weather conditions as “uncertain” or “stable” based on the LNHSs based similarity measures. The distance measures can serve as input features for SVM, which will then predict the likelihood of uncertain weather. The results (presented in Figure 6) of SVM successfully categorized cities into distinct climate classes, providing a clear framework for understanding and comparing different climatic zones.
4.5 Sensitivity Analysis:
The sensitivity analysis of the SVM, FCM, GWDM and WSM is carried out to see how different values of attributes affect the performance and results output by each method. For SVM, adjusting with the regularization parameters: C, kernel type and gamma showed how the model accuracy changes when having a simple or a more complex data. The FCM analysis, considering the number of clusters and the fuzziness parameter (m), demonstrates how cities are grouped based on weather patterns, emphasizing the balance between distinct clustering and recognizing overlap in data.
The effect of change in weather attributes in the GWDM model has been illustrated by changing parameter value `lambda` and attribute weights. It shows how changing values affect the distance between cities as well. Results show that DM must pay attention to select appropriate weights when calculating the similarities presented in Figure 7. Similarly, the WSM analysis is done by changing the weights of each weather parameter to study the impact in classification and results are calculated. The results show that the increase in attributes has a significant impact on the classification. The right selection of parameters provides robustness and helpfulness to study the different clustering within the data set.
5. Result Discussion and Effectiveness of the Methods
The study proposes a novel approach to evaluate cities in detail about explicit weather attributes, using Support Vector Machine (SVM), Fuzzy C-Means (FCM) Clustering, and LNHSs based Generalized Weighted Euclidean Distance, and finally LNHSs based Generalized Similarity Measures. By grouping cities into different meteorological categories, SVM becomes a powerful tool to deal with the complexity and non-linearity of the data. It is beneficial, for example, when there is a need to determine some regions, which are most suitable for different crops under certain conditions. FCM clustering is used to classify the land into distinct climate categories, which cannot be done physically. By doing this, it helps us find how real weather patterns have vagueness and how it is useful in resource allocation.
The use of LNHSs based Generalized Weighted Euclidean Distance (GWED) and LNHSs based Generalized Similarity Measures (GSM) calculate similarity between cities based on weather attributes. These results help us to understand the distinctions in different cities and to cluster the cities. Hence, this comparison in forecasting and strategic planning, especially in sectors like agriculture, energy management, or urban development will be very useful. Recent advancements in fuzzy systems and machine learning have tackled uncertainty across diverse fields [44-45]. It includes type-2 fuzzy system [46], T-S fuzzy in time delay [47], and robust decision-making methods using the concepts of [48-49]. Future advancements can be made in the following directions as well to enhance the literature broadness [50-52].
Limitations: The main limitation of the study is the errors caused by the quality and completeness of weather data. Secondly, the introduction of linguistic quantifiers introduces subjectivity, improbability, and simplification from dynamic weather conditions to limited attributes that may neglect interrelationships. Lastly, the static nature of SVM and FCM analysis creates only a historical view, thus requiring constant updates of data that would account for the dynamic behavior of climate.
Future directions: More attributes like air pressure, rainfall, dryness, air quality, and precipitation patterns can be used to study the interrelationship of weather. Consideration of dynamic clustering and data assimilation can be incorporated to enhance the adaptability to weather changes. This model could be improved with the integration of GIS data to include a spatial dimension. Advanced machine learning models (Neural Networks, Random Forests) can be used.
6. Conclusion
The paper presents a novel framework for smart farming decision-making problems. It integrates machine learning (ML) approaches such as Support Vector Machine (SVM) and Fuzzy C-Means (FCM) clustering with generalized distance and similarity measures in a linguistic neutrosophic hypersoft set environment. It uses Machine Learning for real sensor data analysis in the case of predicting weather patterns and Linguistic Neutrosophic terms to express indeterminacy, and falsity resulting in a more accurate evaluation of imprecise information. Cities are ranked using generalized similarity measures between the cities in order of their scores based on selected variables of interest, e.g. temperature, wind speed, or humidity. The results of this study show that, under uncertain and dynamic environmental conditions, an integrated approach helps to determine which options are fitter for the management of their land's potential resources while providing the rest of farming resilience.
The study allows us to deal with weather-related uncertainty in a more flexible aspect compared to existing methods, which is highly beneficial for smart farming. The addition of more environmental factors and enhanced definitions of distance and similarity measures can be useful in gaining more accuracy. This model could be a useful decision-support tool in problems where the study of uncertainty is vital, including climate resilience and environmental sustainability. Thus, proposed methods can be used in strategic planning and resource allocation for environmental sustainability.
Acknowledgements
Supplementary Materials: The data and sources codes can be provided on demand.
Author Contributions: Conceptualization, methodology, writing—Muhammad Saqlain does original draft; Poom Kumam does the Supervision and Wiyada Kumam does review of final draft, and the funding acquisition.
Data Availability Statement: The data and sources codes can be provided on demand.
Acknowledgments and Funding: This work was supported in part by the Petchra Pra Jom Klao Ph.D. Research Scholarship from King Mongkut’s University of TechnologyThonburi (KMUTT) under Grant 49/2565; and in part by the National Science, Research and Innovation Fund, Thailand Science Research and Innovation (TSRI) through Rajamangala University of Technology Thanyaburi under Grant FRB67E0602 and Grant FRB670027/0168. In addition, this research has received partial partner CaRe Global Network Project funding support from the NSRF via the Program Management Unit for Human Resources & Institutional Development, Research and Innovation [grant number B41G680025].
Conflicts of Interest: No conflict of interest to declare.