Skip to main content

Calculates Topsis Score and Rank them accordingly

Project description

TOPSIS

How to use The package Topsis-Vanshaj-102003346 can be run though the command line as follows:

pip install Topsis-Vanshaj-102003346 python topsis data.csv "1,1,1,1,1" "+,-,+,-,+" result.csv Sample Input

Fund Name P1 P2 P3 P4 P5 M1 0.85 0.72 7 37.3 11.47 M2 0.67 0.45 5.5 58.2 16.21 M3 0.83 0.69 3.9 68.3 18.43 M4 0.83 0.69 3.9 42.7 12.03 M5 0.71 0.5 3.2 57.9 15.58 M6 0.94 0.88 4.7 46.6 13.28 M7 0.68 0.46 7 41.4 12.39 M8 0.95 0.9 6.5 33.8 10.54

Output of this sample input The output that will be generated from the following input data will be:

Fund Name P1 P2 P3 P4 P5 Topsis Score Rank M1 0.85 0.72 7 37.3 11.47 0.606515477 2 M2 0.67 0.45 5.5 58.2 16.21 0.571404528 3 M3 0.83 0.69 3.9 68.3 18.43 0.411429976 8 M4 0.83 0.69 3.9 42.7 12.03 0.435972941 6 M5 0.71 0.5 3.2 57.9 15.58 0.436800052 5 M6 0.94 0.88 4.7 46.6 13.28 0.422424787 7 M7 0.68 0.46 7 41.4 12.39 0.66149433 1 M8 0.95 0.9 6.5 33.8 10.54 0.530809186 4

The output file contains columns of input file along with two additional columns having Topsis_score and Rank . Here the ranks are given as rank 1 is the best solution according to the weights and impacts given and rank 8 is the worst solution.

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-Vanshaj-102003346-0.1.2.tar.gz (3.3 kB view details)

Uploaded Source

Built Distributions

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

Topsis_Vanshaj_102003346-0.1.2-py3.10.egg (5.5 kB view details)

Uploaded Egg

Topsis_Vanshaj_102003346-0.1.2-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file Topsis-Vanshaj-102003346-0.1.2.tar.gz.

File metadata

File hashes

Hashes for Topsis-Vanshaj-102003346-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f97228dcc39d7415b4b8a273f45c9bfecfbe84aa08d9551dddd30d732beaa106
MD5 29ccc873f48241bbdf0c8b4e45962fcf
BLAKE2b-256 e9944b12c42802fc4f3b4cae783d9cea83b60b8942552b8ce72291434648706d

See more details on using hashes here.

File details

Details for the file Topsis_Vanshaj_102003346-0.1.2-py3.10.egg.

File metadata

File hashes

Hashes for Topsis_Vanshaj_102003346-0.1.2-py3.10.egg
Algorithm Hash digest
SHA256 0367aba09f3e7e0ec388e1061df1b1341b8fc45e02b975ab3715bfc9578588bd
MD5 249d6cc0e886f78094be7c7eb4ec68c8
BLAKE2b-256 d823051acc20619f9be7f7114f9e2f29e48e9ccb6febc72b909c3380f5db08a7

See more details on using hashes here.

File details

Details for the file Topsis_Vanshaj_102003346-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for Topsis_Vanshaj_102003346-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 4108ad9e6670597b996436060731bf96dc610c8eb3c8e5abffa7c7788fffafcc
MD5 99536e7b53170047addf5ba998643cfd
BLAKE2b-256 26710b5f8097b53889a720ecb4fbda4e2639f6d5d3466f288e9e0750081e376a

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