https://github.com/bitbynik/topsis_pack
UCS633 Project-1
https://github.com/bitbynik/topsis_pack
data-analysis-and-visualization tiet topsis
Last synced: about 1 year ago
JSON representation
UCS633 Project-1
- Host: GitHub
- URL: https://github.com/bitbynik/topsis_pack
- Owner: BitByNIK
- Created: 2024-12-06T13:14:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-06T13:15:42.000Z (over 1 year ago)
- Last Synced: 2025-02-14T22:31:49.408Z (over 1 year ago)
- Topics: data-analysis-and-visualization, tiet, topsis
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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*