We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm following this example: https://deap.readthedocs.io/en/master/examples/pso_basic.html
when I run it, it shows be the following error
AttributeError: module 'deap.creator' has no attribute 'Particle'
When I check the codebase, I only see it defined in examples.
The text was updated successfully, but these errors were encountered:
You need to make sure this line gets called, it is the one that will create the class on the fly.
creator.create("Particle", list, fitness=creator.FitnessMax, speed=list, smin=None, smax=None, best=None)
Sorry, something went wrong.
No branches or pull requests
I'm following this example: https://deap.readthedocs.io/en/master/examples/pso_basic.html
when I run it, it shows be the following error
When I check the codebase, I only see it defined in examples.
The text was updated successfully, but these errors were encountered: