This is a Python library for handling problems related to Multiple Criteria Decision Making(MCDM) using TOPSIS algorithm
Project description
Topsis-Aashish-102017138
Topsis-Aashish-102017138 is a Python library for handling Multiple Criteria Decision Making(MCDM) using TOPSIS algorithm
Topsis-Aashish-102017138 is a Python library for handling problems related to Multiple Criteria Decision Making(MCDM) where there are more than one features to consider while arriving at a situation.By using Technique for Order of Preference by Similarity to Ideal Solution(TOPSIS),we can make conclusions to help us arrive at the decision with minimal effort
Installation
Use the package manager pip to install Topsis-Aashish-102017138
Syntax
topsis <InputDataFile> <Weights> <Impacts> <ResultFileName>
Example:
topsis inputfile.csv “1,1,1,2” “+,+,-,+” result.csv
or
topsis inputfile.csv 1,1,1,2 +,+,-,+ result.csv
Example
Sample input data
| Model | Corr | Rseq | 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 |
Sample Output Data
| Model | Corr | Rseq | RMSE | Accuracy | Topsis Score | Rank |
|---|---|---|---|---|---|---|
| M1 | 0.79 | 0.62 | 1.25 | 60.89 | 0.7731301458119156 | 2 |
| M2 | 0.66 | 0.44 | 2.89 | 63.07 | 0.22667595732024362 | 5 |
| M3 | 0.56 | 0.31 | 1.57 | 62.87 | 0.4389494866695491 | 4 |
| M4 | 0.82 | 0.67 | 2.68 | 70.19 | 0.5237626971836845 | 3 |
| M5 | 0.75 | 0.56 | 1.3 | 80.39 | 0.8128626132980138 | 1 |
Please Note
1.Enter the path for your input csv file
2.Enter the weights vector with each weight separated by commas
3.Enter the impact vector with each impact separated by commas
4.Enter the name of csv file in which you want to store output dataframe.
This file will be created in the current wokring directory
License
MIT
Free Software, Hell Yeah!
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-aashish-102017138-2.0.0.tar.gz.
File metadata
- Download URL: topsis-aashish-102017138-2.0.0.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed2b108739655e84d5ca7cfb874cdcf9cacee55d4dc5ba37d2138ea1c0fd8b16
|
|
| MD5 |
4e76770f0c1019af42960fffd12bf257
|
|
| BLAKE2b-256 |
52427fbd393c83ff65ac87d9adb867a07927943a4b574deb367137f4784ff926
|
File details
Details for the file topsis_aashish_102017138-2.0.0-py3-none-any.whl.
File metadata
- Download URL: topsis_aashish_102017138-2.0.0-py3-none-any.whl
- Upload date:
- Size: 5.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87f94ffa1a32f8a9abaab039777af079f117c4b82742599927223d140f7f622a
|
|
| MD5 |
ca7dba117f4043e9df3eb3c6a294acae
|
|
| BLAKE2b-256 |
01ec0a357c513a72eff53c3a12a729263e195768bcc3a412d6c5233d4fed5cf2
|