Skip to main content

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

Project description

topsis-test-101

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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for topsis_dilmanpreet_101903506-1.0.tar.gz
Algorithm Hash digest
SHA256 f34738a1aae0d9ddc898be145970a3c2f418b5a23723540cfc7b6055673395bf
MD5 30a8698d2374c2c137e545ffcc346492
BLAKE2b-256 67c91fd978ed151551d043c6431b94467b91fc44832ce1ff82ee2b3059cfc38a

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