Skip to main content

A Python package to implement Topsis analysis

Project description

topsis-python

Topsis analysis of a csv file

""UCS633 Project Submission""

Name -Jahnavi Marjara

Roll no. - 101703250

About Topsis

The Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS) is a multi-criteria decision analysis method, which was originally developed by Ching-Lai Hwang and Yoon in 1981 with further developments by Yoon in 1987, and Hwang, Lai and Liu in 1993. TOPSIS is based on the concept that the chosen alternative should have the shortest geometric distance from the positive ideal solution (PIS) and the longest geometric distance from the negative ideal solution (NIS).

Installation

pip install topsis-101703250_COE12

Usage

Following query on terminal will provide you the topsis analysis for input csv file.

topsis-101703250_COE12 -n "dataset-name.csv" -w "w1,w2,w3,w4,..." -i "i1,i2,i3,i4,..."

w1,w2,w3,w4 represent weights, and i1,i2,i3,i4 represent impacts where 1 is used for maximize and 0 for minimize. Size of w and i is equal to number of features.

Note that the first row and first column of dataset is dropped

Rank 1 signifies best decision

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.

License

MIT

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_101703250_COE12-1.0.0.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file topsis_101703250_COE12-1.0.0.tar.gz.

File metadata

  • Download URL: topsis_101703250_COE12-1.0.0.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/44.0.0.post20200106 requests-toolbelt/0.9.1 tqdm/4.40.2 CPython/3.7.6

File hashes

Hashes for topsis_101703250_COE12-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c8ac00912de41f63bdf26ff604ad537c385f20559598457fdcc58f008de4f3f0
MD5 c4bbb135b0f9c3f84db279cf30e2f9c3
BLAKE2b-256 16c7d441ee673a0ddfd38235aabeaaafada231b53886b1fe415ce20531e7d073

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