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.3.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

TOPSIS_PANKAJ_101803352-0.3-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: TOPSIS_PANKAJ_101803352-0.3.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.3.tar.gz
Algorithm Hash digest
SHA256 766dffba61ae0cf5fc997d740e6862ead87d6ac755077045756f072cd741bc27
MD5 4b26260230e5ed6b44f08a854a7c69d8
BLAKE2b-256 c0ecc804cdb9a022269d81d3c86727940b83a34e5be3c753cab7a88a5fc1d220

See more details on using hashes here.

File details

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

File metadata

  • Download URL: TOPSIS_PANKAJ_101803352-0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.2 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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 414d3ce136b2d1a3175327330a52e8ebd6b9c3e03db6ad0754df4fca9347a831
MD5 f3797340e29fd5bc67700fc2fa98adf7
BLAKE2b-256 11d7eef72589da91ea54aac257a64ba838d6986f3816d69febd83e41c892da71

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