Skip to main content

It's a package that calcuates Topsis score and ranks accordingly

Project description

TOPSIS

Submitted By: Banaj Bedi.

Type: Package.

Title: TOPSIS method for multiple-criteria decision making (MCDM).

Version: 1.1.1.
Date: 2022-02-26.
Description: Evaluation of alternatives based on multiple criteria using TOPSIS method..


What is TOPSIS?

Technique for Order Preference by Similarity to Ideal Solution (TOPSIS) originated in the 1980s as a multi-criteria decision making method. TOPSIS chooses the alternative of shortest Euclidean distance from the ideal solution, and greatest distance from the negative-ideal solution.


How to install this package:

>> pip install topsis_banaj_101916008

In Command Prompt

>> topsis data.csv "1,1,2,1,2" "+,+,-,-,+" result.csv

Input file (data.csv)

The decision matrix should be constructed with each row representing a Model alternative, and each column representing a criterion like Accuracy, R2, Root Mean Squared Error, Correlation, and many more.

image

Weights (weights) is not already normalised will be normalised later in the code.

Information of benefit positive(+) or negative(-) impact criteria should be provided in impacts.


Output file (result.csv)

image


The output file contains columns of input file along with two additional columns having **Topsis_score** and **Rank**

View package at: https://pypi.org/project/topsis-banaj-101916008/

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_banaj_101916008-1.1.1.tar.gz (4.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page