Skip to main content

TOPSIS Package to rank different models

Project description

TOPSIS

Perform TOPSIS on different models to rank them depending on the weights and impact of each parameters.

Documentation

Commands:

  1. import topsis_vinay_101803108 as top
  2. top.topsis("filename","wts list","impacts list","resultfile")

Note:

  • File should be of CSV type containing all the parameter for different files.
  • Provdie weights and impact array in form of list
  • wts => [1,1,1,1], impacts => ['-','+','+','+']

Eg.

After Analysing

top.topsis('file.csv',[1,1,0,5,1],['+','+','-','+'],'out.csv')

Model Corr Rseq Rmse Accuracy T_score Rank
M1 0.79 0.62 1.25 60.89 0.32358 2
M2 0.66 0.44 2.89 63.07 0.29871 3
M3 0.56 0.31 1.57 62.87 0.59283 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_Vinay_101803108-0.0.1.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

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

topsis_Vinay_101803108-0.0.1-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file topsis_Vinay_101803108-0.0.1.tar.gz.

File metadata

  • Download URL: topsis_Vinay_101803108-0.0.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for topsis_Vinay_101803108-0.0.1.tar.gz
Algorithm Hash digest
SHA256 17afcbaca02566d69f26aaf1b816011df6be931b4540cf95963ad0fe10dde90f
MD5 29014a52c02582b4b747b18044c706c7
BLAKE2b-256 9be352b3383819b8f246909d659047e3fbd3f4085de26cd76522e9e228e4bf79

See more details on using hashes here.

File details

Details for the file topsis_Vinay_101803108-0.0.1-py3-none-any.whl.

File metadata

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

File hashes

Hashes for topsis_Vinay_101803108-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 e0a5ec9244f595ab49a69583812fb14aa28bdd3654db46b7bcbded0e6f27f5d5
MD5 eca808fa8902b80702525671f852d046
BLAKE2b-256 ae158407f344c470f58e028c8ddfcb6e22d462d28563742940d689d9fcfae5d0

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