Package to perform TOPSIS Analysis
Project description
TOPSIS Method for Decision Analysis
This Python package provides an efficient implementation of the TOPSIS (Technique for Order Preference by Similarity to Ideal Solution) method. It's a straightforward tool to evaluate alternatives based on multiple criteria and rank them according to their relative performance.
How to Install
To install the package, use pip as follows:
pip install topsis102203635
Quick Start Guide
Import the Library and Set Up Data Here's an example to help you get started with this package:
import pandas as pd from topsis102203635 import Topsis
data = { 'P1': [0.88, 0.91, 0.79, 0.94], 'P2': [0.77, 0.83, 0.62, 0.88], 'P3': [6.5, 7.0, 4.8, 3.6], 'P4': [51.5, 31.7, 46.7, 62.2], 'P5': [14.91, 10.11, 13.23, 16.91] }
df = pd.DataFrame(data)
weights = [0.2, 0.2, 0.2, 0.2, 0.2] impacts = ['+', '+', '-', '+', '+']
topsis = Topsis(df, weights, impacts)
result = topsis.calculate()
print(result)
Key Features
Ease of Use: Simplified syntax for implementing the TOPSIS method. Flexible Criteria: Support for any number of criteria with user-defined weights and impacts. Customizable: Easily modify input data, weights, and the direction (impact) of each criterion.
Project details
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 topsis102203635-0.1.4.tar.gz.
File metadata
- Download URL: topsis102203635-0.1.4.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
69bdb7394cf0e8c3878eb790b9a8d8ef3105018bab60d9c5386887dbdfc15d32
|
|
| MD5 |
a9345c93fef7f859d9f15d8ce4880810
|
|
| BLAKE2b-256 |
44963d20fb62d04da1f05ddf3c07bab2a647129085b5fd3eaecc7cd91d595849
|
File details
Details for the file topsis102203635-0.1.4-py3-none-any.whl.
File metadata
- Download URL: topsis102203635-0.1.4-py3-none-any.whl
- Upload date:
- Size: 4.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36e1e2840b6f3249cedf0626f2f92422faed8ebe63646aec94ab6858ddd4f26e
|
|
| MD5 |
1575001de66bd48682676eaa707cbe90
|
|
| BLAKE2b-256 |
d6a1a04139e572b339a61ba5531526694005a4068ffdefcc540d482d018275b7
|