TOPSIS implementation via pandas
Project description
TOPSIS Python Package
Made by Shreshth Arora
This is a package made for implementation of TOPSIS in UCS538 course at Thapar Institute of Engineering and Technology .
This Repository will be activily maintained and more features will be added to it as time progress. The below is the impmentation of the using the python package in it's current state.
What is Topsis ?
Technique for Order Preference by Similarity to Ideal Solution (TOPSIS) originated in the 1980s as a multi-criteria decision making method. TOPSIS chooses the alternative of shortest Euclidean distance from the ideal solution, and greatest distance from the negative-ideal solution.
It is a method of compensatory aggregation that compares a set of alternatives by identifying weights for each criterion, normalising scores for each criterion and calculating the geometric distance between each alternative and the ideal alternative, which is the best score in each criterion.
Install from pip
pip install topsis-shreshth-101803503
Run in Command Prompt
topsis data.csv "1,1,3.5,0.34" "-,+,+,-" result.csv
Dataset used for testing
| Model | Correlation | R2 | RMSE | Accuracy |
|---|---|---|---|---|
| M1 | 0.79 | 0.62 | 1.25 | 60.89 |
| M2 | 0.66 | 0.44 | 2.89 | 63.07 |
| M3 | 0.56 | 0.31 | 1.57 | 62.87 |
| M4 | 0.82 | 0.67 | 2.68 | 70.19 |
| M5 | 0.75 | 0.56 | 1.3 | 80.39 |
Final Result is stored in csv format by name of your choice
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
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-shreshth-101803503-0.1.tar.gz.
File metadata
- Download URL: topsis-shreshth-101803503-0.1.tar.gz
- Upload date:
- Size: 4.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dcf05d68700c61fbe83a258c97ad40d61408330322f2fc1c7fba6e637a8b115f
|
|
| MD5 |
a14a6ff48151364732474b90cd3f7395
|
|
| BLAKE2b-256 |
7efd5b439f3f5a3a99dea090110ca7a3611edd580534482fdd78e12625843492
|
File details
Details for the file topsis_shreshth_101803503-0.1-py3-none-any.whl.
File metadata
- Download URL: topsis_shreshth_101803503-0.1-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
acc9db941eab22c04170d064d761b844da1accdaaa059fb2fd76e38f2df68e6b
|
|
| MD5 |
6b9a5723eb4483769e8406efed5c4459
|
|
| BLAKE2b-256 |
654c3520b9b0913a050d4ac6ac480231a7c506bfc7d2c1c20f82033e53175409
|