Skip to main content

A Python package for implementing Topsis method

Project description

Topsis-Piyush-102217003

PyPI version License

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


Installation

Install the package from PyPI:

pip install Topsis-Piyush-102217003

Usage

Input

The package expects a CSV file with the following structure:

The first row contains column headers. The first column contains alternative names. The subsequent columns contain numerical values for different criteria. Output The result will include the following:

Topsis Score: A score for each alternative. Rank: Ranking of the alternatives based on the score.

Explanation of Parameters:

"data.csv": Input CSV file path. "1,1,1": Weights for each criterion. "+,+,-": Impact of each criterion (+ for beneficial, - for non-beneficial). "result.csv": Output CSV file path.

Features

Handles both beneficial and non-beneficial criteria. Scalable to multiple alternatives and criteria. Provides normalized scores for accurate decision-making.

Dependencies

Ensure you have the following Python libraries installed (they will be auto-installed via pip):

numpy pandas

Contributing

Contributions are welcome! Please follow these steps:

Fork the repository. Create a new branch for your feature or bug fix. Submit a pull request.

Acknowledgments

Inspired by the Topsis method for decision-making. Developed by Piyush Garg.

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_piyush_102217003-0.1.0.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

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

Topsis_Piyush_102217003-0.1.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file topsis_piyush_102217003-0.1.0.tar.gz.

File metadata

  • Download URL: topsis_piyush_102217003-0.1.0.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for topsis_piyush_102217003-0.1.0.tar.gz
Algorithm Hash digest
SHA256 680d709b1b7484d34811e47171478b653cd89a5c26a6accb62163f797e3367d6
MD5 26451fa436899bf4f1a5c5f5285e0d4f
BLAKE2b-256 5ddaf11ac7a0518d3381e42b7a3335ddd436957306e4624634307faea0959158

See more details on using hashes here.

File details

Details for the file Topsis_Piyush_102217003-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for Topsis_Piyush_102217003-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 36c7c5637221bc0c2ef8048806b16e48ef9adb67577573d0278891126114f14c
MD5 69ef3a3df0847c70eba5359b798f40d8
BLAKE2b-256 b229ba580cd58c2600e1c876c073cdb10775f5ce920665fe7956b19930b90335

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