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

Uploaded Source

Built Distribution

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

Uploaded Python 3

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