Python package for TOPSIS algorithm
Project description
topsis-python
Package Description :
Python package for TOPSIS (The Technique for Order of Preference by Similarity to Ideal Solution) ALGORITHM.
Motivation :
This is a part of project - I made for UCS633 - Data analytics and visualization at TIET.
Name : sourav kumar (101883068)
Algorithm :
STEP 1 :
Create an evaluation matrix consisting of m alternatives and n criteria, with the intersection of each alternative and criteria.
STEP 2 :
The matrix is then normalised using the norm.
STEP 3 :
Calculate the weighted normalised decision matrix.
STEP 4 :
Determine the worst alternative and the best alternative.
STEP 5 :
Calculate the L2-distance between the target alternative i and the worst condition.
STEP 6 :
Calculate the similarity to the worst condition.
STEP 7 :
Rank the alternatives according to final performance scores.
Getting started Locally :
Run On Terminal
python topsis.py <filename.csv> <weights> <impacts>
ex. python topsis.py topsis.csv 0.25,0.25,0.25,0.25 -,+,+,+
Run In IDLE
from topsis import topsis
t = topsis.topsis('filepath', [list of weights], [list of impacts])
t.topsis_main()
t.display()
PAPER :
Find the research paper at arxiv.
OUTPUT :
Prints out the best model / alternative.
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
Built Distribution
Hashes for topsis-python-souravdlboy-2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 29fae2e7ed3c8d873f7219e5173f552b66979611499ada43bdeb8b5d15ff1514 |
|
MD5 | 42803112226cbb7a641bc83c221084fc |
|
BLAKE2b-256 | 687775d3dec3de660f98a7c6fbb860b93b27fab7675d83c21ee6c6b33903bb81 |
Hashes for topsis_python_souravdlboy-2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 22cf4a676c23f914f4b64de53163075ff452217e6be0c20f9ae64f643ef3207f |
|
MD5 | 6a92a115a25aba88fdf2609ee77cdb28 |
|
BLAKE2b-256 | 326ff1078f78e2dc0fbf1e569b3f7f7cac884726ec7cffe070c4bf2c708b5c32 |