Comments (3)
All components are not compatible with each algorithm because they have some requirements.
For example :
moead_framework.core.sps_strategy.sps_dra.SpsDra
needs the attribute piSpsRandomAndBoundaries
needs the attribute number_of_subproblem- The multi-point Crossover needs 2 solutions as parents so we have to use a mating selector that give us 2 parents
- ...
I added more information in the documentation and I improved errors to say how the component ... is not compatible with the current algorithm. PR #66
from framework.
Thanks for elaborating that not all components are expected to work together. Here are my suggestions to address this issue:
-
Fix numerical and combinatorial Moead
Lines 68 in combinatorial and 65 in numerical Moead still need to initialize the selector withparent_selector(algorithm=self)
The if-else block may even be simplified to the example below for the combinatorial, and equivalently for the numerical case:
if parent_selector is None:
parent_selector = TwoRandomParentSelector
self.parent_selector = parent_selector(algorithm=self)
-
Documentation:
In the global documentation, I would add a clear generic note stating something likeNote: Not all available components are compatible with each other.
Refer to each component's documentation for more details on required attributes.at the Tutorials / Implement own algorithm and Library Reference / Other components pages
-
Exceptions:
I'll post my explicit suggestions in the PR you already opened
from framework.
Thank you for your suggestions !
The PR is updated with the commits 233c694 and de0285d
from framework.
Related Issues (20)
- [joss-reviews#2974] Paper: further clarify statement of need HOT 1
- [joss-reviews#2974] Paper: grammar/spelling HOT 3
- Confusing OneDimensionalSolution.__repr__ HOT 2
- [Documentation] Include example of how to use results HOT 1
- [Documentation] irrelevant __init__ instruction on documentation for e.g. aggregation functions HOT 4
- Add development requirements HOT 1
- Disambiguate usage of the word 'generate' for Problems HOT 4
- [Documentation] Problems considered 'main component' of MOEA/D algorithm? HOT 2
- Remove docs/html folder from master branch? HOT 2
- [joss-reviews#2974] Ztd1 unfriendly error message HOT 1
- [joss-reviews#2974] Empty initializer HOT 1
- [joss-reviews#2974] Naming confusion HOT 3
- [joss-reviews#2974] Annotation errors HOT 11
- __init__.py HOT 1
- [joss-reviews#2974] Improve documentation/README for support HOT 1
- [joss-reviews#2974] Checkpoints used inconsistently HOT 3
- [joss-reviews#2974] Functionality HOT 7
- [joss-reviews#2974] Software paper HOT 12
- [joss-reviews#2974] Documentation HOT 18
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from framework.