skcriteria.madm.similarity module

Methods based on a similarity between alternatives.

class skcriteria.madm.similarity.TOPSIS[source]

Bases: skcriteria.core.methods.SKCDecisionMakerABC

The Technique for Order of Preference by Similarity to Ideal Solution.

TOPSIS is based on the concept that the chosen alternative should have the shortest geometric distance from the ideal solution and the longest euclidean distance from the worst solution.

An assumption of TOPSIS is that the criteria are monotonically increasing or decreasing, and also allow trade-offs between criteria, where a poor result in one criterion can be negated by a good result in another criterion.

Warning

UserWarning:

If some objective is to minimize.

References

[Hwang & Yoon, 1981] [Wikipedia contributors, 2021a] [Tzeng & Huang, 2011]

skcriteria.madm.similarity.topsis(matrix, objectives, weights)[source]

Execute TOPSIS without any validation.