A Python package for TOPSIS MCDM problems
Project description
TOPSIS-Khushnoor-102303219
for: Project-1 (UCS654) submitted by: Khushnoor Kaur Roll no: 102303219
TOPSIS (Technique for Order of Preference by Similarity to Ideal Solution) is a multi-criteria decision-making method used for ranking and selecting alternatives.
Installation
pip install TOPSIS-Khushnoor-102303219
## Usage
Enter the CSV filename followed by the .csv extension, then enter the weights vector and the impacts vector (separated by commas).
```bash
topsis <InputDataFile> <Weights> <Impacts> <OutputResultFileName>
Example: topsis sample.csv "1,1,1,2" "+,+,-,+" result.csv
## Sample Input (sample.csv)
| Model | Storage space | Camera | Price | Looks |
|-------|---------------|--------|-------|-------|
| M1 | 16 | 12 | 250 | 5 |
| M2 | 16 | 8 | 200 | 3 |
| M3 | 32 | 16 | 300 | 4 |
## Output
The output file will contain the original columns plus the Topsis Score and Rank.
| P-Score | Rank |
|----------|------|
| 0.534277 | 2 |
| 0.308368 | 3 |
| 0.691632 | 1 |
## Other notes:
* The first column and first row are removed by the library before processing.
* Ensure the CSV follows the format shown in sample.csv.
* Make sure the CSV does not contain categorical values.
## License:
[MIT](https://choosealicense.com/licenses/mit/)
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_khushnoor_102303219-1.1.0.tar.gz.
File metadata
- Download URL: topsis_khushnoor_102303219-1.1.0.tar.gz
- Upload date:
- Size: 3.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
90c51f5446adf74a5a56072fce0e87c5788843ca24735ee5a831ea6c61f2c559
|
|
| MD5 |
3cb038f10690e5c96d6a6d57e1c9f7a9
|
|
| BLAKE2b-256 |
22d51b3f413fc6bf4fc944e7bb804c2af53eba0f274ded13c6f114a9a1c95536
|
File details
Details for the file topsis_khushnoor_102303219-1.1.0-py3-none-any.whl.
File metadata
- Download URL: topsis_khushnoor_102303219-1.1.0-py3-none-any.whl
- Upload date:
- Size: 3.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 |
7397fa4f9bb7381487f0e82764a4b46588515d389b0d35e9a11db893899aa19a
|
|
| MD5 |
74584a3a7f46c12de70ce1143715b57b
|
|
| BLAKE2b-256 |
e1b7abc4b6f82b655df3ebf6b8faa60eb9b076c88d361d40a6e6356080896679
|