-
Notifications
You must be signed in to change notification settings - Fork 59
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
no method matching NLSolversBase.NonDifferentiable #69
Comments
You need to provide overriding for the Evolutionary.jl/src/api/types.jl Lines 113 to 120 in 30d677f
|
Thank you for replying. I've thought (and searched) about it long and hard, but I'm unable to figure out how I'm supposed to approach this, because of the lack of documentation for the JuliaNSolvers and mostly because of my inexperience. I'm quite new to the Julia environment and still trying to figure things out, although I'm hopeful and excited to learn about it more. |
I added an example of supervised learning problem by GA optimization of multi-layer perceptrons, see the notebook in examples/MLP.ipynb It shows how to fill some missing functionality, when the individuals are custom types (not arrays). For starters, you need to create a |
I've been trying to run GA on my custom structure,
Organism
, but it's giving the following error:Error
The
init_organism
function initializes an object of typeOrganism
and returns it, while thefitness
function takes anOrganism
as input and returns aNumber
as fitness value. I haven't defined the crossover and mutation functions for now, as I only want to see if the GA is being initialized well.After a thorough search, I'm unable to figure out the way to solve this problem/error. If anyone could give me some helpful pointers to solve this error message, I'd be grateful. Thanks
The text was updated successfully, but these errors were encountered: