Skip to main content

This is a topsis package

Project description

Project Description

TOPSIS PACKAGE Mitul Agarwal - 102217053

Roll Number: 102217053
Subgroup: 3Q23

The program takes a CSV file containing our data to be ranked, weights and impacts in the form of "+" or "-", separated 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 the shortest Euclidean distance from the ideal solution and the greatest distance from the negative ideal solution.


Installation

How to install the TOPSIS package

Using pip install:

pip install 102217053-topsis


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 [input.csv]:
Topsis mathematical operations to be performed on the input file which contains a dataset having different fields.

## Weights ["1,1,1"]:
The weights assigned to the different parameters in the dataset should be passed in the argument, separated by commas.

## Impacts ["+,+,-"]:
The impacts are passed to consider which parameters have a positive impact on the decision and which ones have a negative impact. Only `+` and `-` values should be passed and should be separated with `,` only.

## Output File [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

102217053_topsis-1.0.4.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

102217053_topsis-1.0.4-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file 102217053_topsis-1.0.4.tar.gz.

File metadata

  • Download URL: 102217053_topsis-1.0.4.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.4

File hashes

Hashes for 102217053_topsis-1.0.4.tar.gz
Algorithm Hash digest
SHA256 8923eb2bccb7d138a9a3d4990185de608d40cc171b757ae1aa3ad533889a6171
MD5 3baeceb83af69ab859ad6040f663727d
BLAKE2b-256 502c81b5f9d17259585354000533496e2c903b51fee7ff2d55fdd1d47893da35

See more details on using hashes here.

File details

Details for the file 102217053_topsis-1.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for 102217053_topsis-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 16fbd04c5ef74050e687be3469977b04da5258d4471ce46e6ece50c223279491
MD5 c33ba0f3b04323265045539add896fc5
BLAKE2b-256 449a0b7dc418ff914cc12d37f48ad5089f042187b96f1e66203e1e2adcb9357c

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