Skip to main content

Topsis

Project description

102003037 TOPSIS PACKAGE HIMANGI SHARMA

Roll Number : 102003037
Subgroup : 3COE18
The program takes csv file containing our data to be ranked, weights and impacts in the form of "+" or "-", seperated by commas as inputs and then outputs a resultant csv file with two additional columns of performance score and Ranks.

What is TOPSIS

TOPSIS, Technique of Order Preference Similarity to the Ideal Solution, is a multi-criteria decision analysis method (MCDA).
It chooses the alternative of shortest the Euclidean distance from the ideal solution and greatest distance from the negative ideal solution.

Installation

How to install the TOPSIS package

using pip install:-
pip install 102003037-topsis-Himangi

For Calculating the TOPSIS Score

Open terminal and type
102003037 102003037-data.csv "1,1,1,1" "+,+,-,+" 102003037-output.csv

The output will then be saved in a newly created CSV file whose name will be provided in the command line by the user.

Input File [102003037-data.csv]:

Topsis mathematical operations to be performed on the input file which contains a dataset having different fields.

Weights ["1,1,1,1"]

The weights to assigned to the different parameters in the dataset should be passed in the argument, seperated by commas.

Impacts ["+,+,-,+"]:

The impacts are passed to consider which parameters have a positive impact on the decision and which one have the negative impact. Only '+' and '-' values should be passed and should be seperated with ',' only.

Output File [102003037-output.csv]:

This argument is used to pass the path of the result file where we want the rank and performance score to be stored.

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

102003037-topsis-0.0.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

102003037_topsis-0.0.1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file 102003037-topsis-0.0.1.tar.gz.

File metadata

  • Download URL: 102003037-topsis-0.0.1.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for 102003037-topsis-0.0.1.tar.gz
Algorithm Hash digest
SHA256 eb4d3ef4c35d57888a620d78f7dbbbf592fda023b5b5f2a7950986dbb3ebe514
MD5 7268fb2da0b5b95fa990aa1e20534bd3
BLAKE2b-256 91bd2ee96ada96bcd31a95554d52702ac1a2545e43cfdbb848e1ed3f26f91605

See more details on using hashes here.

File details

Details for the file 102003037_topsis-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for 102003037_topsis-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 547e09266876f89cd4a1c3dd3730b8257481aefe05049920c8412f259f734afe
MD5 2624ae0326ad83bdba89f6fab64831d0
BLAKE2b-256 b518983b63dec4fd384f3d5e4931ac770a22f4a3c38e772ef56422368fa0407d

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