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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file TOPSIS-Jay-101803206-0.6.tar.gz.

File metadata

  • Download URL: TOPSIS-Jay-101803206-0.6.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for TOPSIS-Jay-101803206-0.6.tar.gz
Algorithm Hash digest
SHA256 771c4b97d2d0203249ca05fe28fc2d528847aa228c8bcb8e8337dae3cde8fbd4
MD5 1c390000ceb527db0f2287660c415074
BLAKE2b-256 7baeda07f738ca5e9a3bae4cbdcd5eb5a0e4b5176441bd7ba89642549d640af0

See more details on using hashes here.

File details

Details for the file TOPSIS_Jay_101803206-0.6-py3-none-any.whl.

File metadata

  • Download URL: TOPSIS_Jay_101803206-0.6-py3-none-any.whl
  • Upload date:
  • Size: 4.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/45.2.0.post20200210 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.6

File hashes

Hashes for TOPSIS_Jay_101803206-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 68838b854d6326cd3ecee688f9b025b8eaee69856862622a430c04235370f56a
MD5 58389beebda044fe0e3b72e25863bbea
BLAKE2b-256 34c663f4ec64b9fd41d8b0fd2ecd058046880d8ea25ee4fa447ea5e342ca2de0

See more details on using hashes here.

Supported by

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