distance_metrics_mcda.weighting_methods

Module Contents

Functions

entropy_weighting(matrix)

Calculate criteria weights using objective Entropy weighting method

critic_weighting(matrix)

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)