Skip to main content

No project description provided

Project description

Topsis_Yuvika_102203800

This is a Python package for implementing the Technique for Order Preference by Similarity to Ideal Solution (TOPSIS). It is a popular multi-criteria decision-making method used to rank alternatives based on their relative closeness to the ideal solution.

Installation

You can install the package using pip:

pip install Topsis_Yuvika_102203800

Usage

Input File Format

The input CSV file must follow this structure:

  • The first column contains the names of the alternatives (e.g., products, models, or options).
  • Subsequent columns contain the numerical values of the criteria for each alternative.
  • The first row should provide headers for all columns. -There must be at least three columns
  • All criteria values should be numerical.
  • The number of weights and impacts should match the number of criteria columns.
  • Impacts must only include + (beneficial) or - (non-beneficial).

Command-line Usage

After installation, you can use the topsis command in the terminal:

topsis <input_file> <weights> <impacts> <output_file>
  • <input_file>: Path to the input CSV file.
  • <weights>: Comma-separated string of weights for the criteria.
  • <impacts>: Comma-separated string of '+' or '-' indicating the desirability of the criteria.
  • <output_file>: Path to the output CSV file to save the results.

Example

topsis data.csv "0.5,0.3,0.2" "+,-,+" results.csv

This command will process the data.csv file using the specified weights and impacts and output the results to results.csv.

License

This project is licensed under the MIT License. See the LICENSE file for details.

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_yuvika_102203800-0.3.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

Topsis_Yuvika_102203800-0.3-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file topsis_yuvika_102203800-0.3.tar.gz.

File metadata

  • Download URL: topsis_yuvika_102203800-0.3.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.3

File hashes

Hashes for topsis_yuvika_102203800-0.3.tar.gz
Algorithm Hash digest
SHA256 5a1f41e36f1923547c99d27b300aa1318ff1f6f83ad48bed398af3af15d365b4
MD5 bbf9a5a89c0b20b4f345bd653c2b8059
BLAKE2b-256 18890a3af5205260ec7a7510725a88cd8102ec303e588d8714bf841b43ccf52f

See more details on using hashes here.

File details

Details for the file Topsis_Yuvika_102203800-0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for Topsis_Yuvika_102203800-0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 104ab58fde3aa4bf1f3a173222a9f957c32ca434ddf32f94c80b9c2d5387da26
MD5 60335e3a67615aae56afbd28c6252510
BLAKE2b-256 68b61c6ba9f1a86e8136395038b1ba1fa640e69009ddab053c1b1decf24904bc

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