Topsis implementation package
Project description
TOPSIS implementation in python
Project1 for DATA ANALYSIS AND VISUALISATION(UCS633) Nishchay Mahajan COE18 Roll number: 101703377
Output is a dataframe with 3 columns
- Alternatives serial number
- Corresponding performance Score or closeness to ideal solution
- Rank
Installation
pip install topsis-pypck
Upgrade
pip install topsis-pypck --upgrade
To use via command line
python3 topsis.py file.csv "0.25,0.25,0.25,0.25" "-,+,+,+"
To use in python IDLE
>>>from topsis_pypck.topsis import topsis
>>> f= "file.csv"
>>> w = [1,1,1,1]
>>> im = ["+" , "+" , "-" , "+" ]
>>>topsis(f,w,im)
Output
Model Score Rank
------- -------- ------
1 0.534277 3
2 0.308368 5
3 0.691632 1
4 0.534737 2
5 0.401046 4
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
topsis-pypck-0.2.2.tar.gz
(2.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file topsis-pypck-0.2.2.tar.gz.
File metadata
- Download URL: topsis-pypck-0.2.2.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2042838b5be97d24e0e370137683ccc4dfc82b013d4350e5bbd6c15f0da18e4e
|
|
| MD5 |
e4192417ea2525a1263a4c5014452462
|
|
| BLAKE2b-256 |
7b385ce67a76d1a1a5e547e246b8b0934de366accd6e50d28658c36f45968006
|
File details
Details for the file topsis_pypck-0.2.2-py3-none-any.whl.
File metadata
- Download URL: topsis_pypck-0.2.2-py3-none-any.whl
- Upload date:
- Size: 4.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/45.0.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
795eeaf0fb0b598e3dece09a22b1fd38d826966bbc4c4feefc559c71dd5c0cd7
|
|
| MD5 |
e3171a3702ac97e1d01cb824d64d5eac
|
|
| BLAKE2b-256 |
82155204fe29008fcd23a22e3a34bd050712025316a764d214a6fde6297c9e6d
|