Skip to main content

Implementation of TOPSIS (Technique for Order Preference by Similarity to Ideal Solution)

Project description

Topsis-Gurman-102303764

This package implements the TOPSIS (Technique for Order Preference by Similarity to Ideal Solution) method in Python.

Installation

pip install Topsis-Gurmandeep-102303764

Usage

Run the package from the command line:

python -m topsis_gurmandeep_102303764.topsis InputDataFile Weights Impacts OutputFile

Example

python -m topsis_gurmandeep_102303764.topsis data.csv "1,1,1,2,1" "+,+,+,+,+" output.csv

Input Requirements

  • Input file must be a CSV file
  • First column should contain alternatives
  • Remaining columns should contain numeric criteria
  • Weights must be numeric and comma separated
  • Impacts must be + or - and comma separated

Output

The output file will contain:

  • TOPSIS Score
  • Rank

Dependencies

  • numpy
  • pandas

Author

Gurmandeep Kaur

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

Uploaded Source

Built Distribution

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

topsis_gurmandeep_102303764-0.1.1-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for topsis_gurmandeep_102303764-0.1.1.tar.gz
Algorithm Hash digest
SHA256 e940e71e0e94e24f089371c09c4caf5ac33030dced6bd6d564c22bb54fad0fd2
MD5 88fdd8a679260d659e232c0e78a10a84
BLAKE2b-256 f44b636998987c184a92071ebd6f754cded05b9ef823d8e000ec03044f3002df

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for topsis_gurmandeep_102303764-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 fe7a85ca554443a5f0f141adb29bb0d0a912cf38acc6512d5b62695769483dda
MD5 a349ed6548ed9b86b30962d7af86462a
BLAKE2b-256 fb632a9d6c7aefe42c4f45c5abe7485fc9b10cfc548a759f8eb519976dab337e

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