Skip to content
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

How to plot the convergence? #220

Closed
brett18618 opened this issue Aug 2, 2019 · 11 comments
Closed

How to plot the convergence? #220

brett18618 opened this issue Aug 2, 2019 · 11 comments
Labels
question Further information is requested

Comments

@brett18618
Copy link

Thank you for your work first. Could you tell me is there a method to plot the convergence with x axis is iteration numbers and y is the fitness function values?

@firefly-cpp
Copy link
Contributor

Hi @brett18618 ,

Thanks!

Convergence plot is captured in this example. However, it is tailored to the nFES.

EXAMPLE

Do you prefer number of iterations on x?

@brett18618
Copy link
Author

brett18618 commented Aug 2, 2019 via email

@firefly-cpp
Copy link
Contributor

Yes. It is possible.

We have to add a new method. Please give us a couple of days to complete this issue.

@brett18618
Copy link
Author

brett18618 commented Aug 2, 2019 via email

@firefly-cpp
Copy link
Contributor

@brett18618 - Yes.

@brett18618
Copy link
Author

brett18618 commented Aug 2, 2019 via email

@firefly-cpp
Copy link
Contributor

nFES counts each call of fitness function.

@brett18618
Copy link
Author

brett18618 commented Aug 2, 2019 via email

@GregaVrbancic GregaVrbancic added the question Further information is requested label Oct 30, 2019
@kb2623 kb2623 mentioned this issue Nov 11, 2019
GregaVrbancic added a commit that referenced this issue Nov 12, 2019
# New algorithms
* Center Particle Swarm Optimization
* Comprehensive Learning Particle Swarm Optimizer
* Opposition Velocity Clamping Particle Swarm Optimization
* Mutated Center Particle Swarm Optimization
* Mutated Center Unified Particle Swarm Optimization
* Mutated Particle Swarm Optimization

# Enhancements
* Now should be possible for all algorithms to set the initialization method.

# Changes
* New interface for algorithms (many algorithms needed a rework)
* New test case for algorithms
* Algorithms got changes based on issue #188 

# Solved issues:
* #218 
* #185 if it was not before
* #187 
* #186 
* #188 
* #220
@GregaVrbancic
Copy link
Contributor

@brett18618 we have added functionality (function return_conv) to the StoppingTask, which enables the retrieval of values for x and y axis for plotting the covariance graph.

@GregaVrbancic
Copy link
Contributor

@all-contributors add @brett18618 for question

@allcontributors
Copy link
Contributor

@GregaVrbancic

I've put up a pull request to add @brett18618! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants