Skip to main content

Compare different models using performance score

Project description

TOPSIS

Use it to compare results or parameters of different models and rank them accordingly

Documentation

Commands:

  1. import topsis_simran_101803100 as tp
  2. tp.topsis("filename","weights array","impacts array","resultfilename")

Note:

  • File should be of CSV type containing all the parameter for different files.
  • All the data should be of numeric type.
  • TOPSIS score will be stored in the resultfilename.csv
  • Provdie weights and impact array in form of list
  • wts => [1,1,1,1], impacts => ['-','+','+','+']

Eg.

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

tp.topsis('data.csv',[1,1,1,1],['-','+','+','+'],'result.csv')

RESULT

Model Corr Rseq Rmse Accuracy p_score rank
M1 0.79 0.62 1.25 60.89 0.624385 1
M2 0.66 0.44 2.89 63.07 0.289848 3
M3 0.56 0.31 1.57 62.87 0.398557 2

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_simran_101803100-1.0.2.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_simran_101803100-1.0.2-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file topsis_simran_101803100-1.0.2.tar.gz.

File metadata

  • Download URL: topsis_simran_101803100-1.0.2.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_simran_101803100-1.0.2.tar.gz
Algorithm Hash digest
SHA256 d602abed8dd654d0a3158669596c804d1d2bfc147b4fb6d298db5b1d7f00c720
MD5 938a5e02d8cd05bd756d8d22e3dd2e4a
BLAKE2b-256 99641314cb9a9842a8f77a0cdcef5943a6b32e3f9fa5e391b282bd739a3c3eeb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: topsis_simran_101803100-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 3.5 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_simran_101803100-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 805ebcfa606cf402118050439f08dfb2274d42cc735cdbb71712f06732f88dc9
MD5 7ba10969d16b9b7c9c3689400670d4fe
BLAKE2b-256 513e38f3425fb495c54eb119ef923071bed94ecbe7ea73d2c5753d3f29be42e0

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