Skip to main content

This is package for topsis of version 0.3

Project description

Topsis:-MULTIPLE-CRITERIA DECISION MAKING

TOPSIS

Submitted By: TARUNA JAIN 102003464.

Date: 21-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_Taruna_102003464

In Command Prompt

>> topsis123 data.csv "1,1,1,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 Price or cost, Storage Space, Camera, Looks, and many more.

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.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_Taruna_102003464-0.3.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

Topsis_Taruna_102003464-0.3-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file Topsis_Taruna_102003464-0.3.tar.gz.

File metadata

  • Download URL: Topsis_Taruna_102003464-0.3.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.2

File hashes

Hashes for Topsis_Taruna_102003464-0.3.tar.gz
Algorithm Hash digest
SHA256 ebd54b6a65ad63c7d910215f981c4458d956858289623fbe7d601f1b8d8f5c38
MD5 e01e2a350d1af78460ceddbb0b321346
BLAKE2b-256 9011d5af3f01811dcce599bc8b248ce6fb3f8eeb046a64a2e6ca2c68d7874469

See more details on using hashes here.

File details

Details for the file Topsis_Taruna_102003464-0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for Topsis_Taruna_102003464-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 97fcd637e1be6ea6d226cfdbb4b8aa6c95a15ae9d5df88c4211786079e9a6f07
MD5 621479c2b29a4cfe43fe0e3707c0bb1f
BLAKE2b-256 bb25a2f85dfd920fd5c5a7d6960c4f1ecb33c69222fa27d6a13156ab40c507f9

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