A Python package for performing TOPSIS analysis
Project description
TOPSIS Package
A Python package for performing TOPSIS (Technique for Order of Preference by Similarity to Ideal Solution) analysis.
Installation
You can install this package using pip:
pip install package-topsis
from package_topsis import topsis
data = [
[250, 16, 12, 5],
[200, 16, 8, 3],
[300, 32, 16, 4],
[275, 32, 8, 4],
[225, 16, 16, 2],
]
weights = [0.25, 0.25, 0.25, 0.25]
impacts = ['+', '+', '-', '+']
rankings = topsis(data, weights, impacts)
print(rankings) # Output: [3, 1, 2, 5, 4]
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
package_topsis-0.3.tar.gz
(2.2 kB
view details)
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 package_topsis-0.3.tar.gz.
File metadata
- Download URL: package_topsis-0.3.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f61d8758edd5bc4f844dd5f3b2577357ecb734cd70ba420e5230319d31bcbcc
|
|
| MD5 |
6c75ea43ec7249b81fee5a3260cf92d9
|
|
| BLAKE2b-256 |
bdf6336d79f1bcfed15555913afe9fdf70288a321561a276da866f78b52143ec
|
File details
Details for the file package_topsis-0.3-py3-none-any.whl.
File metadata
- Download URL: package_topsis-0.3-py3-none-any.whl
- Upload date:
- Size: 2.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0111b38884c4a15a10c60f9defd4547194c307c92c7d8c3012af3af7f18b7508
|
|
| MD5 |
120b91af0c7a0c3c1d9a73eb99e93750
|
|
| BLAKE2b-256 |
861474aee2f23f0623f0a37c06b89db960a86a1d14b6811ad145a1ce8349a86a
|