This is a Python Package implementing TOPSIS used for multi-criteria decision analysis method
Project description
TOPSIS
It is a method of compensatory aggregation that compares a set of alternatives by identifying weights for each criterion, normalising scores for each criterion and calculating the geometric distance between each alternative and the ideal alternative, which is the best score in each criterion.
Installation
pip install TOPSIS_Pranshu_101853037
How to run in command prompt
from TOPSIS_Pranshu_101853037.topsis import topsis
topsis("data.csv","1,1,1,2","+,+,-,+","result.csv")
Input File (data.csv) Input file contain three or more columns First column is the object/variable name (e.g. M1, M2, M3, M4,...) From 2nd to last columns contain numeric values only Output File (result.csv) Result file contains all the columns of input file and two additional columns having TOPSIS SCORE and RANK
License MIT
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
File details
Details for the file TOPSIS_Pranshu_101853037-0.0.1.tar.gz.
File metadata
- Download URL: TOPSIS_Pranshu_101853037-0.0.1.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
05de1f12ccdb8579d1b36feb11dbe8d75a73d4062666201f27f53f7ecdd0ccf0
|
|
| MD5 |
fa38ad3afaf808785e809c099d75dac1
|
|
| BLAKE2b-256 |
5ae6f680feb67bd25aac563ff76f9b7ba07c9357de137394eb1130478bb8964a
|