Skip to main content

A Python package for TOPSIS multi-criteria decision-making.

Project description

TOPSIS Implementation in Python

This repository contains a Python implementation of the Technique for Order Preference by Similarity to Ideal Solution (TOPSIS), a multi-criteria decision-making (MCDM) method. TOPSIS is used to rank and evaluate alternatives based on multiple criteria, considering both their closeness to an ideal solution and their distance from a nadir (worst-case) solution.

Features

  • Accepts input data from a CSV file for analysis.
  • Normalizes numerical data using vector normalization.
  • Applies user-defined weights and impacts (+ for benefit criteria, - for cost criteria) to compute the weighted normalized decision matrix.
  • Calculates ideal and anti-ideal solutions and their respective distances for each alternative.
  • Computes the TOPSIS score and assigns ranks to alternatives.
  • Outputs results including TOPSIS scores and ranks in a CSV file.

Installation

Clone the repository and install the required Python libraries:

pip install pandas numpy scipy

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-AnureetKaur-102203210-1.0.0.tar.gz (3.8 kB view details)

Uploaded Source

Built Distributions

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

topsis_anureetkaur_102203210-1.0.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

Topsis_AnureetKaur_102203210-1.0.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file Topsis-AnureetKaur-102203210-1.0.0.tar.gz.

File metadata

File hashes

Hashes for Topsis-AnureetKaur-102203210-1.0.0.tar.gz
Algorithm Hash digest
SHA256 262765e3a7d0386c5502d717c4b4bfd68f4aabd4a71842a22b7e8c402c61254c
MD5 34b15f7674e5896d9e5e9bc077748590
BLAKE2b-256 f7319139b21306135a032f9eadc3a2af614e26186f94e661ba1d235fc76c3bc5

See more details on using hashes here.

File details

Details for the file topsis_anureetkaur_102203210-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for topsis_anureetkaur_102203210-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 373d376f9927437bf0cf0e390157fee861c25ea761a3dec7a8807942e8cee022
MD5 9cf820e46d83b070d0ddeb37137975df
BLAKE2b-256 dbf9576d01cdc96faab1520d3308b8696053cb0b65a2866c29c6a69ccc8ad2df

See more details on using hashes here.

File details

Details for the file Topsis_AnureetKaur_102203210-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for Topsis_AnureetKaur_102203210-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0267df71fe42ac149002cf3cdb80eefd5e8d670ca31ee1fd17ec3df50bc32b1e
MD5 3a77f352fd8089dfd79081f324b11f53
BLAKE2b-256 c150c5736f118758ff6254bc54d1d60a1144f78ef64781e013909e2a32b42675

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