Research Article

Firefly Algorithm for Explicit B-Spline Curve Fitting to Data Points

Table 1

Best and average values of , RMSE, AIC, and BIC fitting errors of the first example for different values of from 0.1 to 0.9 (best results are highlighted in bold).


(best): 4.06737 (best): 4.13276 (best):
(avg.):4.53278 (avg.): 5.08751 (avg.):
RMSE(best): 0.11624 RMSE(best): 0.11717 RMSE(best):
RMSE(avg.): 0.12271 RMSE(avg.): 0.13000 RMSE(avg.):
AIC(best): 588.3019 AIC(best): 593.1025 AIC(best):
AIC(avg.):620.9119 AIC(avg.): 655.6633AIC(avg.):
BIC(best):895.9921 BIC(best): 900.7927BIC(best):
BIC(avg.):928.6021 BIC(avg.): 963.3534BIC(avg.):


(best): 3.75236 (best): 3.84178 (best): 4.33295
(avg.): 4.02171 (avg.): 4.00119 (avg.): 5.12274
RMSE(best): 0.11165 RMSE(best): 0.11297 RMSE(best): 0.11997
RMSE(avg.): 0.11559 RMSE(avg.): 0.11529RMSE(avg.):0.13045
AIC(best): 564.0378 AIC(best): 571.1274 AIC(best): 607.3408
AIC(avg.):584.9038 AIC(avg.): 583.3645AIC(avg.): 657.7405
BIC(best): 871.7280 BIC(best): 878.8175BIC(best): 915.0309
BIC(avg.):892.5940 BIC(avg.): 891.0546BIC(avg.):965.4306


(best): 6.31058 (best): (best):
(avg.):6.97132 (avg.): (avg.):
RMSE(best): 0.14479 RMSE(best): RMSE(best):
RMSE(avg.): 0.15218 RMSE(avg.): RMSE(avg.):
AIC(best): 720.5105 AIC(best): AIC(best):
AIC(avg.):750.4831 AIC(avg.): AIC(avg.):
BIC(best):1028.2006 BIC(best): BIC(best):
BIC(avg.):1058.1733 BIC(avg.): BIC(avg.):