Skip to main content

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)

  1. Input file contain three or more columns
  2. First column is the object/variable name (e.g. M1, M2, M3, M4…...)
  3. 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

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for TOPSIS-Ajat-101803268, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size TOPSIS_Ajat_101803268-0.1.tar.gz (3.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page