Skip to main content

TOPSIS is an acronym that stands for ‘Technique of Order Preference Similarity to the Ideal Solution’ and is a pretty straightforward MCDA method

Project description

What is TOPSIS

TOPSIS (Technique for Order Preference by Similarity to Ideal Solution) is one of the numerical methods of the multi-criteria decision making. This is a broadly applicable method with a simple mathematical model.It chooses the alternative of shortest Euclidean distance from the ideal solution, and greatest distance from the negative-ideal solution.

To Install the package use

pip install TOPSIS-DILREET-101803048==1.0.2

To Run the package use :

cd TOPSIS-DILREET-101803048
python topsis.py data.csv 1,1,1,2 +,+,-,+ result.csv

The format is

topsis

Steps used in TOPSIS

1)Normalize the given decision data 2)Find weighted normalized 3)Determine positive ideal and negative ideal solution 4)Calculate separation measures 5)Find relative closesness to ideal solution 6)Rank the preference order

Sample Data:

Model,Corr,Rseq,RMSE,Accuracy M1,0.79,0.62,1.25,60.89 M2,0.66,0.44,2.89,63.07 M3,0.56,0.31,1.57,62.87 M4,0.82,0.67,2.68,70.19 M5,0.75,0.56,1.3,80.39

Output of This Data

1,2,3,4,performance score,rank as per topsis M1,0.79,0.62,1.25,60.89,0.7722097345612788,2 M2,0.66,0.44,2.89,63.07,0.22559875426413367,5 M3,0.56,0.31,1.57,62.87,0.43889731728018605,4 M4,0.82,0.67,2.68,70.19,0.5238778712729114,3 M5,0.75,0.56,1.3,80.39,0.8113887082429979,1

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-DILREET-101803048-1.0.2.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

TOPSIS_DILREET_101803048-1.0.2-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file TOPSIS-DILREET-101803048-1.0.2.tar.gz.

File metadata

  • Download URL: TOPSIS-DILREET-101803048-1.0.2.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for TOPSIS-DILREET-101803048-1.0.2.tar.gz
Algorithm Hash digest
SHA256 807e09b025ef734f01a9c79287710983c4b82aa7eb4a5fff8d35823e6661d0d9
MD5 b033c46f8009a14ba4b4814e26d53722
BLAKE2b-256 40d76b41e46bf39b3fd67ac52cfa3ca21f724bfbf202122b147a448a043b333e

See more details on using hashes here.

File details

Details for the file TOPSIS_DILREET_101803048-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: TOPSIS_DILREET_101803048-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for TOPSIS_DILREET_101803048-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1433e6cb2a4a2f28045107f75540f86f535dcaf740d8e344af4c9717c869dc4f
MD5 18b3595c3a5f2d4488e3f13a64199e1b
BLAKE2b-256 e412fa46622e02c628c6f301e092775b9e0c3c8b79a7670b60fe0b65f758b88a

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