Skip to main content

A Python implementation of TOPSIS method using command line arguments

Project description

TOPSIS – Technique for Order Preference by Similarity to Ideal Solution

TOPSIS is a Multi-Criteria Decision Making (MCDM) method developed in the 1980s.
It selects the best alternative based on:

  • Shortest Euclidean distance from the Ideal Solution
  • Farthest distance from the Negative-Ideal Solution

Installation

Install directly from PyPI:

Usage

After installation, open your terminal and run: topsis

Example:

topsis test.csv "1,1,2,3,1" "+,-,+,-,-" output.csv

Output

The output file will contain:

  • Original data
  • Topsis Score
  • Rank (1 = Best Alternative)

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_prabhsimrat_102317135-1.0.0.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

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

topsis_prabhsimrat_102317135-1.0.0-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file topsis_prabhsimrat_102317135-1.0.0.tar.gz.

File metadata

File hashes

Hashes for topsis_prabhsimrat_102317135-1.0.0.tar.gz
Algorithm Hash digest
SHA256 258a06a8373e32a871de55faf358f603179609de886047c54dafd3649417e2cc
MD5 2f8c5ff82f0190c8b6d2fc55b2d77ae0
BLAKE2b-256 cd3fd5450a5c105d720b59eb3c5fdf4a8d19708603f47f32ce7da07653707bd9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for topsis_prabhsimrat_102317135-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4541753be989c2b356421dc7e74b1ca28abc10bbdb723af1e6f8391fa641860c
MD5 32ab88b2c75b2561eaa0ffc117ae6dc1
BLAKE2b-256 62f161d5a7f6acea958dc0e13f7cf9f1b43aebcfb5caa2960a5c00a20f51345e

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