A Python package for TOPSIS (Technique for Order of Preference by Similarity to Ideal Solution)
Project description
TOPSIS-102203313-Aryan_Chharia
Description
This package implements the Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS) method. TOPSIS is a multi-criteria decision analysis method that helps in ranking alternatives based on multiple criteria.
Installation
pip install Topsis-102203313-Aryan_Chharia
Usage
The package can be used from the command line:
topsis-aryan <InputDataFile> <Weights> <Impacts> <ResultFileName>
Arguments:
InputDataFile: CSV file containing the decision matrix- First column: Object/Alternative names
- Second column onwards: Criteria values (numeric)
Weights: Comma-separated weights for criteria (e.g., "1,1,1,2")Impacts: Comma-separated impacts for criteria ('+' for benefit, '-' for cost) (e.g., "+,+,-,+")ResultFileName: Name of the output CSV file
Example:
topsis-aryan data.csv "1,1,1,2" "+,+,-,+" result.csv
Input File Format:
The input CSV file should look like this:
Fund Name,P1,P2,P3,P4
M1,0.85,0.72,4.6,42
M2,0.65,0.66,4.8,53
M3,0.90,0.77,4.5,38
Output:
The program will create a result CSV file with additional columns:
- Topsis Score
- Rank
License
MIT License
Author
Aryan Chharia
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_102203313_aryan_chharia-1.0.0.tar.gz.
File metadata
- Download URL: topsis_102203313_aryan_chharia-1.0.0.tar.gz
- Upload date:
- Size: 3.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e2a6d36e6cd4911e8ee04d2950b6d3ea6777b7c159539bc1994cbbef6c4c78b3
|
|
| MD5 |
d2d9b6cf2c3480c685f04df0fa3e2bfe
|
|
| BLAKE2b-256 |
7647e6b53415a9ab9f15e68729d5d26c46a2e9d02cdd7fc5572d8c5fe8d63f1b
|
File details
Details for the file Topsis_102203313_Aryan_Chharia-1.0.0-py3-none-any.whl.
File metadata
- Download URL: Topsis_102203313_Aryan_Chharia-1.0.0-py3-none-any.whl
- Upload date:
- Size: 5.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.0.1 CPython/3.12.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d92d6990cd62dc316cb1ae2e9c20b52f03daac57d6b0a8c9fd52987ee4502752
|
|
| MD5 |
d931b90485a3bde061f33f5fac5ea188
|
|
| BLAKE2b-256 |
44aa07260dc8b13f0926cddf87f633ef205f3b72368cf62b7c4f936338c1f9d2
|