Skip to main content

Implements topsis on the given input data file and generates topsis score and ranks accordingly.

Project description

Topsis-Ikshit-102003403

Used as a command line tool to generate topsis score and ranks of the given input data file along with weights and impacts.

Installation

pip install Topsis-Ikshit-102003403

How to use it?

1.Open the terminal / cmd 2.Type topsis <input_filename.csv> <"Weights"> <"Impacts"> <output_filename.csv>

For eg python 102003403.py 102003403-data.csv "2,2,3,3,4" "-,+,-,+,-" 102003403-result2.csv

Fund Name P1 P2 P3 P4 P5
M1 0.78 0.61 6.6 59.7 16.92
M2 0.76 0.58 3.2 53.5 14.51
M3 0.92 0.85 6.2 30.9 9.72
M4 0.84 0.71 4.4 66.6 18.14
M5 0.62 0.38 6.8 66.6 18.6
M6 0.63 0.4 5.3 40.6 11.73
M7 0.91 0.83 5 68.4 18.79
M8 0.84 0.71 6 62 17.39

gives output as

Fund Name P1 P2 P3 P4 P5 Topsis Score Rank
M1 0.693984785 0.658498148 1.260022389 1.101800492 1.49138809 0.391600818 7
M2 0.676190304 0.626112993 0.610919946 0.98737565 1.278962245 0.608431381 1
M3 0.818546157 0.917579386 1.183657396 0.570278647 0.85675486 0.504394509 3
M4 0.74736823 0.766448664 0.840014926 1.229144268 1.598923165 0.51971065 2
M5 0.551628932 0.410211961 1.298204886 1.229144268 1.639469177 0.38021749 8
M6 0.560526173 0.431802064 1.011836161 0.749298157 1.033923304 0.475517399 5
M7 0.809648916 0.895989283 0.954562416 1.262364383 1.656216443 0.501336766 4
M8 0.74736823 0.766448664 1.145474899 1.144248417 1.532815537 0.438781833 6

License

© 2023 Ikshit

This repository is licensed under the MIT license. See LICENSE for details.

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-Ikshit-102003403-1.1.3.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

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

Topsis_Ikshit_102003403-1.1.3-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file Topsis-Ikshit-102003403-1.1.3.tar.gz.

File metadata

  • Download URL: Topsis-Ikshit-102003403-1.1.3.tar.gz
  • Upload date:
  • Size: 5.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.2

File hashes

Hashes for Topsis-Ikshit-102003403-1.1.3.tar.gz
Algorithm Hash digest
SHA256 6ab77906c160d19595d112cc27b955a5192c8f581930edf2086b5efb59f2dbd7
MD5 ec5bfb2221a82be7c9d8d59a6850b3ec
BLAKE2b-256 bb8c3b539f0b1794d9e7f23266322055c771e4a3795dbe6a3eff97626bb85fca

See more details on using hashes here.

File details

Details for the file Topsis_Ikshit_102003403-1.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for Topsis_Ikshit_102003403-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 efe8d121eb03d6208eb807991853bb36bf1cb6dceecc97fd0cd273ffdf2213ae
MD5 034586a994fc1c62bfdf5626a2f20d10
BLAKE2b-256 d88f4ab26fc59faa95506efe1b18ea1a3f2cc02edb722067459328b63cf1fae5

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