Indicators
pymoode.performance
- class pymoode.performance.SpacingIndicator(metric='cityblock', pf=None, zero_to_one=False, ideal=None, nadir=None)
Spacing indicator The smaller the value this indicator assumes, the most uniform is the distribution of elements on the pareto front.
- Parameters:
- metricstr, optional
Distance metric parsed to scipy.spatial.distance.pdist, by default “cityblock”
- pf2d array, optional
Pareto front, by default None
- zero_to_onebool, optional
Whether or not the objective values should be normalized in calculations, by default False
- ideal1d array, optional
Ideal point, by default None
- nadir1d array, optional
Nadir point, by default None
Methods
__call__(F, *args, **kwargs)Call self as a function.
do(F, *args, **kwargs)Obtain the spacing indicator given a Pareto front