The Journal of Grey System ›› 2022, Vol. 34 ›› Issue (1): 139-153.

Previous Articles     Next Articles

Commonality Refinement and Code Reuse of Grey Prediction Model Based on MATLAB

  

  • Online:2022-03-01 Published:2022-05-15

Abstract: This paper realizes the rapid development of the MATLAB of grey prediction models through public module call. Firstly, the multiple modeling steps of grey prediction models are divided into three types: Model, View, and Controller. Then, it is analyzed which steps are completely common to all models. Finally, these steps are encapsulated into general modules similar to JavaBean. These modules can be called program building blocks for compiling grey prediction modeling software, which greatly improves the development efficiency, reduces code redundancy, and improves the stability of the software. This is of great value to the popularization of grey prediction models.