Topsis analysis of a csv file
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).
Use the package manager pip to install topsis-Irtebat.
pip install topsis-analysis-irtebat
Following query on terminal will provide you the topsis analysis for input csv file.
topsis -n "dataset-name" -w "w1,w2,w3,w4,..." -i "i1,i2,i3,i4,..."
Do not mention the file format, 'csv', as part of dataset-name. 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
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.
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size topsis_analysis_irtebat-1.1.0-py3-none-any.whl (4.4 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size topsis-analysis-irtebat-1.1.0.tar.gz (3.2 kB)||File type Source||Python version None||Upload date||Hashes View|
Hashes for topsis_analysis_irtebat-1.1.0-py3-none-any.whl
Hashes for topsis-analysis-irtebat-1.1.0.tar.gz