Skip to main content

Automatic topsis for decision making

Project description

TOPSIS implementation

Class project for DATA ANALYSIS AND VISUALISATION 2020 - UCS633 Thapar University, Patiala
Submitted by: Paras Arora
101703382 (COE 18)

Output is a dataframe with 3 columns

  • Alternatives
  • Score
  • Rank


pip install topsis-101703382

To use via command line

topsis-101703382-cli data.csv 25,25,25,25 -+++

First argument after is filename with .csv extension. The .csv file is assumed to have a structure similar to one provided in topsis-101703382/data.csv

That is, the .csv file should have a header with column names and first column should only list alternatives and not attribute values.

To use in .py script

from topsis-101703382 import topsis
decision_matrix is 2D numpy array, weights is a 1D array and impacts is a string of the form +-+-- 
where + implies benefit and - implies cost
output_dataframe = topsis(decision_matrix,weights,impacts)

Project details

Download files

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

Files for topsis-101703382, version 0.0.2
Filename, size File type Python version Upload date Hashes
Filename, size topsis_101703382-0.0.2-py3-none-any.whl (4.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size topsis-101703382-0.0.2.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View

Supported by

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