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:
-
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.
-
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)
-
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for Topsis_Shikha_101903629-0.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 869fe06c5e7454a3494fa2a398aa9aac1d5fa7432069b8beaeed22a396536637 |
|
MD5 | 3135d2402124d9aba071fd560308ff78 |
|
BLAKE2b-256 | 966f5723e3c4d173e66cd11103a5c5629a6f96a827f746372d98985e532b86a0 |
Hashes for Topsis_Shikha_101903629-0.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98ab705c3482f57ee6b42846bd3cb1ac91f20e77c5b70b510d6573699b4cd63f |
|
MD5 | 851e184559f0742ed52809bce1dccd75 |
|
BLAKE2b-256 | 9c46c14d4c1e1781b4795342ccbd55f3ff7c08133b92882037e33879582986f6 |