Skip to main content

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

Project description

topsis_dilmanpreet_101903506

TOPSIS

Submitted By: Dilmanpreet Singh.
Roll Number: 101903506.
Type: Package.
Title: TOPSIS for multiple-criteria decision making (MCDM).
Version: 1.0.
Date: 2022-2-24.

Description: Evaluation of alternatives based on multiple criteria using TOPSIS method..


What is TOPSIS?

TOPSIS or Technique for Order Preference by Similarity to Ideal Solution 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.


How to install this package:

>> pip install Topsis-Dilmanpreet-101903506

In Command Prompt

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

Input file (data.csv)

input

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

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


Output -- (result.csv)

result


The output file contains columns of input file along with two additional columns for 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_dilmanpreet_101903506-1.1.tar.gz (4.1 kB view details)

Uploaded Source

File details

Details for the file topsis_dilmanpreet_101903506-1.1.tar.gz.

File metadata

  • Download URL: topsis_dilmanpreet_101903506-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.9.6

File hashes

Hashes for topsis_dilmanpreet_101903506-1.1.tar.gz
Algorithm Hash digest
SHA256 4bbee389ab743553900b74480e13e449374e05f3f6909c788cd50682b03c2b15
MD5 abae4f44cfa85917532890a4ceaf87ae
BLAKE2b-256 78ccdcfc5447436831b29bf2f756060bf506e595c3df9d77e5d44438ac946a2a

See more details on using hashes here.

Supported by

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