TOPSIS implementation by Jatin Thakur
Project description
Topsis Python Package
Made By Jatin Thakur (Roll No. 102116096)
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-jatin-102116096
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 102116096-data.csv "1,1,1,1,1" "+,-,+,+,+" 102116096-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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for Topsis-Jatin-102116096-1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | af7bbf01b77b307cce0b398e0617379fa2db8ec3f8fc0ce58de05cb48338b9a0 |
|
MD5 | 6dd9fe48fe03067e27430295af34d0ce |
|
BLAKE2b-256 | 2edf0d8c7ee62e309b48cd006726af24be05c1dc112925aa6af46e1ed803f950 |
Hashes for Topsis_Jatin_102116096-1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e372f7882a72c7683c409824bd981c1362625b250af6b2cffbd427add0bcc71 |
|
MD5 | 48cccab7959facbca01ea78bcfae795c |
|
BLAKE2b-256 | feea5f9fafb1d43550ea4380fdb906ef6fa735e7b008853848941463d11791b1 |