Skip to main content

It performs topsis

Project description

TOPSIS Implementation in Python

A Python implementation of the Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS) for multi-criteria decision-making problems. This package processes an input dataset, calculates the TOPSIS scores, and ranks alternatives based on their scores.

Installation

You can install this package directly from PyPI: pip install 102203584

Usage

Command-Line Interface

Run the script using the following format: python <program.py> <InputDataFile> <Weights> <Impacts> <ResultFileName>

Arguments:

  1. InputDataFile: Path to the input .csv file containing the dataset. -The first column should contain the names of the alternatives. -The remaining columns should contain numeric criteria values.

  2. Weights: Comma-separated values representing the importance of each criterion.

  3. Impacts: Comma-separated values (+ or -) indicating whether the criterion is beneficial (+) or non-beneficial (-).

  4. ResultFileName: Name of the output .csv file where the results (TOPSIS scores and ranks) will be saved

Dependencies

This package requires the following Python libraries: -pandas -numpy

License

This repository is licensed under the MIT license. See LICENSE 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

102203584-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.

102203584-1.0.0-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: 102203584-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.13.1

File hashes

Hashes for 102203584-1.0.0.tar.gz
Algorithm Hash digest
SHA256 4c87e409e33364a950cded9a926b12de8b091274ac72b6e8940cf64feb50a819
MD5 b0817b56082dfeb74ca776dabfcd0e27
BLAKE2b-256 0b743a6a281367c10d4c19481267b8b466840457f8fab23b989d8e2295068f51

See more details on using hashes here.

File details

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

File metadata

  • Download URL: 102203584-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.13.1

File hashes

Hashes for 102203584-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 244d8c7a8707eb01eaa28d71fc4564ab8812000a7a143c3bae3554be479e50f5
MD5 d4e6b49f54c549ab3fb49de31f1409a6
BLAKE2b-256 13c0d0836ab3b2f21af5ba1d52d19a6f5949680089bd92464507a74ed215f3bc

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