Skip to main content

Implementation of TOPSIS

Project description

TOPSIS Implementation by Ankush Gupta 101803384

This package will get topsis score for selected csv file.

Important Details

Input/Output Files:

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

Input/Output Files:

Input File: Input file contain three or more columns. First column is the object/variable name (e.g. M1, M2, M3, M4…...). The input file from 2nd to last columns contain numeric values only

Output Files: Result file contains all the columns of input file and two additional columns having TOPSIS SCORE and RANK

The parameters for the topsis functions are as follows: -> The input file name. It must end with .csv. You can give the complete file path if you want to read a file from some specific place

-> The weights string contains weight either in float or numeric form separated by commas. Example: "1,1,2,3"

-> The impact string which is separated by commas for each impact and determines if weight at that index is to be taken positive or negative. Example: "-,+,+,+"

-> The output file name. It must end with .csv. You can give the complete path along with file name to save the file at specific place. Otherwise, it will save it as default where the package is installed.

The package has two function..

Sample Use case:

import TOPSIS_Ankush_101803384 
TOPSIS_Ankush_101803384.topsis("input.csv","1,1,1,2","+,+,-,+","output.csv")

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

TOPSIS_Ankush_101803384-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

TOPSIS_Ankush_101803384-0.1.0-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file TOPSIS_Ankush_101803384-0.1.0.tar.gz.

File metadata

  • Download URL: TOPSIS_Ankush_101803384-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for TOPSIS_Ankush_101803384-0.1.0.tar.gz
Algorithm Hash digest
SHA256 407e996558323315ce38103f12da6ac8e371781d6b8d1cd5f41948519cac200b
MD5 3ffc80fab391e4b1b5a35669884b2b2b
BLAKE2b-256 a4f79d47a2f55171fd824049a19add50e9904815cde13ed301cdcc09a90084f1

See more details on using hashes here.

File details

Details for the file TOPSIS_Ankush_101803384-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: TOPSIS_Ankush_101803384-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0.post20200714 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.8.3

File hashes

Hashes for TOPSIS_Ankush_101803384-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d490ec46cb9d692b4f6728c103b957f8fb2a1f4d5ef499695e4565d29ccba497
MD5 cd0c09b292063992ef372b19eeb1097f
BLAKE2b-256 2e10a2ad6c7b53745007ce7fef5e14675888af87e8db33c929581bc57e3e2beb

See more details on using hashes here.

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