Skip to main content

Topsis Package by Nishtha Kumari

Project description

Topsis Python Package

Made by Nishtha Kumari

About

Topsis (Technique for Order of Preference by Similarity to Ideal Solution) is a multi-criteria decision-making method used to identify the best alternative from a set of options.

Installation

Use package manager pip install the package

pip install Topsis-Nishtha-102103604 

Usage

  • Command-line Input: python <program.py> <InputDataFile> <Weights> <Impacts> <ResultFileName>.

  • Input-File type: Only Excel file will be required as input file.

  • The second to last columns of the data file MUST contain NUMERIC values.

  • Impacts are either '+' or '-'

  • Weights and Impacts should be enclosed in double quotes and separated by commas.

  • Output: 'Topsis Score' column and a 'Rank' column to the data and saves the results to a CSV file specified in the command-line arguments.

Example

Command-Line-Input

 python 102103604.py 102103604-data.csv “1,1,1,1,1” “+,+,-,+,-” 102103604-result.csv

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-Nishtha-102103604-0.1.1.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

Topsis_Nishtha_102103604-0.1.1-py3-none-any.whl (3.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page