In my ANN, I had 45 inputs in total and 1 output (efficiency). This ANN has been created. Now I want to use this trained ANN and PSO to solve this problem:
- 39 of the inputs are fixed. I have already initialized and normalized (mapminmax) these.
- 6 of the inputs will be chosen by PSO with the help of the trained ANN so that the efficiency (output in ANN) is maximized.
- Therefore the output of the PSO function shall be the 6 variable inputs (inputs in trained ANN).
I am unsure about how to call the trained ANN and how to input the 39 fixed and 6 random variable inputs to the PSO function so that it can return the (6) optimized variable inputs.