Skip to main content

Python package for TOPSIS implementation using Vector Normalization.

Project description

TOPSIS Package

TOPSIS stands for Technique for Oder Preference by Similarity to Ideal Solution.

It is a method of compensatory aggregation that compares a set of alternatives by identifying weights for each criterion, normalising scores for each criterion and calculating the geometric distance between each alternative and the ideal alternative, which is the best score in each criterion. An assumption of TOPSIS is that the criteria are monotonically increasing or decreasing. In this Python package Vector Normalization has been implemented.

Installation

$ python3 -m pip install TOPSIS_package

Link for installation has also been provided above

Usage

Step 1: >>>python3 Step 2: >>> import TOPSIS_package as tp Step 3: >>>tp.topsis(InputDataFile,weights,Impacts)

Note: This package will work for the Python interactive interpreter or any of the Python editor. This package will not work as command line solution. For the command line solution email at: jsunishka@gmail.com

The result will be displayed as the row number having the maximum rank. This is the result after preprocessing the data, calculating Normalized Decision Matrix, then calculating Weighted Normalized Decision Matrix, calculation of best and worst value for every feature, then calculating the Euclidean Distance of every row from the best and the worst ideal ideal solution followed by calculation of performance and rank.

Alongwith with the row number having best rank, the ranks for all labels(rows) is also displayed.

Project details


Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for TOPSIS-Package, version 0.0.1
Filename, size File type Python version Upload date Hashes
Filename, size TOPSIS_Package-0.0.1-py3-none-any.whl (3.7 kB) File type Wheel Python version py3 Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page