evo_spotis.weighting_methods
Module Contents
Functions
|
Calculate criteria weights using objective Entropy weighting method. |
- evo_spotis.weighting_methods.entropy_weighting(matrix)[source]
Calculate criteria weights using objective Entropy weighting method.
- Parameters
matrix (ndarray) – Decision matrix with performance values of m alternatives and n criteria
- Returns
Vector of criteria weights
- Return type
ndarray
Examples
>>> weights = entropy_weighting(matrix)