Metadata-Version: 2.1
Name: TOPSIS-KARTIK-101803702
Version: 0.0.1
Summary: This package takes a .csv file as input and calculate topsis score of all entries and rank them according to the topsis score
Home-page: UNKNOWN
Author: kartik
Author-email: singlakartik513@gmail.com
License: MIT
Keywords: topsis,rank,data science
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Description-Content-Type: text/plain

TOPSIS implementation for Multi criteria decision making

The Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS) is a multi-criteria decision analysis method, which is based on the concept that the chosen alternative should have the shortest geometric distance from the positive ideal solution (PIS)[4] and the longest geometric distance from the negative ideal solution (NIS).

The package (TOPSIS_KARTIK_101803702) contains the python script topsis.py and it further contains the function topsis_score which has to given 4 parameters -

1. Name of input .csv file.
2. Weights of all the attributes in the form of list.
3. Impact of all the parameters(either '+' or '-').
4. Name of output .csv file.

Note - All the column entries should be numeric only.

Example code :

import TOPSIS_KARTIK_101803702.topsis
topsis.topsis_score('inputFile.csv', [1,1,1,1], ['+','+','-','+',],'outputFile.csv')

