Skip to main content

A Python package for TOPSIS multi-criteria decision making

Project description

TOPSIS-ArpitSingh-102303798

This package provides a command-line implementation of the TOPSIS (Technique for Order Preference by Similarity to Ideal Solution) method for multi-criteria decision making.

Installation

pip install Topsis-ArpitSingh-102303798

Usage

topsis <InputDataFile> <Weights> <Impacts> <OutputResultFileName>

Example

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

Input File Format

  • First column: Alternative / Object name
  • Remaining columns: Numeric criteria values
  • Minimum 3 columns required

Weights

  • Numeric
  • Comma separated
  • Count must match number of criteria

Impacts

  • + for benefit criteria
  • - for cost criteria
  • Comma separated
  • Count must match number of criteria

Output

  • Adds two columns:

    • Topsis Score
    • Rank

Dependencies

  • pandas
  • numpy

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

Uploaded Source

File details

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

File metadata

File hashes

Hashes for topsis_arpitsingh_102303798-1.0.0.tar.gz
Algorithm Hash digest
SHA256 6fe11bfc12ac4993d55483368bf579886a56a350cb0777471808183235eaab56
MD5 7b0bcf347eb23c2645fb3a3406df50a1
BLAKE2b-256 649c68ac67deda13862064e29ed21b320fddd3b079b3226aab9b6e7b89de7df3

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