Skip to content

Hamid-Nasiri/Recurrent-Fuzzy-Neural-Network

Repository files navigation

MFRFNN: Multi-Functional Recurrent Fuzzy Neural Network for Chaotic Time Series Prediction

Introduction

MFRFNN: Multi-Functional Recurrent Fuzzy Neural Network for Chaotic Time Series Prediction

Authors: Hamid Nasiri, Mohammad Mehdi Ebadzadeh

Abstract: Chaotic time series prediction, a challenging research topic in dynamic system modeling, has drawn great attention from researchers around the world. In recent years extensive researches have been done on developing chaotic time series prediction methods, and various models have been proposed. Among them, recurrent fuzzy neural networks (RFNNs) have shown significant potential in this area. Most of the proposed RFNNs learn a single function, but when dealing with chaotic time series, different outputs may be generated for a specific input based on the system’s state. So, a network is required that can learn multiple functions simultaneously. Based on this concept, a novel multi-functional recurrent fuzzy neural network (MFRFNN) is proposed in this paper. MFRFNN consists of two fuzzy neural networks with Takagi-Sugeno-Kang fuzzy rules, one is used to produce the output, and the other to determine the system’s state. There is a feedback loop between these two networks, which makes MFRFNN capable of learning and memorizing historical information of past observations. Employing the states allows the proposed network to learn multiple functions simultaneously. Moreover, a new learning algorithm, which employs the particle swarm optimization algorithm, is developed to train the networks’ weights. The effectiveness of MFRFNN is validated using the Lorenz and Rossler chaotic time series and four real-world datasets, including Box-Jenkins gas furnace, wind speed prediction, Google stock price prediction, and air quality index prediction. Based on the root mean square error, the proposed method shows a decrease of 35.12%, 13.95%, and 49.62% from the second best methods in the Lorenz time series, Box-Jenkins gas furnace, and wind speed prediction dataset, respectively.

This repository contains MATLAB source code of the following paper:

MFRFNN: Multi-Functional Recurrent Fuzzy Neural Network for Chaotic Time Series Prediction

Source Code and Dataset

To run the code simply execute main.m

Datasets: The Benchmarks folder contains several time series datasets used for testing and evaluating the code. We summarize these files, and provide their original sources, here:

  • Lorenz20000.mat corresponds to the Lorenz System. The fourth-order Runge-Kutta method was used to generate samples.
  • Rossler12700.mat corresponds to the Rossler System. The fourth-order Runge-Kutta method was employed to generate samples.
  • Box-Jenkins_Gas_Furnace_Problem.mat corresponds to the Box-Jenkins gas furnace, a well-known time series forecasting problem.
  • Wind_Speed_Prediction.mat corresponds to the wind speed prediction problem. The datase is obtained from the Iowa Department of Transport's website. The data was collected from the Washington station during a one-month period (February 2011), sampled every ten minutes, and averaged hourly.
  • Google_Stock_Price.mat corresponds to the Google stock price prediction problem. The dataset was obtained from Yahoo Finance during a six-year period from 19-August-2004 to 21-September-2010.
  • PM2_Xstep.mat,PM10_Xstep.mat, SO2_Xstep.mat, NO2_Xstep.mat, CO_Xstep.mat, and O3_Xstep.mat correspond to the Air Quality Index (AQI) prediction probelm. The AQI dataset employed in this paper is collected from 12 observing stations around Beijing from year 2013 to 2017. The data is accessible at The University of California, Irvine (UCI) Machine Learning Repository.

Citation

This repository accompanies the paper "MFRFNN: Multi-Functional Recurrent Fuzzy Neural Network for Chaotic Time Series Prediction" by Hamid Nasiri and Mohammad Mehdi Ebadzadeh, published in Neurocomputing journal.

If you use either the code, datasets or paper, please consider citing the paper.

@article{nasiri2022mfrfnn,
  title={MFRFNN: Multi-Functional Recurrent Fuzzy Neural Network for Chaotic Time Series Prediction},
  author={Nasiri, Hamid and Ebadzadeh, Mohammad Mehdi},
  journal={Neurocomputing},
  year={2022},
  publisher={Elsevier}
}

Contact Me

If you have any questions, do not hesitate to reach me via Linkedin or email: h.nasiri@aut.ac.ir

Thank you so much for your attention.