Observed since 20 Oct, 15:08 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
A Python package for TOPSIS multi-criteria decision making
TOPSIS (Technique for Order Preference by Similarity to Ideal Solution) is a multi-criteria decision-making (MCDM) method used for ranking and selecting alternatives based on multiple criteria. This Python package allows users to easily apply the TOPSIS method to their datasets.
Install the package using pip:
pip install 102203236_Topsis
from topsis import Topsis
# Importing the package
from topsis import Topsis
# Define the input parameters
filename = "data.xlsx"
impacts = ['+','+','+','-','+']
weights = [0.25, 0.25, 0.25, 0.25, 0.25]
# Run TOPSIS
result = Topsis(filename, impacts, weights).get_result()
# Print the ranked result
print(result)
The input Excel file should contain numeric data for decision-making criteria. An example format:
| Fund Name | Criterion 1 | Criterion 2 | Criterion 3 | Criterion 4 | Criterion 5 |
|---|---|---|---|---|---|
| Fund A | 250 | 3.5 | 1200 | 8 | 85 |
| Fund B | 275 | 4.0 | 1150 | 7 | 90 |
| Fund C | 260 | 3.8 | 1250 | 6 | 88 |
The output DataFrame includes the original data with additional columns:
This package requires:
pandasnumpyThese dependencies will be automatically installed when using pip install 102203236_Topsis.
This project is licensed under the MIT License.
Pull requests are welcome! If you have suggestions or improvements, feel free to submit an issue or PR.
Enjoy using the TOPSIS package! 🚀
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 0.0.1 | 19 Jan 2025 | 2 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 15:08 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:bcf45cd91a563bc486b2b93ad64d9680a5331b2aa670f9d50165e8f5682af8e5