Catalog PyPI
Back to packageRELEASE DETAILS

0.0.1

PyPI

102003037-topsis

Topsis

pythontopsis
Published22 Jan 2023
Direct dependencies2
Transitive dependenciesNot calculated

README

Version 0.0.1 documentation

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.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 2

Native requirements
2 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
numpy
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
numpyruntime
pandas
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": "",
  "evaluation": "NOT_EVALUATED"
}
pandasruntime

Distribution files

2 collected
102003037_topsis-0.0.1-py3-none-any.whl

bdist_wheel · 2.82 KB · Python py3

Source file
102003037-topsis-0.0.1.tar.gz

sdist · 2.82 KB · Python source

Source file

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 15:06 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:9e0d8e855b2d223b261e3ce7653ffd686d2dcf3d220858002e10548afbecc611

Other collected versions

View all collected versions →