Open AmosJoseph opened 12 months ago
It can train models built in Keras and PyTorch.
Here you can find examples for training PyTorch models: https://github.com/ahmedfgad/GeneticAlgorithmPython/tree/master/examples/TorchGA
Thank you for your reply! The neural net has been trained and tested with good accuracy.
Then how to maximize the output of the neural net in the input domain?
发自我的iPhone
------------------ Original ------------------ From: Ahmed Gad @.> Date: Fri,Jul 14,2023 10:43 PM To: ahmedfgad/GeneticAlgorithmPython @.> Cc: AmosJoseph @.>, Author @.> Subject: Re: [ahmedfgad/GeneticAlgorithmPython] maximize the output of a builtneural net( by pytorch) with continuous and discrete/integer variables (Issue#220)
Do you you mean change the inputs (not the neural network itself) so that their outputs are accurate? If this is the case, then yes it can be done. Although there is no example yet, it can be developed easily.
Yes. Find the inputs (not the neural network itself) so that their outputs are maximum.
Then how to implement this?
Best!
发自我的iPhone
------------------ Original ------------------ From: Ahmed Gad @.> Date: Fri,Jul 14,2023 10:55 PM To: ahmedfgad/GeneticAlgorithmPython @.> Cc: AmosJoseph @.>, Author @.> Subject: Re: [ahmedfgad/GeneticAlgorithmPython] maximize the output of a built neural net( by pytorch) with continuous and discrete/integer variables (Issue #220)
Do you you mean change the inputs (not the neural network itself) so that their outputs are accurate? If this is the case, then yes it can be done. Although there is no example yet, it can be developed easily.
— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>
Sorry for the long time to follow up. Just decided to reply in case it would still be helpful even for someone else.
Then what evolves is the inputs. Here are the steps:
num_genes
parameter to the length of a single input.
Hi, can this library be used to maximize the output of a well-built neural net( by pytorch) with continuous and discrete/integer (1, 2, 3 ) variables?
Is there any example?
Best!