Skip to main content

TOPSIS implementation by Loveneet Kaur

Project description

Topsis Python Package

Made By Loveneet Kaur (Roll No. 102116111)

Description

The Topsis Python Package is a Python library that provides an implementation of the Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS) method. TOPSIS is a multi-criteria decision-making method used to determine the best alternative among a set of alternatives based on their performance on multiple criteria.

Features

Efficient Topsis Analysis: The package efficiently calculates Topsis scores and ranks for decision-making alternatives given a dataset.

Command-Line Interface: Use the command-line interface to run Topsis analysis easily with specified parameters.

Error Handling: The package includes robust error handling to provide clear feedback on incorrect inputs or missing files.

Installation

pip install topsis-loveneet-102116111

Usage

Please provide the filename for the CSV, including the .csv extension. After that, enter the weights vector with values separated by commas. Following the weights vector, input the impacts vector, where each element is denoted by a plus (+) or minus (-) sign. Lastly, specify the output file name along with the .csv extension.

Example Usage

The below example is for the data have 5 columns.

python program.py InputDataFile Weights Impacts ResultFileName

Example : python Topsis 102116111-data.csv "1,1,1,1,1" "+,-,+,+,+" 102116111-result.csv

Important Points

There should be only numeric columns except the first column i.e. Fund Name. Input file must contain atleast three columns.

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-Loveneet-102116111-0.0.0.tar.gz (4.0 kB view hashes)

Uploaded Source

Built Distribution

Topsis_Loveneet_102116111-0.0.0-py3-none-any.whl (4.6 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