A Python package for implementing TOPSIS (Technique for Order of Preference by Similarity to Ideal Solution)
Project description
Topsis-Shantanu-102353013
A Python package to implement the TOPSIS (Technique for Order of Preference by Similarity to Ideal Solution) decision-making algorithm.
Installation
pip install Topsis-Shantanu-102353013
Usage
This package can be used via the command line.
Command Line Interface
topsis <InputDataFile> <Weights> <Impacts> <ResultFileName>
Arguments:
- InputDataFile: Path to the input CSV file.
- The first column should contain the object/alternative names (e.g., Fund Name, Model Name).
- From the 2nd to the last column, the file must contain numeric values.
- Weights: A comma-separated string of weights (e.g., "1,1,1,2").
- Impacts: A comma-separated string of impacts, either '+' or '-' (e.g., "+,+,-,+").
- ResultFileName: The name of the output CSV file to save the results.
Example
topsis data.csv "1,1,1,1" "+,+,+,+" result.csv
Output
The output file will contain the original data with two additional columns:
- Topsis Score: The calculated performance score.
- Rank: The rank of the alternative.
License
This project is licensed under the MIT License.
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_shantanu_102353013-1.0.0.tar.gz.
File metadata
- Download URL: topsis_shantanu_102353013-1.0.0.tar.gz
- Upload date:
- Size: 4.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
973f94a284decb175f0b8bfb00e5e2ea458e8fcfc912278485e9bcb8c8ec6105
|
|
| MD5 |
417f6f0459bb7dd21b81826b4508608e
|
|
| BLAKE2b-256 |
5c6f6b2ea70a4dca48e91f5e93ddb329baca13bda3e8bb481f311ddb97b26e00
|
File details
Details for the file topsis_shantanu_102353013-1.0.0-py3-none-any.whl.
File metadata
- Download URL: topsis_shantanu_102353013-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
843dcc727cce9ee58d8548c22a06e054e9000fddaeb08651ee69c692ccaf60a4
|
|
| MD5 |
d02231de153ac33a3ba22a27ced7ea44
|
|
| BLAKE2b-256 |
aceca8cad125b4b68d10b91aff9d8f5e6cfb5fa484b3badab500a3fb3bb84c0a
|