필터 지우기
필터 지우기

how to give input timeseries daily data into ANFIS

조회 수: 3 (최근 30일)
Rose Johny
Rose Johny 2021년 3월 18일
답변: surya venu 2024년 4월 4일
i have daily data for a period of 40 years, i need to do ANFIS training using this data. i need system to process date, so that in graph i can see my values against the data

답변 (1개)

surya venu
surya venu 2024년 4월 4일
Hi,
To perform ANFIS training, you can follow these steps:
  1. Load your data into MATLAB. Make sure it is in a suitable format, such as a matrix or table, with the dates as one column and the corresponding values in another column.
  2. Convert the "dates" into a numerical format that can be used for training ANFIS. MATLAB has built-in functions like "datenum" or "datetime" that can help with this conversion. Here's the documentation link for both: https://www.mathworks.com/help/matlab/ref/datenum.html https://www.mathworks.com/help/matlab/ref/datetime.html
  3. Prepare your data for ANFIS training by splitting it into input and output variables. The input variables will be the dates, and the output variables will be the corresponding values.
  4. Train the ANFIS model using the "anfis" function in MATLAB. This function allows you to specify the number of membership functions, the type of membership functions, and other training options.
  5. Once the ANFIS model is trained, you can use it to make predictions on new dates or visualize the results. You can plot the predicted values against the original dates using MATLAB's plotting functions like "plot" or "scatter".
Hope it helps.

카테고리

Help CenterFile Exchange에서 Database Toolbox에 대해 자세히 알아보기

태그

제품


릴리스

R2020b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by