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.0.0.
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**

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.0.0.tar.gz (4.1 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: topsis_banaj_101916008-1.0.0.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for topsis_banaj_101916008-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6315c68ace6b6004ceb2bc825ab9d734ae2b3672d33db37d89f01555190ec398
MD5 ff409a72591035e46e84c5f543687540
BLAKE2b-256 433b0697421135d457d05e10f5a9180727e047fbe82231ed6ed25fb3c4044a80

See more details on using hashes here.

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