Skip to main content

TOPSIS implementation by Varshini Pallerla

Project description

TOPSIS Python Package

Made By: Varshini Pallerla
Roll No: 102217252

Description

The TOPSIS (Technique for Order Preference by Similarity to Ideal Solution) is a multi-criteria decision-making method used to rank alternatives based on their similarity to an ideal solution. The TOPSIS Python Package is a library that provides an easy-to-use implementation of this method, helps in selecting the best alternative from a set of alternatives based on their performance across multiple criteria.

Installation

You can install the package using pip: pip install topsis-varshinipallerla

Usage

Use the following command to perform TOPSIS analysis on a dataset:

python topsis.py data.csv "1,0,1,0,1" "+,-,+,-,+" output.csv

  • topsis.py: Python file with code
  • data.csv: Path to the input CSV file containing the dataset.
  • "1,0,1,0,1": Weights for each criterion separated by commas.
  • "+,-,+,-,+": Impacts for each criterion (either + for maximizing or - for minimizing).

The output will be saved in a file named output.csv

Output

Screenshot 2025-01-18 120809

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-Varshini-102217252-1.0.0.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

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

Topsis_Varshini_102217252-1.0.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file Topsis-Varshini-102217252-1.0.0.tar.gz.

File metadata

File hashes

Hashes for Topsis-Varshini-102217252-1.0.0.tar.gz
Algorithm Hash digest
SHA256 132eb9081aa8f7a71492701c8257194c56dc134ea967e767d3207f811ab205dd
MD5 d4f67e2f0130cbd5b8097767bb4d4985
BLAKE2b-256 29eff4a384e01fdfad6a57909bdcf15b4830d676968f9c36de851bfe0b18d774

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Topsis_Varshini_102217252-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f2d435003e572edfdabf1ea69a1b0dbd4c94dfca2eda2ffcf42321597edda2ec
MD5 19018f17be83844226591cca7c1603bd
BLAKE2b-256 2df10bc34c38360388384ede87e2ade68323f1f6de26d8b2fd6276f0733dcb2f

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