desdeo.preference.nimbus

class desdeo.preference.nimbus.NIMBUSClassification(method, functions, **kwargs)[source]

Bases: desdeo.preference.base.ReferencePoint

Preferences by NIMBUS classification

_classification

NIMBUSClassification information pairing objective n to a classification with value if needed

Type

Dict (objn_n, (class,value))

_maxmap

Minimization - maximiation mapping of classification symbols

Type

NIMBUSClassification (default:None)

__abstractmethods__ = frozenset({})
__getitem__(key)[source]

Shortcut to query a classification.

__init__(method, functions, **kwargs)[source]

Initialize the classification information

Parameters

functions (list ((class,value)) – Function classification information

Return type

None

__module__ = 'desdeo.preference.nimbus'
__setitem__(key, value)[source]

Shortcut to manipulate a single classification.

_as_reference_point()[source]

Return classification information as reference point

Return type

ndarray

_maxmap = {'<': '>', '<=': '>=', '=': '=', '>': '<', '>=': '<='}
with_class(cls)[source]

Return functions with the class