Skip to main content

Topsis

Project description

Topsis

Topsis-Prabal-101916102 is a library for calculating topsis score and ranking them according to the score.

What is Topsis

Technique for Order Preference by Similarity to Ideal Solution (TOPSIS) originated in the 1980s as a multi-criteria decision making method. TOPSIS chooses the alternative of shortest Euclidean distance from the ideal solution, and greatest distance from the negative-ideal solution. More details at wikipedia.

Installation

pip install Topsis-Prabal-101916102

In Command Prompt

The package Topsis-Prabal-101916102 can be run though the command line as follows:

>> import Topsis-Prabal-101916102
>> Topsis-Prabal-101916102.topsis("data.csv","1,1,1,1","+,+,-,+","result.csv")                                     

Constraints

Input File:

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

Output File:

Result file contains all the columns of input file and two additional columns having Topsis Score and Rank. The output is created in the form of csv file and stored and also it is displayed.

The impacts given in the command line should be either + or - depending if you want to maximise the column parameter or minimise it.

Project details


Release history Release notifications | RSS feed

This version

4.0

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

Topsis_Prabal_101916102-4.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file Topsis_Prabal_101916102-4.0-py3-none-any.whl.

File metadata

  • Download URL: Topsis_Prabal_101916102-4.0-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.24.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.50.2 importlib-metadata/4.11.1 keyring/21.4.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.5

File hashes

Hashes for Topsis_Prabal_101916102-4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b2531a191e2f07c3436dd09a747dde2914d9178e21d35ec82dd7d2e8dfe3af9b
MD5 7e377e5a616c9341d8c3214d306777a1
BLAKE2b-256 0a9a2ca721b1e300d20a949771fd9beccec74cd65d34e6a51a17b3aebdbb7047

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