Skip to main content

TOPSIS is a method of compensatory aggregation that compares a set of alternatives by identifying weights for each criterion, normalising scores for each criterion and calculating the geometric distance between each alternative and the ideal alternative, which is the best score in each criterion.

Project description

Topsis-Paryagdeep-101903573

TOPSIS is a method of compensatory aggregation that compares a set of alternatives by identifying weights for each criterion, normalising scores for each criterion and calculating the geometric distance between each alternative and the ideal alternative, which is the best score in each criterion. An assumption of TOPSIS is that the criteria are monotonically increasing or decreasing. Normalisation is usually required as the parameters or criteria are often of incongruous dimensions in multi-criteria problems

Installation Instructions

Supported version - Python 3.10

pip install Topsis-Paryagdeep-101903573

Running the package requires 4 arguments to be passed to the package-

  • Input data file in .xlsx format
  • Weights of each parameter (equal to the number of parameters)
  • Impact of each parameter (equal to the number of output parameters)
  • Output file name in .csv format

Example

Example command line argument -

Topsis-Paryagdeep-101903573 data.xlsx 1,1,2,1,1 +,+,-,-,+ output.csv

Input File (data.xlsx) :

img.png

The resultant file will be saved as per the output file name that is passed in the command line. Must be csv file type.

Output file (output.csv) :

img.png

The output file will contain the Topsis score and Rank appended to the original dataset.

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-Paryagdeep-101903573-0.0.2.2.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

Topsis_Paryagdeep_101903573-0.0.2.2-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file Topsis-Paryagdeep-101903573-0.0.2.2.tar.gz.

File metadata

  • Download URL: Topsis-Paryagdeep-101903573-0.0.2.2.tar.gz
  • Upload date:
  • Size: 3.8 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-Paryagdeep-101903573-0.0.2.2.tar.gz
Algorithm Hash digest
SHA256 c0c7082c3edb5bc9b3727b47de2e970ea369787c780bae8af9fa3f1d5fae9385
MD5 95b10661b5e1c9b109cd9de22e998a85
BLAKE2b-256 9701ca74903665912c08d5d5053eb5e77b2b734eea4eee30980b5051dd3701d0

See more details on using hashes here.

File details

Details for the file Topsis_Paryagdeep_101903573-0.0.2.2-py3-none-any.whl.

File metadata

  • Download URL: Topsis_Paryagdeep_101903573-0.0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 4.2 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_Paryagdeep_101903573-0.0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d8ef7b58380101c2ec73e31a257709fa0b5a5d72eb68dd8a32945eca731a5b45
MD5 e4c2ac45bd761f52d8d34ffc8e39b0cf
BLAKE2b-256 0ba9d84ef23650520c453f68febff1bd3a3f4e5c8cc4bf87b0295c6ae13c9de5

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