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.
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
import topsis
topsis.topsis('filepath', [list of weights], [list of impacts])
PAPER :
Find the research paper at arxiv.
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-0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0028465179e7f0d6d9545eaedb3449397946a48dfbcb3bb18775035db020dbe |
|
MD5 | f44f5ea40999f43816cb1e5105726994 |
|
BLAKE2b-256 | a8b15e00f2f1413d929ad11871a7e7a4e98d98c1295b982e96aaa7599a516333 |
Hashes for topsis_python_souravdlboy-0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 472f5ac8bf674fb8a99fbd78a540133b405e8bd135ae9805f7f5aba5f2fe1d3d |
|
MD5 | a3771889c5a858e277a16833ba8f5a6c |
|
BLAKE2b-256 | 9a143262266212fd69287671b96f024d2d91d146755016cc0a11261a61a948ac |