The Pareto problem generation re-used the same centroid for 10 times (which seems to be a bug) and generated invalid elements when n_instances was not a multiple of 10. This tries to fix these problems an adds some documentation on the things @kiudee cleared up for me. This is a result of https://github.com/kiudee/cs-ranking/pull/164#discussion_r522267387.
How Has This Been Tested?
Ran the new test, relying on CI for the rest.
Types of changes
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Checklist:
[ ] My code follows the code style of this project.
[ ] My change requires a change to the documentation.
Description
The Pareto problem generation re-used the same centroid for 10 times (which seems to be a bug) and generated invalid elements when
n_instances
was not a multiple of 10. This tries to fix these problems an adds some documentation on the things @kiudee cleared up for me. This is a result of https://github.com/kiudee/cs-ranking/pull/164#discussion_r522267387.How Has This Been Tested?
Ran the new test, relying on CI for the rest.
Types of changes
Checklist: