Skip to main content
. 2022 Nov 30;19(23):15959. doi: 10.3390/ijerph192315959
Algorithm 1: Cluster Algorithms
Step 1: CH scores determine the number of categories
Step 2: FCM algorithm for cluster analysis
   Input: Truck braking behavior data X={x1,x2,,xN}, number of categories K, and threshold terminating iterations ε.
   Initialization: Take the random value of [0, 1] to initialize membership degree matrix U0; assume that the initial value of the number of iterations is h = 1.
   Iterations: Solve the cluster center based on Equation (1).
        Solve the new membership degree based on Equation (2).
        Solve the objective function based on Equation (3).
        h = h + 1.
   Conditions for terminating iterations: |Jh+1Jh|ε, where ε is usually 0.0000001.
   Output: Cluster results