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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: TOPSIS_PANKAJ_101803352-0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 05603a3e8d7011d84349e0b2a3287fbf9bce0be81697845ea2faaf981ef4cab3
MD5 7fa76243286b900e174b49de841597f8
BLAKE2b-256 5bf2efe9777d7fd5ac78c0b0410b5cfbb5058248ede4f9a8a3b4e9d1cd97066b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: TOPSIS_PANKAJ_101803352-0.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 4453633ea77b061e997158c38b457b491f469bc8603157d4866903aa4a8a36e3
MD5 02d9d87e93b642cc59e4719aec6e7f47
BLAKE2b-256 6943a2075a10a15f6b92b392381d98eb08a8b1345a0a388d2a4f4ca3dcfcbccc

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