Skip to main content

Topsis Package by Aditya Kalhan

Roll Number : 102053005 Subgroup : 3COE18 It takes a csv file, weights (seperated by comma) , impacts (+ or -) and outputs a result file.

What is Topsis

TOPSIS is based on the fundamental premise that the best solution has the shortest distance from the positive-ideal solution, and the longest distance from the negative-ideal one.
Selecting an appropriate Multiple Attribute Decision Making (MADM) method for a given MADM problem is always a challenging task.
Within the MADM domain, the Technique for Order Preference by Similarity to Ideal Solution (TOPSIS) is highly regarded, applied and adopted MADM method due to its simplicity and underlying concept that the best solution is the one closest to the positive ideal solution and furthest from the negative ideal solution.

Installation

Use pip installer
pip install 102053005-Aditya-Topsis

How to use it

Open terminal and type
102053005 sample.csv "1,1,1,1" "+,+,-,+" result.csv

Example

Model Storage Space Camera Price Looks
M1 16 12 250 5
M2 16 8 200 3
M3 32 16 300 4
M4 32 8 275 4
M5 16 16 225 2

weights = [1,1,1,1]
impact = ["+","+","-","+"]

Output

Model Storage Space Camera Price Looks Topsis Score Rank
M1 16 12 250 5 0.534269 3
M2 16 8 200 3 0.308314 5
M3 32 16 300 4 0.691686 1
M4 32 8 275 4 0.534807 2
M5 16 16 225 2 0.401222 4

Output will be saved in a CSV file whose name will be provided in the command line. It will have all the columns along with the Topsis Score and Ranks.

Metadata

Release files for 102053005-Aditya-Topsis 0.11

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

Source distribution (sdist)

Source distribution for 102053005-Aditya-Topsis 0.11
File Size Uploaded Provenance Actions
102053005_Aditya_Topsis-0.11.tar.gz 4.2 kB Without provenance Details for 102053005_Aditya_Topsis-0.11.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for 102053005-Aditya-Topsis 0.11
File Interpreter ABI Platform Actions
102053005_Aditya_Topsis-0.11-py3-none-any.whl Python 3 none any Details for 102053005_Aditya_Topsis-0.11-py3-none-any.whl

Total release size: 9.1 kB

Release files / 102053005_Aditya_Topsis-0.11.tar.gz

Download URL 102053005_Aditya_Topsis-0.11.tar.gz
Size 4.2 kB
Tags Source
SHA-256 checksum
How to use checksums
168964c6ce76dd289aec5eb4bda7f654c3fc91272ea4d584ed2570803f9f81b4
BLAKE2b-256 checksum
How to use checksums
f7ba845becb9581d9489043ca8bb6d05581c1e0fc6c50165eff1b2c0ac6bf637
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.0

Release files / 102053005_Aditya_Topsis-0.11-py3-none-any.whl

Download URL 102053005_Aditya_Topsis-0.11-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a4ff2d981a8aff8bb00f22751c2ebe8b130f61ebdf7f3f984d5689de5012945c
BLAKE2b-256 checksum
How to use checksums
6ab221647ea7a6754d5ef2a8107a470c111a8c6d59477cc4e3856b0cd6bfef6f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.0

Security for 102053005-Aditya-Topsis 0.11

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.11 This release

2 release files No provenance

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