Running a table through a Fuzzy system and getting a readable output?
3 次查看(过去 30 天)
显示 更早的评论
Hi there, I was wondering how you can run a table of data through a fuzzy inference system? I can import the table, can create the fuzzy model, but I don't know how to use evalfis to process each row of data and get an output.
For a bit more info, I have imported the csv table successfuly using the readtable(filename) command and created a basic fuzzy model for testing called "patientfis". I just can't find the command I need to process the table data. and output it to table.
0 个评论
回答(1 个)
Vidip
2024-1-17
I understand that you want to know about ‘evalfis’ function and how to use it. This function takes an FIS and a matrix of input values, where each row of the matrix corresponds to one set of inputs to the FIS. The output of evalfis will be a matrix where each row corresponds to the FIS output for the corresponding row of inputs.
Since you have your data in a table and a fuzzy model called patientfis, you will need to convert the relevant columns of the table to a matrix, run evalfis, and then, if you wish, store the results back into a table.
For further information, refer to the documentation link below:
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Fuzzy Logic Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!