Skip to main content

A Multiple Criteria Decision Making System using TOPSIS

Project description

TOPSIS - JAY - 101803206

Simple Python module for Multiple Criteria Decision Making System using TOPSIS.

Input/Output Files:

  • Input File o Input file contain three or more columns o First column is the object/variable name (e.g. M1, M2, M3, M4…...) o From 2nd to last columns contain numeric values only
  • Output Files o Result file contains all the columns of input file and two additional columns having TOPSIS SCORE and RANK

There is also Check For :

  • Check for: • Correct number of parameters (inputFileName, Weights, Impacts, resultFileName). • Show the appropriate message for wrong inputs. • Handling of “File not Found” exception*]!vmN;Gv97GR8b • Input file must contain three or more columns. • From 2nd to last columns must contain numeric values only (Handling of non-numeric values) • Number of weights, number of impacts and number of columns (from 2nd to last columns) must be same. • Impacts must be either +ve or -ve. • Impacts and weights must be separated by ‘,’ (comma).

Installation

TOPSIS requires python v3+ to run.

 $ pip install TOPSIS-JAY-101803206

Usage Example

 import Topsis_Jay as Tj

 # DEFINE FEW ATTRIBUTES
 Fn = "inputfile.csv" # PROVIDE THE INPUT FILE NAME 
 W = "1,1,1,2" # PROVIDE WEIGHTS 
 I = "+,+,-,+" # PROVIDE IMPACT VALUES
 Yu = "Result.csv" # PROVIDE OUTPUT FILE NAME

 Tj.TOPSIS(Fn,W,I,Yu) # Function Call

Result

# Result File Saved as : Result.csv

PYPI LINKDIN

Project details


Release history Release notifications | RSS feed

This version

0.6

Download files

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

Source Distribution

TOPSIS-Jay-101803206-0.6.tar.gz (3.6 kB view hashes)

Uploaded Source

Built Distribution

TOPSIS_Jay_101803206-0.6-py3-none-any.whl (4.2 kB view hashes)

Uploaded Python 3

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