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.


  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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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