Skip to main content

Multiple Criteria Decision Making(MCDM) using TOPSIS

Project description

A library capable of implementing TOPSIS

PROJECT 1, UCS633 - Data Analysis and Visualization
Nikhil Gupta  
COE17
Roll number: 101703371

Output is the best allternative out of list of all allternatives. Other ranks are streamed to the csv file.

Best Attribute: Mobile 3

Installation

pip install topsispack_NG

Note the name has an underscore not a hyphen. If installation gives error or package is not found after installing, install as sudo.

Recommended - test it out in a virtual environment.

To use via command line

Topcli myData.csv "1,1,1,1" "-,+,+,+"

First argument after nikcli is the location of the .csv file. The weights and impacts should be passed as strings in double quotes with each weight or impact separated by a comma (',').

To use in .py script

from toplib.models import topsis
topsis(['myData.csv',"1,1,1,1","-,+,+,+"])

The argument passed should be a list.

Can email me for any issues or suggestions

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

topsispack-NG-0.1.1.tar.gz (2.4 kB view hashes)

Uploaded Source

Built Distribution

topsispack_NG-0.1.1-py2-none-any.whl (3.2 kB view hashes)

Uploaded Python 2

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page