Intuitionistic Fuzzy TOPSIS
Method object
- class pyifdm.methods.if_topsis.ifTOPSIS(distance=<function normalized_euclidean_distance>, normalization=None)[source]
Bases:
object- __call__(matrix, weights, types)[source]
Calculates the alternatives preferences
- Parameters:
matrix (ndarray) – Decision matrix / alternatives data. Alternatives are in rows and Criteria are in columns.
weights (ndarray) – Vector of criteria weights in a crisp or Intuitionistic Fuzzy form
types (ndarray) – Types of criteria, 1 profit, -1 cost. Criteria types cannot be all profit or all cost.
- Returns:
Preference calculated for alternatives. Greater values are placed higher in ranking
- Return type:
ndarray
- __init__(distance=<function normalized_euclidean_distance>, normalization=None)[source]
Creates Intuitionistic Fuzzy TOPSIS method object with normalization and distance functions
- Parameters:
distance (callable, default=normalized_euclidean_distance) – Function used to calculate distance between two IFS
normalization (callable, default=None) – Function used to normalize the decision matrix
Intuitionistic Fuzzy calculations
- pyifdm.methods.topsis.ifs.ifs(matrix, weights, types, normalization, distance)[source]
Calculates the alternatives preferences based on Intuitionistic Fuzzy Sets
- Parameters:
matrix (ndarray) – Decision matrix / alternatives data. Alternatives are in rows and Criteria are in columns.
weights (ndarray) – Vector of criteria weights in a crisp or Intuitionistic Fuzzy form
types (ndarray) – Types of criteria, 1 profit, -1 cost
normalization (callable) – Function used to normalize the decision matrix
distance (callable) – Function used to calculate distance between two IFS
- Returns:
Crisp preferences of alternatives
- Return type:
ndarray