TOPSIS
TOPSIS (Technique for Order Preference by Similarity to Ideal Solution) is a multi-criteria decision-making method used to rank alternatives based on their closeness to the ideal solution. It evaluates options by comparing their distance from the best and worst possible values of each criterion. The alternative closest to the ideal and farthest from the negative ideal is ranked highest.
Installation - USER MANUAL
Topsis-Pooja-102303845 requires Python3 to run.
Other dependencies that come installed with this package are :- pandas numpy
Package listed on PyPI:- (https://pypi.org/project/Topsis-Pooja-102303845/) Use the following command to install this package:-
pip install Topsis-Pooja-102303845
Steps Involved in TOPSIS
-
Construct the Decision Matrix
List all alternatives and their values for each criterion. -
Normalize the Decision Matrix
Convert different units into comparable, dimensionless values. -
Apply Weights to Criteria
Assign importance to each criterion based on its relevance. -
Determine Ideal Solutions
- Positive Ideal Solution (best values)
- Negative Ideal Solution (worst values)
-
Calculate Separation Measures
Find the distance of each alternative from both ideal solutions. -
Calculate Relative Closeness
Compute a score that shows how close each alternative is to the ideal solution. -
Rank the Alternatives
Higher score → better rank.
Usage
Run the following command in command prompt:
topsis <inputFile> <weights> <impacts> <outputFile>
Example:
topsis sample.csv "1,1,1,1" "+,+,-,+" result.csv
Metadata
Release files for Topsis-Pooja-102303845 1.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| topsis_pooja_102303845-1.0.4.tar.gz | 3.4 kB | Without provenance | Details for topsis_pooja_102303845-1.0.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| topsis_pooja_102303845-1.0.4-py3-none-any.whl | Python 3 | none | any | Details for topsis_pooja_102303845-1.0.4-py3-none-any.whl |
Total release size: 7.0 kB
Release files / topsis_pooja_102303845-1.0.4.tar.gz
| Download URL | topsis_pooja_102303845-1.0.4.tar.gz |
|---|---|
| Size | 3.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
78891efa562f2509fa66fc332fdf5f7ee3a07e0031356eae3523a7be51cb2223
|
|
BLAKE2b-256 checksum How to use checksums |
fd24a350301ddd61b47b4a9dd2ba1f3157d4b80b71d91434d72003fdec6fc50e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.6
|
Release files / topsis_pooja_102303845-1.0.4-py3-none-any.whl
| Download URL | topsis_pooja_102303845-1.0.4-py3-none-any.whl |
|---|---|
| Size | 3.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6390adf83b67881894e20843d6a7faaa55a28fd79cf3d20cf9490e1ed8ea4e96
|
|
BLAKE2b-256 checksum How to use checksums |
3e6e867d7ceff72783ba892e47c859ff6b4077f03b34676f66be3f512f1a0e69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.6
|
Security for Topsis-Pooja-102303845 1.0.4
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.