Skip to main content

Topsis score calculator

Project description

TOPSIS is Technique for Order Preference by Similarity to Ideal Solution (TOPSIS) originated in the 1980s as a multi-criteria decision making method.Include the module at the top of your python code as follows:from Topsis_Jai_101903156.topsis import *.Then use the function topsis_score('csv path or filename if the code and dataset are in the same directory','comma separated weights','comma separated impacts','name_of_result_file.csv').Run the code and you will get a csv file as your result containing topsis score and ranks. You can also run from command line.Add another library as 'import sys' in your python code and write the function as follows:Topsis_score(sys.argv[1],sys.argv[2],sys.argv[3],sys.argv[4]) and provide arguments in the terminal as the following sample: 'python3 test.py data.csv '0.25,0.25,0.25,5' '-,+,+,-' 'result.csv' '

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-Jai-101903156-0.1.1.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

Topsis_Jai_101903156-0.1.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file Topsis-Jai-101903156-0.1.1.tar.gz.

File metadata

  • Download URL: Topsis-Jai-101903156-0.1.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for Topsis-Jai-101903156-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4500fce2e5f02a0cc9b6813c17f80ad92b74a4aca97cc327081d7f1ca7267915
MD5 c06e1cdcf8d96c2eb26b10708eb766c3
BLAKE2b-256 4248d8db2e46e8558d27697dcb5e6ee34be834b3760189076ce7a474dfec0f84

See more details on using hashes here.

File details

Details for the file Topsis_Jai_101903156-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: Topsis_Jai_101903156-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for Topsis_Jai_101903156-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ea294665b3421aa90a680b8d53162d31ff4bede8b014ce86f7896b676678b5be
MD5 84755260af17fd25cb49423f44f57da8
BLAKE2b-256 bde3ea5e0be52d1dffb504ceef8a2836d6775ae9fa848ab1c589a51e000881b0

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