Research Article

Spatial-Temporal Data Integration Modeling and Dynamic Simulation of Coal-Rock Dynamic Disasters

Algorithm 1

This algorithm optimizes SVM parameters.
(1)% objective function
(2)fun = @getobjValue; % fitness function
(3)% number of optimization parameters (c, g)
(4)dim = 2;
(5)% the lower limit of the optimization parameter
(6)lb = [10^-1, 2^-5];
(7)ub = [10^1, 2^4];
(8)pop = 10; % number of sparrows
(9)max_iteration = 20; % the maximum number of iterations