semvec/pypi-packages huggingface dataset:
topsis-daman 1.0.0
A Python package to implement Topsis analysis
License: MIT

# topsis-python
Topsis analysis of a csv file

""UCS633 Project Submission""

Name - Damanpreet Singh

Roll no. - 101703154

## About Topsis

The Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS) is a multi-criteria decision analysis method, which was originally developed by Ching-Lai Hwang and Yoon in 1981 with further developments by Yoon in 1987, and Hwang, Lai and Liu in 1993. TOPSIS is based on the concept that the chosen alternative should have the shortest geometric distance from the positive ideal solution (PIS) and the longest geometric distance from the negative ideal solution (NIS).

## Installation


```bash
pip install topsis-daman
```

## Usage

Following query on terminal will provide you the topsis analysis for input csv file.

```
topsis-daman -n "dataset-name.csv" -w "w1,w2,w3,w4,..." -i "i1,i2,i3,i4,..."

```

w1,w2,w3,w4 represent weights, and i1,i2,i3,i4 represent impacts where 1 is used for maximize and 0 for minimize. 
Size of w and i is equal to number of features. 

Note that the first row and first column of dataset is dropped

Rank 1 signifies best decision

## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.

## License
[MIT](https://choosealicense.com/licenses/mit/)
Topsis-Ranker 1.0.3
A python package to get topsis rank of given dataset
License: MIT

# Topsis-Python-Package
A python file with function to implement topsis. The function takes a csv file path and weights of each coloumn and also a list denoting if it has positive or negative effect on ranking.

#Usage
Following query on terminal will provide you the rank of the csv file path according to weights and z provided.
Just an e.g. for file Newdata.csv with weight og each column being 1 and z as shown below

topsis -f 'C:/Users/g s khagta/Downloads/Newdata.csv' -w 1 1 1 1 -z - + + +

to import topsis in code use the following line

from topsis.TOPSIS3410 import topsis