distance_metrics_mcda.weighting_methods
Module Contents
Functions
|
Calculate criteria weights using objective Entropy weighting method |
|
Calculate criteria weights using objective CRITIC weighting method |
- distance_metrics_mcda.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)
- distance_metrics_mcda.weighting_methods.critic_weighting(matrix)[source]
Calculate criteria weights using objective CRITIC 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 = critic_weighting(matrix)