Skip to main content

A Python package for TOPSIS calculation

Project description

TOPSIS-Python Package

Author: Neeraj
Roll Number: 102317014


What is TOPSIS?

Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS) is a multi-criteria decision analysis method. It 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 (NIS).


Installation

You can install the package using pip: pip install Topsis-Neeraj-102317014


Example Usage

topsis data.xlsx "1,1,1,2" "+,+,-,+" result.xlsx


Input File Format

The input file must:

Be a .xlsx file. Contain at least 3 columns. The first column should contain the object/alternative names (e.g.,M1,M2,M3). From the 2nd column onwards, all values must be numeric.


Output

The output will be a excel file containing all the original data, plus two additional columns:

Topsis Score: The calculated preference score. Rank: The final ranking of the alternatives.


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_neeraj_102317014_tiet-1.0.3.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

topsis_neeraj_102317014_tiet-1.0.3-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file topsis_neeraj_102317014_tiet-1.0.3.tar.gz.

File metadata

File hashes

Hashes for topsis_neeraj_102317014_tiet-1.0.3.tar.gz
Algorithm Hash digest
SHA256 870da8f9b4b2c9d187bc6d7c543251d49eac82c218e3905150407bb9431f3131
MD5 ad1ceb1d4ca2da6c4c0d637ea59b1407
BLAKE2b-256 08f2210d7d2bc3c167b284a5cf1f1f3bce4fd71c5a82a9014ed5ceb83789d317

See more details on using hashes here.

File details

Details for the file topsis_neeraj_102317014_tiet-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for topsis_neeraj_102317014_tiet-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 487da7d21beea65f5b89bbc44a85c68a611c432f6902099ae4179ef62a4a5903
MD5 162fdb317fab7c177849a28af45a6e00
BLAKE2b-256 492e66bbbe9694a08a9fea56b3f444a9d7e6e5abb9cb4e69b3bc89fb45216c0a

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