Skip to main content

Topsis Implementation

Project description

TOPSIS

It is a method of compensatory aggregation that compares a set of alternatives by identifying weights for each criterion, normalising scores for each criterion and calculating the geometric distance between each alternative and the ideal alternative, which is the best score in each criterion.

Installation

>> pip install TOPSIS-Adit-101803147=0.1

How to run in command prompt

>> from TOPSIS_Adit_101803147.topsis import topsis
>> topsis("data.csv","1,1,1,2","+,+,-,+","result.csv")

Input File (data.csv)

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

Output File (result.csv)

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

License

MIT

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

TOPSIS_Adit_101803147-0.1.tar.gz (3.8 kB view details)

Uploaded Source

File details

Details for the file TOPSIS_Adit_101803147-0.1.tar.gz.

File metadata

  • Download URL: TOPSIS_Adit_101803147-0.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for TOPSIS_Adit_101803147-0.1.tar.gz
Algorithm Hash digest
SHA256 4d4fd69d6d1363f9a54cf517d567a9a8306a2b172bc856e9366891b832da5e43
MD5 c3fcad9044d3663d034cd2c51860a531
BLAKE2b-256 4fc8ff72a60af9c1cb1ac80c5d1e04bbc034469cca093b3f89ebe27046b36319

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