A Python package for implementing Topsis method
Project description
Topsis-Piyush-102217003
A Python package for implementing the Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS), a multi-criteria decision-making method.
Installation
Install the package from PyPI:
pip install Topsis-Piyush-102217003
Usage
Input
The package expects a CSV file with the following structure:
The first row contains column headers. The first column contains alternative names. The subsequent columns contain numerical values for different criteria. Output The result will include the following:
Topsis Score: A score for each alternative. Rank: Ranking of the alternatives based on the score.
Explanation of Parameters:
"data.csv": Input CSV file path. "1,1,1": Weights for each criterion. "+,+,-": Impact of each criterion (+ for beneficial, - for non-beneficial). "result.csv": Output CSV file path.
Features
Handles both beneficial and non-beneficial criteria. Scalable to multiple alternatives and criteria. Provides normalized scores for accurate decision-making.
Dependencies
Ensure you have the following Python libraries installed (they will be auto-installed via pip):
numpy pandas
Contributing
Contributions are welcome! Please follow these steps:
Fork the repository. Create a new branch for your feature or bug fix. Submit a pull request.
Acknowledgments
Inspired by the Topsis method for decision-making. Developed by Piyush Garg.
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 topsis_piyush_102217003-0.1.0.tar.gz.
File metadata
- Download URL: topsis_piyush_102217003-0.1.0.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
680d709b1b7484d34811e47171478b653cd89a5c26a6accb62163f797e3367d6
|
|
| MD5 |
26451fa436899bf4f1a5c5f5285e0d4f
|
|
| BLAKE2b-256 |
5ddaf11ac7a0518d3381e42b7a3335ddd436957306e4624634307faea0959158
|
File details
Details for the file Topsis_Piyush_102217003-0.1.0-py3-none-any.whl.
File metadata
- Download URL: Topsis_Piyush_102217003-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.13.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
36c7c5637221bc0c2ef8048806b16e48ef9adb67577573d0278891126114f14c
|
|
| MD5 |
69ef3a3df0847c70eba5359b798f40d8
|
|
| BLAKE2b-256 |
b229ba580cd58c2600e1c876c073cdb10775f5ce920665fe7956b19930b90335
|