Skip to main content

Calculates Topsis Score and Rank them accordingly

Project description

Topsis_Vikas

TOPSIS

Submitted By: Vikas Singh - 102067010.

Type: Package.

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

Author: Vikas Singh.

Maintainer: Vikas Singh vs8422135@gmail.com.

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-Vikas-102067010

In Command Prompt

>> topsis 102067010-data.csv "1,1,1,1" "+,+,-,+" 102067010-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 Accuracy, R2, Root Mean Squared Error, Correlation, and many more.

| Mobile Name | Price($) | Storage(GB) | Camera(MP) | Looks | | Moto g82 | 250 | 16 | 12 | 5 | | Samsung S32 | 200 | 16 | 8 | 3 | | Oppo F17 | 300 | 32 | 16 | 4 | | Iphone 14 | 275 | 32 | 8 | 4 | | Redmi Note12 | 225 | 16 | 16 | 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)

| Mobile Name | Price($) | Storage(GB) | Camera(MP) | Looks | Topsis Score | Rank | | Moto g82 | 250 | 16 | 12 | 5 | 0.5682 | 3 | | Samsung S32 | 200 | 16 | 8 | 3 | 0.1658 | 5 | | Oppo F17 | 300 | 32 | 16 | 4 | 0.8342 | 1 | | Iphone 14 | 275 | 32 | 8 | 4 | 0.5691 | 2 | | Redmi Note12 | 225 | 16 | 16 | 2 | 0.3096 | 4 |


The output file contains columns of input file along with two additional columns having **Topsis_score** and **Rank**

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-Vikas-102067010-1.0.8.tar.gz (4.4 kB view details)

Uploaded Source

Built Distributions

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

Topsis_Vikas_102067010-1.0.8-py3.10.egg (5.9 kB view details)

Uploaded Egg

Topsis_Vikas_102067010-1.0.8-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file Topsis-Vikas-102067010-1.0.8.tar.gz.

File metadata

  • Download URL: Topsis-Vikas-102067010-1.0.8.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.2

File hashes

Hashes for Topsis-Vikas-102067010-1.0.8.tar.gz
Algorithm Hash digest
SHA256 1063e6e8c44430dcc83db61d7cb235a0afa7c965f994e5a29c818a6b9d773bf0
MD5 3c7f5e67b4d61c20192e38b7d3193f68
BLAKE2b-256 d223f90d0cb190ab13b3b86ba5350f22d3c49ff706f835bb1fca3aaaf27760f2

See more details on using hashes here.

File details

Details for the file Topsis_Vikas_102067010-1.0.8-py3.10.egg.

File metadata

File hashes

Hashes for Topsis_Vikas_102067010-1.0.8-py3.10.egg
Algorithm Hash digest
SHA256 b04f9ef87c1ba8861eccc011403e237bd49fbe5c9269680ea034c3e98ed630e0
MD5 29eeb95ff761e7f7fe7da97e0acae67f
BLAKE2b-256 71bbad507bb33b738ec7610ca513b2f78b92804ce261bf4a193bae2b4f3e672c

See more details on using hashes here.

File details

Details for the file Topsis_Vikas_102067010-1.0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for Topsis_Vikas_102067010-1.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 948d6824fddb0c9ff74a428c40f76c13bd4681ad40e52d6dd855e3b62ce13091
MD5 725d5ee21c26cf042de7526f826bb0cd
BLAKE2b-256 bcbec47a1a3905e12eee92da743d809e5edc9be068108b2b427a9bcc76a86204

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