how to minimize one of the output and maximize the other output of the trained neural network with in the given lower and upper bound using the ga.
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
i trained a neural network which has 3 input parameters and 2 outputs, if i want to minimize both the outputs i am using
objFcn = @(t) sim(net,t'); Where as if i want to maximize the both of the outputs i am using
objFcn = @(t) 1./sim(net,t'); and then after giving this as an objective function then i am giving commands in the command windows like this
nvars =3; LB= [40,10,6]; UB =[85,135,36]; [X,FVAL]=gamultiobj(objFcn,nvars,[],[],[],[].LB,UB)
now my question is , what should i do to maximize one of the output and minimize the other? i tried seperating the outputs and writing them in a function file ,but it didn't work plz give me some example . i hope i was able to make the question clear enough.
2 comentarios
Greg Heath
el 21 de Jun. de 2015
I must be missing something. This makes no sense to me. Please give the simplest example of an input and target for such a scenario.
Respuestas (0)
Ver también
Categorías
Más información sobre Function Approximation and Clustering en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!