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

Add the function callback feature at each iteration. #493

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

caiofcm
Copy link

@caiofcm caiofcm commented Jun 15, 2022

Add callback function as discussed in issue #359

  • Description

The change added the feature of calling a callback function at each iteration.

  • Related Issue

#359

  • Motivation and Context

Option to call a callback function for user custom tasks

  • How Has This Been Tested?

Added test at test_global_best.py checking the standard output

Types of changes

  • New feature (non-breaking change which adds functionality)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

Obs: after running black some other files were formatted.

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@ljvmiranda921
Copy link
Owner

ljvmiranda921 commented Jun 29, 2022

Thanks for this PR! Will review this on the weekend (July 2-3)

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

Successfully merging this pull request may close these issues.

None yet

2 participants