Topsis package for Multiple Criteria Decision Making problems(MCDM) problems
Project description
Topsis-Simardeep-102003559 is a Python library for dealing Multiple Criteria Decision Making(MCDM)
Installation
pip install Topsis-Simardeep-102003559
Usage
Enter csv filename followed by .csv extentsion, then enter the weights string with values separated by commas, followed by the impacts string with comma separated signs (+,-) and name of file followed by -.csv- extension in which the user wants the output file
topsis sample.csv "1,1,1,1" "-,+,+,+" sample_result.csv
Example
sample.csv
A csv file showing data for different mobile handsets having varying features.
Mobile Name Cost Storage Space Camera Looks
0 M1 250 16 12 5
1 M2 200 16 8 3
2 M3 300 32 16 4
3 M4 275 32 8 4
4 M5 225 16 16 2
weights string = "0.25,0.25,0.25,0.25"
impacts string = "-,+,+,+"
input:
topsis sample.csv "0.25,0.25,0.25,0.25" "-,+,+,+" sample_result.csv
output:
Mobile Name Cost Storage Space Camera Looks Performance Rank
0 M1 250 16 12 5 0.534277 3
1 M2 200 16 8 3 0.308368 5
2 M3 300 32 16 4 0.691632 1
3 M4 275 32 8 4 0.534737 2
4 M5 225 16 16 2 0.401046 4
An output csv file will also be auto generated.
License
2023 Simardeep Singh
This repository is licensed under the MIT license. See LICENSE for details.
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-Simardeep-102003559-1.0.0.tar.gz.
File metadata
- Download URL: Topsis-Simardeep-102003559-1.0.0.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dfb868d3fef15871abec695d0d1b30b313f3c8d2e3110ad0a0b9fbcf880ad679
|
|
| MD5 |
3cf8d97d10a8b98b3e3f36cc09bc0721
|
|
| BLAKE2b-256 |
e3af751f176793e9ec63383c3ec21aa7c92f12f45b208e1cfd9c1e3cef5e5e8c
|
File details
Details for the file Topsis_Simardeep_102003559-1.0.0-py3-none-any.whl.
File metadata
- Download URL: Topsis_Simardeep_102003559-1.0.0-py3-none-any.whl
- Upload date:
- Size: 4.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76dd887b999fbb7901eead2deaa06d230c3ffc326e817f226ff0d9d66617c445
|
|
| MD5 |
fbb9355cdb5a6875b1aa6e58b948b97a
|
|
| BLAKE2b-256 |
1d84351f89fa8ecb50656c586316be6926e9016504550721e26e77ce4742bb2b
|