Skip to main content

Python package for TOPSIS

Project description

Topsis-Santushti-102497014

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


Installation

Install the package using pip:

pip install Topsis-Santushti-102497014

Usage

Run the package from the command line:

topsis input.csv "1,1,1,1" "+,+,-,+" output.csv

Arguments

  1. input.csv Input CSV file containing alternatives and criteria values.

  2. weights Comma-separated weights for each criterion. Example:

    "1,1,1,1"
    
  3. impacts Comma-separated impacts for each criterion. Use:

    • + for beneficial criteria
    • - for non-beneficial criteria

    Example:

    "+,+,-,+"
    
  4. output.csv Output file that will contain:

    • Topsis Score
    • Rank

Output

The output file will include:

  • Original data
  • Topsis Score
  • Rank of each alternative

Example

topsis data.csv "1,2,3,4" "+,+,-,+" result.csv

This command will generate result.csv containing the TOPSIS scores and rankings.

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

Uploaded Source

Built Distribution

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

topsis_santushti_102497014-1.0.3-py3-none-any.whl (3.2 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for topsis_santushti_102497014-1.0.3.tar.gz
Algorithm Hash digest
SHA256 f6f80e61c18f98c4b27934d6935725a41b273085d90ac71de762b87eef73b43e
MD5 72430d6c258607187a81a4c950115409
BLAKE2b-256 8f2e1cf85d34b042014b543fbfc71d90443a4440f86213e47114b2953f445973

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for topsis_santushti_102497014-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0490936f1ca5ee5f8c82948ec358e3c8cda3776368230230bf435d8a9aac2d26
MD5 eb8bb56132bf5da13d72a99332e7fb10
BLAKE2b-256 943ba439d7a20bf3e728bcab32aaeb039146c0e50ed775c808d1938775006f3f

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