Skip to main content

Implementation of TOPSIS for multi-criteria decision making

Project description

Topsis-Rohit-102203804

A Python package implementing the TOPSIS (Technique for Order of Preference by Similarity to Ideal Solution) method for multi-criteria decision making.

Installation

pip install Topsis-Rohit-102203804

Usage

Command Line Interface

topsis <InputDataFile> <Weights> <Impacts> <ResultFileName>

Example:

topsis data.csv "1,1,1,1,1" "+,+,-,+,-" result.csv

As a Python Package

from topsis_rohit_102203804.topsis import topsis

topsis("input.csv", [1,1,1,1,1], ['+','+','-','+','-'], "output.csv")

Input Format

  • Input file must be a CSV file with at least 3 columns
  • First column is the object/alternative name
  • From 2nd column onwards, there should be numeric values only

Output

  • Creates a CSV file with two additional columns: Topsis Score and Rank

License

MIT License

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_rohit_102203804-1.0.0.tar.gz (3.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_Rohit_102203804-1.0.0-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: topsis_rohit_102203804-1.0.0.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.1

File hashes

Hashes for topsis_rohit_102203804-1.0.0.tar.gz
Algorithm Hash digest
SHA256 8454cc2e4b62502730d892138ebba1ffce4961dd135f0d3e300956fb4d4c521f
MD5 c6a5fa58400826b66e84435a61cdd8ef
BLAKE2b-256 aa4f4f28302601d7ed5939a5459e6b8430792447f90a0057fd86c733da56c119

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Topsis_Rohit_102203804-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 560007eda5c6c66439fd0b263658749684f1fd7ba23193c0bd1d44661cb45033
MD5 31e7b57a971c63d00ed9f0203c31e42d
BLAKE2b-256 c842c43dccbacd333372d6287f59acb26bad020ddd5f745d2c0c4379548c3587

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