pyrepo_mcda.weighting_methods
Functions
|
Calculate criteria weights using objective Equal weighting method. |
|
Calculate criteria weights using objective Entropy weighting method. |
|
Calculate criteria weights using objective Standard deviation weighting method. |
|
Calculate criteria weights using objective CRITIC weighting method. |
|
Calculate criteria weights using objective Gini coefficient-based weighting method. |
|
Calculate criteria weights using objective MEREC weighting method. |
|
Calculate criteria weights using objective Statistical variance weighting method. |
|
Calculate criteria weights using objective CILOS weighting method. |
|
Calculate criteria weights using objective IDOCRIW weighting method. |
|
Calculate criteria weights using objective Angle weighting method. |
|
Calculate criteria weights using objective Coefficient of variation weighting method. |
Module Contents
- pyrepo_mcda.weighting_methods.equal_weighting(matrix)
Calculate criteria weights using objective Equal weighting method.
Parameters
- matrixndarray
Decision matrix with performance values of m alternatives and n criteria.
Returns
- ndarray
Vector of criteria weights.
Examples
>>> weights = equal_weighting(matrix)
- pyrepo_mcda.weighting_methods.entropy_weighting(matrix)
Calculate criteria weights using objective Entropy weighting method.
Parameters
- matrixndarray
Decision matrix with performance values of m alternatives and n criteria.
Returns
- ndarray
Vector of criteria weights.
Examples
>>> weights = entropy_weighting(matrix)
- pyrepo_mcda.weighting_methods.std_weighting(matrix)
Calculate criteria weights using objective Standard deviation weighting method.
Parameters
- matrixndarray
Decision matrix with performance values of m alternatives and n criteria.
Returns
- ndarray
Vector of criteria weights.
Examples
>>> weights = std_weighting(matrix)
- pyrepo_mcda.weighting_methods.critic_weighting(matrix)
Calculate criteria weights using objective CRITIC weighting method.
Parameters
- matrixndarray
Decision matrix with performance values of m alternatives and n criteria.
Returns
- ndarray
Vector of criteria weights.
Examples
>>> weights = critic_weighting(matrix)
- pyrepo_mcda.weighting_methods.gini_weighting(matrix)
Calculate criteria weights using objective Gini coefficient-based weighting method.
Parameters
- matrixndarray
Decision matrix with performance values of m alternatives and n criteria.
Returns
- ndarray
Vector of criteria weights.
Examples
>>> weights = gini_weighting(matrix)
- pyrepo_mcda.weighting_methods.merec_weighting(matrix, types)
Calculate criteria weights using objective MEREC weighting method.
Parameters
- matrixndarray
Decision matrix with performance values of m alternatives and n criteria.
- typesndarray
Vector with criteria types.
Returns
- ndarray
Vector of criteria weights.
Examples
>>> weights = merec_weighting(matrix, types)
- pyrepo_mcda.weighting_methods.stat_var_weighting(matrix)
Calculate criteria weights using objective Statistical variance weighting method.
Parameters
- matrixndarray
Decision matrix with performance values of m alternatives and n criteria.
Returns
- ndarray
Vector of criteria weights.
Examples
>>> weights = stat_var_weighting(matrix)
- pyrepo_mcda.weighting_methods.cilos_weighting(matrix, types)
Calculate criteria weights using objective CILOS weighting method.
Parameters
- matrixndarray
Decision matrix with performance values of m alternatives and n criteria.
- typesndarray
Vector with criteria types.
Returns
- ndarray
Vector of criteria weights.
Examples >>> weights = cilos_weighting(matrix, types)
- pyrepo_mcda.weighting_methods.idocriw_weighting(matrix, types)
Calculate criteria weights using objective IDOCRIW weighting method.
Parameters
- matrixndarray
Decision matrix with performance values of m alternatives and n criteria.
- typesndarray
Vector with criteria types.
Returns
- ndarray
Vector of criteria weights.
Examples
>>> weights = idocriw_weighting(matrix, types)
- pyrepo_mcda.weighting_methods.angle_weighting(matrix, types)
Calculate criteria weights using objective Angle weighting method.
Parameters
- matrixndarray
Decision matrix with performance values of m alternatives and n criteria.
- typesndarray
Vector with criteria types.
Returns
- ndarray
Vector of criteria weights.
Examples
>>> weights = angle_weighting(matrix, types)
- pyrepo_mcda.weighting_methods.coeff_var_weighting(matrix)
Calculate criteria weights using objective Coefficient of variation weighting method.
Parameters
- matrixndarray
Decision matrix with performance values of m alternatives and n criteria.
Returns
- ndarray
Vector of criteria weights.
Examples
>>> weights = coeff_var_weighting(matrix)