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 as top

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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: TOPSIS_PANKAJ_101803352-0.4.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.4.tar.gz
Algorithm Hash digest
SHA256 2b876510791c3d9967e5dad4cab49308b99061a1f2dc48d0d5f0240daeffaa8d
MD5 8eb67f14bbbd56459effc7632bdce639
BLAKE2b-256 ee99431e3dec38cec605ae2af2685c36dd62c58bcd24fad30e9319151c53e126

See more details on using hashes here.

File details

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

File metadata

  • Download URL: TOPSIS_PANKAJ_101803352-0.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 96248ddb65d01ca9fdd8b9af198bf58dbddbc6571515161ea7c27a690b05d39f
MD5 cc87aebfd13cf17d3d044a1d80808bf0
BLAKE2b-256 d0da66f2efe2105c3be48b9597aa9e6f48578424c35f9cbb63dcb16e6e2dc93b

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