A Python package implementing TOPSIS technique.
Project description
Topsis_Gurpreet_101803019
This is a python package used to implement TOPSIS(Technique of Order Preference Similarity to the Ideal Solution) for MCDA(Multiple criteria decision analysis)
How to use this package:
pip install topsis-Gurpreet-Singh-101803019==0.0.1
In Command Prompt
>> topsispy data.csv "1,1,1,1" "+,+,-,+" out.csv
Sample dataset
| 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 |
Output
This will be in our Output csv file
| Model | Correlation | R2 | RMSE | Accuracy | TOPSIS SCORE | Rank |
|---|---|---|---|---|---|---|
| M1 | 0.79 | 0.62 | 1.25 | 60.89 | 0.77 | 2.0 |
| M2 | 0.66 | 0.44 | 2.89 | 63.07 | 0.23 | 5.0 |
| M3 | 0.56 | 0.31 | 1.57 | 62.87 | 0.44 | 4.0 |
| M4 | 0.82 | 0.67 | 2.68 | 70.19 | 0.52 | 3.0 |
| M5 | 0.75 | 0.56 | 1.3 | 80.39 | 0.81 | 1.0 |
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
File details
Details for the file topsis-Gurpreet-Singh-101803019-0.1.tar.gz.
File metadata
- Download URL: topsis-Gurpreet-Singh-101803019-0.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ad67c72f5e971d1e1ce1c540010bb6db367afe7614e560821e3dd50fa72197f
|
|
| MD5 |
d6413567a07a1c49aff366794e837c89
|
|
| BLAKE2b-256 |
6e1b528d9e74945e8947fcc032f170081e4730917ae27c54d22c0d57c1862bc3
|