-
#Train machine learning Model, MobileNet on RGB pre-processed sensor Data, EfficientNet on IR pre-processed #sensor #Data, RandomForest on Smoke pre-processed sensor Data, SVM on Gas pre-processed sensor
#Data, DecisionTree on Flame pre-processed sensor Data
#Get Class probabilities prediction from each Model for 5 different multi sensor for fire and NoFire.
ML1 = MobileNet(S1DP)
ML2 = EfficientNet(S2DP)
ML3 = Randomforest(S3DP)
ML4 = SVM(S4DP)
ML5 = DecisionTree (S5DP)
-
#adjusted prediction based on sensor status and model output is calculated.
#Percentage of weight (%) for calculating combined weight factor(PWC), Failure rate based on #historical data(FR), Calibration of sensors(CS), Sensor signal to Noise Ratio(SSNR), #performance of sensor by metrics(PSM), environmental impacted factors(EIF)
#Probabilistic model adjustment based on sensor reliability. each Model, gives probabilities for #fire and no fire:
If SiAD = 0 then--# If Si(sensor) is normal,
Else --# if Si(Sensor) is faulty
#where CWF< 1 is to reduce the confidence from faulty sensors.
# Si where i ranges from 1 to 5 of sensors S1, S2 … S5 which are RGB, IR, Gas, Smoke and Flame
#sensors and PK is a particular machine learning model respective to that sensor which are ML1, ML2, ML3, #ML4, ML5 from where probability is derived for fire and no fire.
-
#Combine the confidence score from all models (both normal and faulty sensors), Ensemble Fusion with Weighted #Confidence Scores
-
#Convert the class probabilities mi(fire), mi(no fire),mi(Θ)from each machine learning models into belief masses. #Fusion-Weighted Belief Mass Calculation
#Belief mass for fire
#Belief mass for no fire
#Where for Normal sensors weight factor will be set to 1, while faulty sensors factor is set less than 1 to reduce #their impact.
#Belief mass for entire hypothesis
-
#Dynamically Belief is calculated, the new belief is based on the latest sensor readings.
#Where α is a weighting factor between 0 and 1 that determines how much influence the previous
#belief mass has compared to the new evidence from the current sensor reading. 0.5 is used for
#Balanced approach as the IoT environment is assumed to be stable environments
-
#calculate the Hellinger Distance H(mi,mj) between each pair of belief masses
-
#Deng Entropy DE(mi) is calculated for each machine learning model of sensors, the belief masses are adjusted
#α controls how much weight the Hellinger Distance has in adjusting the belief mass.
-
8.
#Apply Dempster’s Rule of Combination iteratively for all pairs of belief masses
-
9.
#After combining the belief masses, compute the belief and plausibility for each class, The final belief mass mcombined #provides the combined evidence,
-
10.
#Dempster’s Rule is applied to combine belief masses mcombined(A) from all models, Repeated this combination #iteratively for all pairs of machine learning models of every multi sensors inputs
-
11.
#After combining the BPAs, calculated the belief and plausibility for each class Belief(A) and Plausibility(A)
-
12.
Determined the final prediction of fire based on belief and plausibility values
The final prediction was made based on the calculated belief and plausibility values: