Skip to main content

Doing Evaluation of alternatives based on multiple criteria using TOPSIS method.

Project description

Topsis:-MULTIPLE-CRITERIA DECISION MAKING

TOPSIS

Submitted By: BANDHAN SHER SINGH 102003440.

Date: 23-JAN-2023.

Description: Evaluation of alternatives based on multiple criteria using TOPSIS method..


What is TOPSIS?

Technique for Order Preference by Similarity to Ideal Solution TOPSIS chooses the alternative of shortest Euclidean distance from the ideal solution, and greatest distance from the negative-ideal solution.


How to install this package:

>>pip install Topsis_Bandhan_102003440

In Command Prompt

>> topsis data.csv "1,1,1,2,1" "+,+,-,+,-" result.csv

Input file (data.csv)

The decision matrix should be constructed with each row representing a Model alternative, and each column representing a criterion like Attribute, Price or cost, Storage Space ,Camera,Looks.

Fund Name P1 P2 P3 P4 P5
M1 0.67 0.45 6.4 64.2 17.93
M2 0.78 0.61 5.1 42.5 12.25
M3 0.66 0.44 6.7 58.5 16.58
M4 0.68 0.46 3.6 40.7 11.36
M5 0.83 0.69 6.8 33 10.33
M6 0.95 0.9 5.7 36.9 11.11
M7 0.95 0.9 3.5 51.2 14.14
M8 0.89 0.79 4.1 60.1 16.47

Weights (weights) is not already normalised will be normalised later in the code.

Information of benefit positive(+) or negative(-) impact criteria should be provided in impacts.


Output file (result.csv)

Fund Name P1 P2 P3 P4 P5 Topsis Score Rank
M1 0.67 0.45 6.4 64.2 17.93 0.541 3
M2 0.78 0.61 5.1 42.5 12.25 0.401 7
M3 0.66 0.44 6.7 58.5 16.58 0.486 4
M4 0.68 0.46 3.6 40.7 11.36 0.405 6
M5 0.83 0.69 6.8 33 10.33 0.323 8
M6 0.95 0.9 5.7 36.9 11.11 0.445 5
M7 0.95 0.9 3.5 51.2 14.14 0.679 2
M8 0.89 0.79 4.1 60.1 16.47 0.723 1

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

This version

1.3

Download files

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

Source Distribution

Topsis_Bandhan_102003440-1.3.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Topsis_Bandhan_102003440-1.3-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file Topsis_Bandhan_102003440-1.3.tar.gz.

File metadata

  • Download URL: Topsis_Bandhan_102003440-1.3.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.13

File hashes

Hashes for Topsis_Bandhan_102003440-1.3.tar.gz
Algorithm Hash digest
SHA256 d28230db1fdecf353b2d5729dc08f51514851408973427d0a3680ac5dcc2926e
MD5 e10bb687dd73a1e8fa1d2d3d4be2654f
BLAKE2b-256 c82f2af7f7128fb1c41e0f0a79f8f825681d32fa1d7d96a6d6993b9ff78a2e13

See more details on using hashes here.

File details

Details for the file Topsis_Bandhan_102003440-1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for Topsis_Bandhan_102003440-1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 a42f05f41bd719a0482e5220a4bd0e959886adcaa68abcae9b5038d489d43092
MD5 b2e90371e565e67c2a6bce7523bd2ecc
BLAKE2b-256 60821ac73703b4057447daabbed0fee71311e0450d6a1593b235c9461af565df

See more details on using hashes here.

Supported by

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