I use Design Expert to generate regression equations from raw input data. These regression equations are integrated into MATLAB to perform genetic algorithm single and multi-objective optimisation using the MATLAB optimisation tool. I've been looking to utilise ANFIS using the MATLAB fuzzy logic designer to fine tune the raw data, so that the fine tuned input data and output data can be used for the optimisation instead.
However, the exports I get from the ANFIS simulation results are not (in my opinion) very clear regarding how I can use these fine-tuned datasets subsequent to training the model and obtaining the Root mean square errors. How can one determine the fine tuned input and output data after the training is complete? I see that the training model generates ranges for each of my membership functions per input but from that range, it is difficult to ascertain whether it can give me a specific dataset of values for input and output compared to the raw input and output data that was entered.
The steps I have performed thus far:
1. I used 85% (26) of the total data set (30) to train the Sugeno model
2. I used the remaining 15% (4) of the total data set to validate, from which I got tuned predictions of the 4 reference outputs.
3. From my observation, System Validation takes the trained model and gives 'tuned' predicted values of any dataset that is used for validation.
4. In this regard, it is my assumption that by inputting the full 30 reference data sets would give me tuned versions of themselves as tuned output values, which I can re-inject into Design Expert to obtain a 'tuned' regression equation, to be used for MATLAB's genetic algorithm optimisation.
5. After trying this, I did get higher R squared values for the regression equation as well, which "kind" of confirmed that this works. However, I have not seen this be done anywhere, nor do I know if my interpretation of how to use the
system validation via the fuzzy logic designer to get these tuned outputs is correct.
I've also attached a code script that was formulated without the use of the Fuzzy Logic Designer tool to try and ascertain the problem. The 'idea' centres around re-integrating the 30 datasets into the validation step this time (even though 26 of them were used to train in the first place), but for the purpose of obtaining tuned versions of themselves before using the tuned versions in Design Expert for generating a 'tuned' regression equation for MATLAB's GA Optimisation. Does this make sense?
I am unsure if these are the right steps. Any advice would be greatly appreciated.