Intuitionistic Fuzzy MOORA

Method object

class pyifdm.methods.if_moora.ifMOORA(score=<function zhang_xu_score_2>, 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__(score=<function zhang_xu_score_2>, normalization=None)[source]

Create Intuitionistic Fuzzy MOORA method object with normalization and score functions

Parameters:
  • score (callable, default=zhang_xu_score_2) – Function used to calculate crisp score of IFS

  • normalization (callable, default=None) – Function used to normalize the decision matrix

rank()[source]

Calculates the alternatives ranking based on the obtained preferences

Returns:

Ranking of alternatives

Return type:

ndarray

Intuitionistic Fuzzy calculations

pyifdm.methods.moora.ifs.ifs(matrix, weights, types, normalization, score)[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

  • score (callable, default) – Function used to calculate crisp score of IFS

Returns:

Crisp preferences of alternatives

Return type:

ndarray