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

Deprecation warnings and JADE fix #299

Merged
merged 15 commits into from
Mar 30, 2021

Conversation

sisco0
Copy link
Contributor

@sisco0 sisco0 commented Mar 28, 2021

Summary

As mentioned at #297 it happens that some warnings are thrown when running tests. These warnings are referred to dtype specification when asarray function is invoked.

It could be seen that the JADE method was not correctly sanitized, as the third parameter should be replaced in order to correctly perform the operations present in its related research paper.

Other Information

I would like to thank @zStupan for the support at creating this Pull Request, where he aided me at solving some debugging issue that was happening for ASO test cases and the -W error pytest parameter.

sisco0 and others added 15 commits September 7, 2020 11:35
The warning has been fixed by using the .tolist() function in order for the comparison to be between native Python objects
Deprecation warnings have been fixed, using dtype for needed arrays
JADE algorithm has been fixed during the test warning fixing stage. It seems that the CrossRandCurr2Pbest function needed a rework, as the third parameter was misused, it needed to be the function evaluations for the population
Fixed test warnings for ASO method, there was the need of specifying dtype
@firefly-cpp
Copy link
Contributor

Brilliant! Thank you @sisco0

@firefly-cpp firefly-cpp merged commit a07d390 into NiaOrg:master Mar 30, 2021
@sisco0 sisco0 mentioned this pull request Apr 21, 2021
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.

3 participants