Skip to main content

A Python package to implement Topsis

Project description

topsis-python

Topsis analysis of a csv file

UCS633 Project Submission

Name - RAJAT VERMA

Roll no. - 101703429

Group - COE-21

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_rajat

Usage

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

tests-topsis -n "dataset-name" -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

test_topsis-1.0.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

test_topsis-1.0.0-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: test_topsis-1.0.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.1

File hashes

Hashes for test_topsis-1.0.0.tar.gz
Algorithm Hash digest
SHA256 c64d36d539ca777ccc86f63d5f7c1f881a473de0614ed5fa1f4a5fc9927733fd
MD5 0e469723ad62e4ceaad97bea5835f4b0
BLAKE2b-256 6984c8d12fdb36859b8bd37e95612f0a515c4db90618bfb9225f39e6826890de

See more details on using hashes here.

File details

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

File metadata

  • Download URL: test_topsis-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.1 CPython/3.7.1

File hashes

Hashes for test_topsis-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 eda77297147bd67397aad29f9ecebb51c5d4b5b9ff9dc781eca2c4ace71dacfa
MD5 f7d094e24e4db8ea1439cb3efc415a97
BLAKE2b-256 fea09a14b9733059ffc0a71a2918ef2b5c9b6f15c0a7e598ae9a73a628e0e868

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