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 details)

Uploaded Source

File details

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

File metadata

  • Download URL: topsis_banaj_101916008-1.1.1.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.1.1.tar.gz
Algorithm Hash digest
SHA256 3280b88ad20290d7091eafc106e58b7886764142e09d2e95b1e8f37459e9c399
MD5 920d9c1dd0b3df2f58b24898b298496d
BLAKE2b-256 a6034ac89e95eb6c858175e965347dc75956344e61693d9c1cb8b92b71fde758

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