Skip to main content

Evaluation of alternatives based on multiple criteria using TOPSIS method.

Project description

Topsis_102003592_Bhavna

TOPSIS - Multiple Criteria Decision Making

Submitted By: Bhavna Goyal - 102003592.

Type: Package.

Title: TOPSIS method for multiple-criteria decision making (MCDM).

Version: 0.5.

Date: 21-01-2023.

Author: Bhavna Goyal.

Maintainer: Bhavna Goyal bgoyal_be20@thapar.edu.

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


What is TOPSIS?

Technique for Order Preference by Similarity to Ideal Solution (TOPSIS) originated in the 1980s as a multi-criteria decision making method. 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_102003592_Bhavna

In Command Prompt

>> topsisbhav data.csv "1,1,1,1" "+,+,-,+" result.csv

Input file (data.csv)

Attribute Price or cost Storage Space Camera Looks
Mobile 1 250$ 16GB 12MP 5
Mobile 2 200$ 16GB 8MP 3
Mobile 3 300$ 32GB 16MP 4
Mobile 4 275$ 32GB 8MP 4
Mobile 5 225$ 16GB 16MP 2

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)

Attribute Price or cost Storage Space Camera Looks Topsis_score Rank
Mobile 1 250$ 16GB 12MP 5 0.4228 4
Mobile 2 200$ 16GB 8MP 3 0.4635 3
Mobile 3 300$ 32GB 16MP 4 0.5097 2
Mobile 4 275$ 32GB 8MP 4 0.3772 5
Mobile 5 225$ 16GB 16MP 2 0.6871 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

0.5

Download files

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

Source Distribution

Topsis_102003592_Bhavna-0.5.tar.gz (3.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_102003592_Bhavna-0.5-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file Topsis_102003592_Bhavna-0.5.tar.gz.

File metadata

  • Download URL: Topsis_102003592_Bhavna-0.5.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.0

File hashes

Hashes for Topsis_102003592_Bhavna-0.5.tar.gz
Algorithm Hash digest
SHA256 ea27d5cffa73ea3912fe289e3577d60d041d073e6346e812d2f847f0397b45d2
MD5 86cbf1d10d46fe720edc414c113b779a
BLAKE2b-256 c6abda928c4457f6ab836318ec90d395f165f988e0a36c486ca82504ff08cd14

See more details on using hashes here.

File details

Details for the file Topsis_102003592_Bhavna-0.5-py3-none-any.whl.

File metadata

File hashes

Hashes for Topsis_102003592_Bhavna-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 071cda91c6454610961246e98f62824889423e41c34b4e9609172e69d56358e0
MD5 033735fcdd15fabca8a93d35ec52a4b7
BLAKE2b-256 e129124f383f7fc78a8b777d0beb04de2ae8a061a0e202e9488ee991afd955ed

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