Skip to main content

The Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS) is a multi-criteria decision analysis method.

Project description

TOPSIS

Technique for Order Preference by Similarity to Ideal Solution (TOPSIS)

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

TOPSIS is a way to allocate the ranks on basis of the weights and impact of the given factors:.

  • Weights mean how much a given factor should be taken into consideration
  • Impact means that a given factor has a positive or negative impact.

This tool allows you to calculate the topsis ranking and save the results in the form of a csv (Comma Seperated Value) file.

Installing Package

pip install Topsis-Jaskirat-101917040==0.5

Using the TOPSIS tool

  • Create a script by importing the package and just calling the TOPSIS function.
import importlib
topsis=importlib.import_module("Topsis-Jaskirat-101917040")
topsis.TOPSIS()
  • Run the Script through command line as shown below:
C:/Users/admin> python myscript.py <Data_File_csv> <Weights(Comma_seperated)> <Impacts(Comma_seperated)> <Result_file_csv>

Project details


Release history Release notifications | RSS feed

This version

0.5

Download files

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

Source Distribution

Topsis-Jaskirat-101917040-0.5.tar.gz (4.7 kB view details)

Uploaded Source

File details

Details for the file Topsis-Jaskirat-101917040-0.5.tar.gz.

File metadata

  • Download URL: Topsis-Jaskirat-101917040-0.5.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.1.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.7

File hashes

Hashes for Topsis-Jaskirat-101917040-0.5.tar.gz
Algorithm Hash digest
SHA256 fd2e4318cd45444a52a6c249449b5d53bba6d6990eaf43513858815fc8659954
MD5 8d1644c8e7125907fbd678239f35d5cb
BLAKE2b-256 c90f5fbdcf010f3740b281f7e3d9dc7d5580d5fe57d3c02e27365babbd54a0af

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