topsis
Project description
# TOPSIS-102303670
**for:** Project-1 (UCS633)
**submitted by:** Karanveer Singh
**Roll No:** 102303670
**Group:** 3C45
topsispackage1.1.1 is a Python library for solving **Multiple Criteria Decision Making (MCDM)** problems using the
**Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS).**
## Installation
Use the package manager **pip** to install this package:
pip install topsispackage1.1.1
\## usage
This package takes a CSV file as input, along with weights and impacts, and generates a result CSV file
containing Topsis Score and Rank.
Input Rules
The dataset must be a .csv file
The first column should contain names/IDs (non-numeric)
All columns from 2nd onwards must be numeric
The file must contain at least 3 columns
Number of weights and impacts must match the number of numeric columns
Impacts must contain only + or -
Python Function Usage
from topsis import topsis
topsis(
"102303670-data.csv",
"1,1,1,1,2",
"+,+,-,+,+",
"102303670-result.csv"
)
Input File
<img width="491" height="312" alt="image" src="https://github.com/user-attachments/assets/93aa4a71-883b-47b1-a22a-52d7eb5b2617" />
Output File
<img width="662" height="249" alt="image" src="https://github.com/user-attachments/assets/2a5edb06-1763-49af-af4e-1aad8d4c285f" />
Project details
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 topsispackage1_1_1-0.0.6.tar.gz.
File metadata
- Download URL: topsispackage1_1_1-0.0.6.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1cd17321aa60d06c130bbe5c28bfc8a696a906102e18fe3b5ae39399e555f14
|
|
| MD5 |
200f251b7a8e9c24e95f1b42ac71fd9e
|
|
| BLAKE2b-256 |
01ac1bdad78d4a287ec3f0235be7ea1450630d9b4bc0c0cf961f546736aa0fb4
|
File details
Details for the file topsispackage1_1_1-0.0.6-py3-none-any.whl.
File metadata
- Download URL: topsispackage1_1_1-0.0.6-py3-none-any.whl
- Upload date:
- Size: 3.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
477803f861c7090c40537a03e04b00f68ef8ffdbd0267c700fed66119ce9e8fc
|
|
| MD5 |
55a19da86a4a44dbdd327596fdc3b77c
|
|
| BLAKE2b-256 |
55f69b1ac319a88ee3742220ec57b7b68840c8fca13801f191382d47d16cd2eb
|