Multiple Criteria Decision Making(MCDM) using TOPSIS
Project description
A library capable of implementing TOPSIS
PROJECT 1, UCS633 - Data Analysis and Visualization
Nikhil Gupta
COE17
Roll number: 101703371
Output is the best allternative out of list of all allternatives. Other ranks are streamed to the csv file.
Best Attribute: Mobile 3
Installation
pip install topsispack_NG
Note the name has an underscore not a hyphen. If installation gives error or package is not found after installing, install as sudo.
Recommended - test it out in a virtual environment.
To use via command line
Topcli myData.csv "1,1,1,1" "-,+,+,+"
First argument after nikcli is the location of the .csv file. The weights and impacts should be passed as strings in double quotes with each weight or impact separated by a comma (',').
To use in .py script
from toplib.models import topsis
topsis(['myData.csv',"1,1,1,1","-,+,+,+"])
The argument passed should be a list.
Can email me for any issues or suggestions
Project details
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
File details
Details for the file topsispack-NG-0.1.1.tar.gz
.
File metadata
- Download URL: topsispack-NG-0.1.1.tar.gz
- Upload date:
- Size: 2.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/2.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 864c46173f467891e0041bd7b2ffa284ebe6871814e4bdc0d94de8e250f48f9e |
|
MD5 | a823eca306d35b70c7bb13bcfb592167 |
|
BLAKE2b-256 | d5ee71ffcb804cf9e70986fece345d4b57c3be183b268b452a77166c4a34c954 |
File details
Details for the file topsispack_NG-0.1.1-py2-none-any.whl
.
File metadata
- Download URL: topsispack_NG-0.1.1-py2-none-any.whl
- Upload date:
- Size: 3.2 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0 requests-toolbelt/0.9.1 tqdm/4.41.1 CPython/2.7.17
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1975eb64586f55b85a34395dabb123ab4ae9186f76604e680cb32cfb84a863ab |
|
MD5 | f02a2afd4f3519e719bdeb9555d01f1f |
|
BLAKE2b-256 | f4286916f3d64e2e3dbae87302dc34734b48a471c9fc1b92309559af7a800531 |