Skip to main content

TOPSIS - Technique for Order Preference by Similarity to Ideal Solution

TOPSIS is a multi-criteria decision analysis method. It is based on the concept that the chosen alternative should have the shortest geometric distance from the positive ideal solution and the longest geometric distance from the negative ideal solution.

Features

  • Easy implementation of TOPSIS in Python.
  • Suitable for ranking and decision-making tasks.
  • Handles datasets with multiple criteria and alternatives.

Installation

You can install the package using pip:

pip install 102203658_Suvit_Kumar

## Usage

from 102203658_Suvit_Kumar import topsis

# Example usage
criteria_weights = [0.4, 0.3, 0.3]
dataset = [
    [250, 16, 12],
    [200, 20, 8],
    [300, 12, 10],
]
impact = ['+', '+', '-']

ranked_alternatives = topsis(dataset, criteria_weights, impact)
print(ranked_alternatives)

## License
This project is licensed under the MIT License.

Metadata

Release files for 102203658-Suvit-Kumar 1.0.2

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

Source distribution (sdist)

Source distribution for 102203658-Suvit-Kumar 1.0.2
File Size Uploaded Provenance Actions
102203658_suvit_kumar-1.0.2.tar.gz 2.0 kB Without provenance Details for 102203658_suvit_kumar-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for 102203658-Suvit-Kumar 1.0.2
File Interpreter ABI Platform Actions
102203658_Suvit_Kumar-1.0.2-py3-none-any.whl Python 3 none any Details for 102203658_Suvit_Kumar-1.0.2-py3-none-any.whl

Total release size: 3.8 kB

Release files / 102203658_suvit_kumar-1.0.2.tar.gz

Download URL 102203658_suvit_kumar-1.0.2.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
ed1c54011b2153472c236d957d26b3bb13225fc5e2da96c86fddad1cfe2e4c82
BLAKE2b-256 checksum
How to use checksums
b19e76bccb3ddc9cbcf0ed8eb212235ec66415d72cf8563cb60debb5211c38a0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.5

Release files / 102203658_Suvit_Kumar-1.0.2-py3-none-any.whl

Download URL 102203658_Suvit_Kumar-1.0.2-py3-none-any.whl
Size 1.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6a6722b3dc425c341eb8b6cb4bc3c8309996b40abd2e39fc2e1393b5a0319d90
BLAKE2b-256 checksum
How to use checksums
ecffe65c298aad46c5ccc625cee5bed745a15529fb04032baa7664d1dd5341e4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.5

Security for 102203658-Suvit-Kumar 1.0.2

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

1.0.2 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