Skip to main content

TOPSIS Implementation in Python.

Project description

TOPSIS-Python

Assignment-1

Submitted By: Anureet Kaur 102003146



## Installation
>> pip install Topsis-Anureet-102003146

## Usage
>> topsis 102003146-data.csv "1,1,1,1,1" "+,+,+,-,+" 102003146-result.csv

## Sample dataset 102003146-data.csv ``` Fund Name P1 P2 P3 P4 P5 Topsis Score Rank M1 0.85 0.72 6.5 49.3 14.34 0.661086394 1 M2 0.74 0.55 6.6 69.4 19.32 0.532278586 4 M3 0.66 0.44 6.1 47.7 13.73 0.473141361 5 M4 0.88 0.77 4.5 47.6 13.44 0.550101639 2 M5 0.75 0.56 3.8 58.3 15.85 0.364566446 7 M6 0.67 0.45 3.7 54.5 14.83 0.305350114 8 M7 0.91 0.83 4.1 33.4 9.81 0.544098949 3 M8 0.87 0.76 3.3 62.2 16.78 0.457451256 6 ```
weights=[1 , 1 , 1 , 1 , 1]

impacts=[+, +, +, -, +]

Input

>> topsis 102003146-data.csv "1,1,1,1,1" "+,+,+,-,+" 102003146-result.csv

Output

  Row_NO  Performance_Score  Rank
0       1           0.661086     1
1       2           0.532279     4
2       3           0.473141     5
3       4           0.550102     2
4       5           0.364566     7
5       6           0.305350     8
6       7           0.544099     3
7       8           0.457451     6

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

Topsis-Anureet Kaur-102003146-0.0.2.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Topsis_Anureet_Kaur_102003146-0.0.2-py3-none-any.whl (3.9 kB view details)

Uploaded Python 3

File details

Details for the file Topsis-Anureet Kaur-102003146-0.0.2.tar.gz.

File metadata

File hashes

Hashes for Topsis-Anureet Kaur-102003146-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a40a6046a02350c18a0329329e95e4720b64912d2719dcc2f03fcc13c0b9d7ee
MD5 1dde2faf7a7a91d75bc5560484e68532
BLAKE2b-256 290ffe79c468184b20451b6f50e0ee039d00899085ffa2800155767f4f6ebc66

See more details on using hashes here.

File details

Details for the file Topsis_Anureet_Kaur_102003146-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for Topsis_Anureet_Kaur_102003146-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ba29183c66b37396ac562e5f277ae1813ad37564f84d7168e9e42f73059206dc
MD5 84c7927b59a7eadb2dab3de3788d8882
BLAKE2b-256 33098870878c59569ce23b32f29aa3544753cf42c18a9056153b245121130556

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page