A python package for Multiple Criteria Decision Making (MCDM) using Topsis
Project description
TOPSIS
It is a method of compensatory aggregation that compares a set of alternatives by identifying weights for each criterion, normalising scores for each criterion and calculating the geometric distance between each alternative and the ideal alternative, which is the best score in each criterion.
Installation
>> pip install TOPSIS-Ajat-101803268==0.1
How to run in command prompt
>> from TOPSIS_Ajat_101803268.topsis import topsis
>> topsis("data.csv","1,1,1,2","+,+,-,+","result.csv")
Input File (data.csv)
- Input file contain three or more columns
- First column is the object/variable name (e.g. M1, M2, M3, M4…...)
- From 2nd to last columns contain numeric values only
Output File (result.csv)
Result file contains all the columns of input file and two additional columns having TOPSIS SCORE and RANK
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Close
Hashes for TOPSIS_Ajat_101803268-0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2732c0575ad6dba0911e98d968332be0aa5dfd81978e708f83d6528395cdd576 |
|
MD5 | c9b539b53a301da5e3eaf4193d4dd70f |
|
BLAKE2b-256 | 92405e44ac055d136583409d2b28a08367a27e9d7f0a1836bda85eb9d5e9d808 |