Skip to main content

A package to find the topsis score

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-GURKAWALBIR-101917084==1.0.2

To Run the package use :

cd TOPSIS-GURKAWALBIR-101917084
python topsis.py data.csv result.csv 1,1,1,1,1 +,-,+,-,+

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-Gurkawalbir-101917084-1.0.0.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Topsis_Gurkawalbir_101917084-1.0.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file Topsis-Gurkawalbir-101917084-1.0.0.tar.gz.

File metadata

  • Download URL: Topsis-Gurkawalbir-101917084-1.0.0.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0

File hashes

Hashes for Topsis-Gurkawalbir-101917084-1.0.0.tar.gz
Algorithm Hash digest
SHA256 9eee146b662a7417f6df26e3233fc86d2136640b3d4c10929b1bf3f0fc69224a
MD5 9537196f38399100448923b348597030
BLAKE2b-256 d98cfacf6b8a867c72ccdfa378a9c595ec581902e976cbeffedcf2f27a135662

See more details on using hashes here.

File details

Details for the file Topsis_Gurkawalbir_101917084-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: Topsis_Gurkawalbir_101917084-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0

File hashes

Hashes for Topsis_Gurkawalbir_101917084-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 603463585deae59d1e50bb2a3ee9535ff5f6051d2242ba1680978d0d379bd6d0
MD5 72499bba19129268c4cb4e63df185230
BLAKE2b-256 8f444caef2bca60ba487443db69afd5e9876df43586e26d3937e2d551417a574

See more details on using hashes here.

Supported by

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