Skip to main content

TOPSIS Implementation using Python

Project description

Package Usage

TOPSIS-Technique for order performance by similarity to ideal solution

Submitted By: Shikha 101903629


What is TOPSIS?

A simple but powerful decision method.

TOPSIS, known as Technique for Order of Preference by Similarity to Ideal Solution, is a multi-criteria decision analysis method. It compares a set of alternatives based on a pre-specified criterion. The method is used in the business across various industries, every time we need to make an analytical decision based on collected data.

How to use this package?

To begin with, you have to install the package 'Topsis_Shikha_101903629' using the following command: bash pip install Topsis_Shikha_101903629

Then you just need to do a function call by passing some specified parameters. We provided you with a function named as top_score(). This function requires three parameters.

Parameters:

  1. First Parameter - Matrix

    Create a matrix consisting of M alternatives and N criteria. This matrix is usually called an “evaluation matrix”. All values should be numerical.

  2. Second Parameter - Array consisting weights for each column.

    Assign weights to each column. Weights can be (1,1,1,1) or (1,1,0.5,0.5) or (1,1,2,2)

  3. Third Parameter - Array consisting impact of each column.

    E.g. : (1,0,1,1) (1 for max value as best, 0 for min value as best)

Example: bash from python_topsis import Topsis_Shikha_101903629 as tps tps.top_score(evaluation_matrix, weights, impacts)

Coding is the language of the future, and every one should learn it !!

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_Shikha_101903629-0.0.0.tar.gz (3.2 kB view details)

Uploaded Source

Built Distribution

Topsis_Shikha_101903629-0.0.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file Topsis_Shikha_101903629-0.0.0.tar.gz.

File metadata

  • Download URL: Topsis_Shikha_101903629-0.0.0.tar.gz
  • Upload date:
  • Size: 3.2 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.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for Topsis_Shikha_101903629-0.0.0.tar.gz
Algorithm Hash digest
SHA256 869fe06c5e7454a3494fa2a398aa9aac1d5fa7432069b8beaeed22a396536637
MD5 3135d2402124d9aba071fd560308ff78
BLAKE2b-256 966f5723e3c4d173e66cd11103a5c5629a6f96a827f746372d98985e532b86a0

See more details on using hashes here.

File details

Details for the file Topsis_Shikha_101903629-0.0.0-py3-none-any.whl.

File metadata

  • Download URL: Topsis_Shikha_101903629-0.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.7 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.26.0 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for Topsis_Shikha_101903629-0.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 98ab705c3482f57ee6b42846bd3cb1ac91f20e77c5b70b510d6573699b4cd63f
MD5 851e184559f0742ed52809bce1dccd75
BLAKE2b-256 9c46c14d4c1e1781b4795342ccbd55f3ff7c08133b92882037e33879582986f6

See more details on using hashes here.

Supported by

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