A Python package for implementing the TOPSIS method.
Project description
TOPSIS Implementation in Python
A Python implementation of the Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS) for multi-criteria decision-making problems. This package processes an input dataset, calculates the TOPSIS scores, and ranks alternatives based on their scores.
Installation
You can install this package directly from PyPI:
pip install 102203584
Usage
Command-Line Interface
Run the script using the following format:
python <program.py> <InputDataFile> <Weights> <Impacts> <ResultFileName>
Arguments:
-
InputDataFile: Path to the input .csv file containing the dataset. -The first column should contain the names of the alternatives. -The remaining columns should contain numeric criteria values.
-
Weights: Comma-separated values representing the importance of each criterion.
-
Impacts: Comma-separated values (+ or -) indicating whether the criterion is beneficial (+) or non-beneficial (-).
-
ResultFileName: Name of the output .csv file where the results (TOPSIS scores and ranks) will be saved
Dependencies
This package requires the following Python libraries: -pandas -numpy
License
This repository is licensed under the MIT license. See LICENSE for details.
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_trish_rustagi_102203584-0.1.0.tar.gz.
File metadata
- Download URL: topsis_trish_rustagi_102203584-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 |
9dd395a5a5c227639a4fba461b49f85a4bc4275f83c120960f7317ee941b44e3
|
|
| MD5 |
598e5b0029dcec1649a194acc8ec2b81
|
|
| BLAKE2b-256 |
6002a6e0d69de19b9f5c131a224e04eb8c0f9ce0a52897a34a11ea9bacbb058e
|
File details
Details for the file Topsis_Trish_Rustagi_102203584-0.1.0-py3-none-any.whl.
File metadata
- Download URL: Topsis_Trish_Rustagi_102203584-0.1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 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 |
34408e4feddf25ca9cf15eeb799f663b8918ff9d347bb032d0d3eceac00aaa93
|
|
| MD5 |
df7924121e9bbd4221dcdbdbf2980f6c
|
|
| BLAKE2b-256 |
e43fc43b132e2192108934e4770352be49a7ce63987118591977d43a284d374b
|