A Python implementation of the TOPSIS method for multi-criteria decision making.
Project description
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.
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 102203658_suvit_kumar-1.0.2.tar.gz.
File metadata
- Download URL: 102203658_suvit_kumar-1.0.2.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ed1c54011b2153472c236d957d26b3bb13225fc5e2da96c86fddad1cfe2e4c82
|
|
| MD5 |
34cde7ca5de511221bc61c8f788adc09
|
|
| BLAKE2b-256 |
b19e76bccb3ddc9cbcf0ed8eb212235ec66415d72cf8563cb60debb5211c38a0
|
File details
Details for the file 102203658_Suvit_Kumar-1.0.2-py3-none-any.whl.
File metadata
- Download URL: 102203658_Suvit_Kumar-1.0.2-py3-none-any.whl
- Upload date:
- Size: 1.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a6722b3dc425c341eb8b6cb4bc3c8309996b40abd2e39fc2e1393b5a0319d90
|
|
| MD5 |
96be8441da7069ed29424d3b26c3d1c4
|
|
| BLAKE2b-256 |
ecffe65c298aad46c5ccc625cee5bed745a15529fb04032baa7664d1dd5341e4
|