Borrar filtros
Borrar filtros

how to give input timeseries daily data into ANFIS

3 visualizaciones (últimos 30 días)
Rose Johny
Rose Johny el 18 de Mzo. de 2021
Respondida: surya venu el 4 de Abr. de 2024
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

Respuestas (1)

surya venu
surya venu el 4 de Abr. de 2024
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.

Etiquetas

Productos


Versión

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by