Skip to main content

Topsis-Shrey-102183040

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.

Installation

pip install Topsis-Shrey-102183040

Input csv format

Input file contain three or more columns First column is the object/variable name From 2nd to last columns contain numeric values only

How to use it

Command line arguement topsis Example: topsis inputfile.csv “1,1,1,2” “+,+,-,+” result.csv

Note: The weights and impacts should be ',' seperated, input file should be in pwd.

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

License

© 2023 Shrey Saxena

This repository is licensed under the MIT license. See LICENSE for details.

Release files for Topsis-Shrey-102183040 1.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Topsis-Shrey-102183040 1.0.4
File Size Uploaded
Topsis-Shrey-102183040-1.0.4.tar.gz 3.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Topsis-Shrey-102183040 1.0.4
File Interpreter ABI Platform
Topsis_Shrey_102183040-1.0.4-py3-none-any.whl Python 3 none any Details

Total release size: 9.2 kB

Release files / Topsis-Shrey-102183040-1.0.4.tar.gz

Download URL Topsis-Shrey-102183040-1.0.4.tar.gz
Size 3.6 kB
Tags Source
SHA-256 checksum
How to use checksums
96dca6729b3f68337bec728c5086d7bc7f1416fea7d004dfbd207cbd01589a4e
BLAKE2b-256 checksum
How to use checksums
e0aee4b8ed4536b5cf4c70e0aa7194fe50dee5932163465b6156635ef75f5a26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.5

Release files / Topsis_Shrey_102183040-1.0.4-py3-none-any.whl

Download URL Topsis_Shrey_102183040-1.0.4-py3-none-any.whl
Size 5.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0feee72f223aa3e9504af016969be18f5fcacbdd01a3953fe94fcefb419c83db
BLAKE2b-256 checksum
How to use checksums
30693cf03e00016554bf6290bfede5c3b2c916bdcbb25b0efc55fab4abb09ef2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.5

Release history Release notifications | RSS feed

This release

1.0.4 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page