TOPSIS implementation as a Python package
Project description
TOPSIS – Arihan (102303750)
Introduction
This Python package implements TOPSIS (Technique for Order Preference by Similarity to Ideal Solution), a multi-criteria decision-making (MCDM) technique.
TOPSIS is used to rank alternatives based on their distance from the ideal best and ideal worst solutions.
Problem Statement
Given multiple alternatives and evaluation criteria, TOPSIS helps determine the best alternative by:
- Maximizing benefit criteria
- Minimizing cost criteria
The alternative closest to the ideal solution is ranked highest.
Installation
Install the package from PyPI using pip:
pip install topsis-arihan-102303750
Usage
topsis data.csv "3,1,2,4" "+,-,+,+" output.csv
Sample Input (data.csv)
Student,Marks,Attendance(%),Assignments,ProjectScore
S1,85,92,80,78
S2,78,88,85,82
S3,90,95,92,90
S4,72,80,75,70
S5,88,90,88,85
S6,65,75,70,68
S7,82,85,80,76
S8,95,98,96,94
S9,70,82,78,72
S10,86,89,84,81
Sample Output (output.csv)
Student,Marks,Attendance(%),Assignments,ProjectScore,Topsis Score,Rank
S1,85,92,80,78,0.49,6
S2,78,88,85,82,0.50,5
S3,90,95,92,90,0.81,2
S4,72,80,75,70,0.19,9
S5,88,90,88,85,0.69,3
S6,65,75,70,68,0.13,10
S7,82,85,80,76,0.42,7
S8,95,98,96,94,0.87,1
S9,70,82,78,72,0.20,8
S10,86,89,84,81,0.57,4
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 topsis_arihan_102303750-0.0.2.tar.gz.
File metadata
- Download URL: topsis_arihan_102303750-0.0.2.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ab8749b7b8df0df8dec3776f471c6b5b719a51448b1c23ac81ce6cb57e708a5e
|
|
| MD5 |
e86d9d59bc06d240c0630fa20434b602
|
|
| BLAKE2b-256 |
cb491ff6d9821228de2f4ee8c91d8af5e3d396e9eae3dfe40e4188a31b8cef04
|
File details
Details for the file topsis_arihan_102303750-0.0.2-py3-none-any.whl.
File metadata
- Download URL: topsis_arihan_102303750-0.0.2-py3-none-any.whl
- Upload date:
- Size: 3.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
25502bd20367a0fe38aa1c8dee3ccd822e3712488fb4df365dd09fd610fb8d92
|
|
| MD5 |
c725a522e3a8070bca33b5ad056b5349
|
|
| BLAKE2b-256 |
68d095de700e5b2ce96578c438d3a08aeba295f73a75763ff26c9f5db7a00f4f
|