optimizing neural network with NSGA-II

hello
I have a neural network structure of my data and I want to do a multiobjective optimization for example with NSGA-II. How could I connect my ANN to NSGA-II?
I tried the next code:
[x_ga1,fval_ga1,~,gaoutput1] = gamultiobj(fun,nvar,A,b,Aeq,beq,lb,ub,opts_ga);
where "fun" is my ANN function. but It makes an error!!

Answers (1)

feze
feze on 18 Jul 2024
Hello
I have the same problem as you to solve. Could you please let me know how you addressed your problem?
Thanks

Products

Release

R2018a

Asked:

on 24 May 2019

Answered:

on 18 Jul 2024

Community Treasure Hunt

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

Start Hunting!