Research Article
Ship Detention Situation Prediction via Optimized Analytic Hierarchy Process and Naïve Bayes Model
Algorithm 1
Quantification method for calculating the judgement matrix.
Input: PSC inspection dataset | Output: judgement matrix | is the number of elements at the same hierarchy and previous hierarchy. | , represents the rank of intervals from large to small. | Calculate the probability of elements (deficiencies) using equation (2). | Rank elements from large to small based on . | ifdo: | Entrust value from 1 to 9 based on human judgement considering . | else if or do: | based on the rank of elements | else ifdo: | Divide range into 9 intervals on average. | ifdo: | . | end if | end if | Calculate the judgement matrix using equation (1). |
|