Topsis
Project description
Topsis_102003487
TOPSIS
Submitted By: Avneet kaur_102003487.
Type: Package.
Title: TOPSIS method for multiple-criteria decision making (MCDM).
Version: 1.0.
Author: Avneet kaur.
Maintainer: Avneet kaur akaur1_be20@thapar.edu.
Description: Evaluation of alternatives based on multiple criteria using TOPSIS method..
What is TOPSIS?
TOPSIS is based on the concept that the chosen alternative should have the shortest geometric distance from the positive ideal solution (PIS) and the longest geometric distance from the negative ideal solution.It is a method of compensatory aggregation that compares a set of alternatives, normalising scores for each criterion and calculating the geometric distance between each alternative and the ideal alternative, which is the best score in each criterion. The weights of the criteria in TOPSIS method can be calculated using Ordinal Priority Approach, Analytic hierarchy process, etc.
How to install this package:
>> pip install Topsis_102003487_Avneet
In Command Prompt
>> topsis 102003487-data.csv "1,1,1,1,1" "+,-,+,-,+" 102003487-result.csv
Input file (data.csv)
| Fund Name | P1 | P2 | P3 | P4 | P5 |
|---|---|---|---|---|---|
| M1 | 0.67 | 0.45 | 6.5 | 42.6 | 12.56 |
| M2 | 0.6 | 0.36 | 3.6 | 53.3 | 14.47 |
| M3 | 0.82 | 0.67 | 3.8 | 63.1 | 17.1 |
| M4 | 0.6 | 0.36 | 3.5 | 69.2 | 18.42 |
| M5 | 0.76 | 0.58 | 4.8 | 43 | 12.29 |
| M6 | 0.69 | 0.48 | 6.6 | 48.7 | 14.12 |
| M7 | 0.79 | 0.62 | 4.8 | 59.2 | 16.35 |
| M8 | 0.84 | 0.71 | 6.5 | 34.5 | 10.64 |
Output file (result.csv)
| Fund Name | P1 | P2 | P3 | P4 | P5 | Topsis Score | Rank |
|---|---|---|---|---|---|---|---|
| M1 | 0.67 | 0.45 | 6.5 | 42.6 | 12.56 | 20.58 | 2 |
| M2 | 0.6 | 0.36 | 3.6 | 53.3 | 14.47 | 40.83 | 4 |
| M3 | 0.82 | 0.67 | 3.8 | 63.1 | 17.1 | 30.07 | 3 |
| M4 | 0.6 | 0.36 | 3.5 | 69.2 | 18.42 | 50.22 | 5 |
| M5 | 0.76 | 0.58 | 4.8 | 43 | 12.29 | 10.41 | 1 |
| M6 | 0.69 | 0.48 | 6.6 | 48.7 | 14.12 | 80.51 | 8 |
| M7 | 0.79 | 0.62 | 4.8 | 59.2 | 16.35 | 70.74 | 7 |
| M8 | 0.84 | 0.71 | 6.5 | 34.5 | 10.64 | 60.33 | 6 |
The output file contains columns of input file along with two additional columns having Topsis_score and Rank
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 Distributions
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file Topsis_AvneetKaur_102003487-1.0-py3-none-any.whl.
File metadata
- Download URL: Topsis_AvneetKaur_102003487-1.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c36b8e06eee3b84c33db2422c3cb52dc3d172fd6dcd9a992d9e47e6074013d2f
|
|
| MD5 |
61f4ac0b604255b9171591f1a15c0368
|
|
| BLAKE2b-256 |
c1f5f6b0f32e292cf772d59af8fb350d780a161438994f15b4b0a6b93be166e8
|