Skip to main content

Multiple Criteria Decision Making using Topsis

Project description

 Project Description

TOPSIS implementation for Multi Criteria Decision Making(MCDM)

The Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS) is a multi-criteria decision analysis method, which is based on the concept that the chosen alternative should have the shortest geometric distance from the positive ideal solution (PIS)[4] and the longest geometric distance from the negative ideal solution (NIS).

The package (TOPSIS_PANKAJ_10180332) contains the python script topsis.py and it further contains the function topsis_score which has to given 4 parameters -

  1. Name of input .csv file.
  2. Weights of all the attributes in the form of list.
  3. Impact of all the parameters(either '+' or '-') in form of list.
  4. Name of output .csv file.

Note - All the column entries should be numeric only.

Example code :

import TOPSIS_PANKAJ_101803352.topsis topsis.topsis_score('inputFile.csv', [1,1,1,1], ['+','+','-','+',],'outputFile.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_PANKAJ_101803352-0.2.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

TOPSIS_PANKAJ_101803352-0.2-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file TOPSIS_PANKAJ_101803352-0.2.tar.gz.

File metadata

  • Download URL: TOPSIS_PANKAJ_101803352-0.2.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.4

File hashes

Hashes for TOPSIS_PANKAJ_101803352-0.2.tar.gz
Algorithm Hash digest
SHA256 88240f8b67c260a2b223dcb6b912ee7fbb5783598329a3a2df99af790f72bbec
MD5 5570b7193f2722f241498818e1896479
BLAKE2b-256 89fbea28eae7b36e98be53b46a4e9df64eedca549f6a8a2d23a233dbf282f5b0

See more details on using hashes here.

File details

Details for the file TOPSIS_PANKAJ_101803352-0.2-py3-none-any.whl.

File metadata

  • Download URL: TOPSIS_PANKAJ_101803352-0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.4

File hashes

Hashes for TOPSIS_PANKAJ_101803352-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2e2a8e921b8ab28c46f1f6726fa12c545b67f5ac87792c598afeb0dfd543aaba
MD5 c0d950c56be24cbc0cfc5600d4e1ab99
BLAKE2b-256 7feb3e0b2124abdd58ec2d6098ad7a76bd8e5a1102136f72348030d4b595d048

See more details on using hashes here.

Supported by

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