Skip to main content

topsis-python

Topsis analysis of a csv file

""UCS633 Project Submission""

Name - Dhriti Jindal

Roll no. - 101703166

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-101703166_COE8

Usage

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

topsis-101703166_COE8 -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

Release files for topsis-101703166-COE8 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for topsis-101703166-COE8 1.0.0
File Size Uploaded
topsis_101703166_COE8-1.0.0.tar.gz 2.7 kB Details

Release files / topsis_101703166_COE8-1.0.0.tar.gz

Download URL topsis_101703166_COE8-1.0.0.tar.gz
Size 2.7 kB
Tags Source
SHA-256 checksum
How to use checksums
2e9ce1a38f35512eedfc3aeb4df5ab138717b08406957e17ce16f8bfd9b2e5cb
BLAKE2b-256 checksum
How to use checksums
ee69ae7ca5468b436d3c495a07d1991850d51cc18f72e51f588c06359eefbae6
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page