Skip to main content

TOPSIS implementation for multi-criteria decision making

Project description

Topsis-sneha-102303033

Python package implementing TOPSIS (Technique for Order of Preference by Similarity to Ideal Solution).

Description

Run TOPSIS on input_file and write result to output_file.

input_file: path to CSV or XLSX
weights_str: e.g. "1,1,1,2"
impacts_str: e.g. "+,+,-,+"
output_file: path to CSV to write

conditions

  • The input file must be a CSV or XLSX file.
  • The input file must contain at least three columns.
  • All columns except the first must contain numeric data.
  • The number of weights and impacts must match the number of criteria (columns minus one).

Installation

pip install Topsis-sneha-102303033

Usage

from topsis_sneha_102303033 import topsis
topsis("input.csv", "1,1,1,2", "+,-,+,+", "output.csv")

License

This project is licensed under the MIT License.

Author

Sneha Gupta - 102303033

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_sneha_102303033-0.1.1.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

topsis_sneha_102303033-0.1.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file topsis_sneha_102303033-0.1.1.tar.gz.

File metadata

  • Download URL: topsis_sneha_102303033-0.1.1.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for topsis_sneha_102303033-0.1.1.tar.gz
Algorithm Hash digest
SHA256 4d314e2e715e15d8f5a7c4afcb6c553dab1118f5f175f81eb138b77ac69eabca
MD5 85eed37826f0b473f2a984cd817386ae
BLAKE2b-256 4a22a76b3719d82b40bc29198db31a1f08fd85cd97942398e5f8cf4a83704e3a

See more details on using hashes here.

File details

Details for the file topsis_sneha_102303033-0.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for topsis_sneha_102303033-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bc41c438e25e21832b78ce1f611850ba8f0a0e761827cfd1ce5cdc1984087d9b
MD5 e50e48c3fda99724abdc4d7ea09eaaa5
BLAKE2b-256 e740cd970e8a9ff8f718925fa4ac5615e28fa5c561893b08eec33ee672e5451e

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