It's a package that calcuates Topsis score and ranks accordingly
Project description
TOPSIS
Submitted By: Banaj Bedi.
Type: Package.
Title: TOPSIS method for multiple-criteria decision making (MCDM).
Version: 1.1.1.
Date: 2022-02-26.
Description: Evaluation of alternatives based on multiple criteria using TOPSIS method..
What is TOPSIS?
Technique for Order Preference by Similarity to Ideal Solution (TOPSIS) originated in the 1980s as a multi-criteria decision making method. TOPSIS chooses the alternative of shortest Euclidean distance from the ideal solution, and greatest distance from the negative-ideal solution.
How to install this package:
>> pip install topsis_banaj_101916008
In Command Prompt
>> topsis data.csv "1,1,2,1,2" "+,+,-,-,+" result.csv
Input file (data.csv)
The decision matrix should be constructed with each row representing a Model alternative, and each column representing a criterion like Accuracy, R2, Root Mean Squared Error, Correlation, and many more.
Weights (weights
) is not already normalised will be normalised later in the code.
Information of benefit positive(+) or negative(-) impact criteria should be provided in impacts
.
Output file (result.csv)
The output file contains columns of input file along with two additional columns having **Topsis_score** and **Rank**
View package at: https://pypi.org/project/topsis-banaj-101916008/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Hashes for topsis_banaj_101916008-1.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3280b88ad20290d7091eafc106e58b7886764142e09d2e95b1e8f37459e9c399 |
|
MD5 | 920d9c1dd0b3df2f58b24898b298496d |
|
BLAKE2b-256 | a6034ac89e95eb6c858175e965347dc75956344e61693d9c1cb8b92b71fde758 |