Implementation of Topsis
Project description
TOPSIS Implementation in
This repository contains a Python implementation of the Technique for Order Preference by Similarity to Ideal Solution (TOPSIS). TOPSIS is a multi-criteria decision-making method that helps in ranking a set of alternatives based on their proximity to the ideal solution.
Usage To use this TOPSIS implementation, follow these steps:
1.Ensure you have Python installed on your system.
2.Clone this repository to your local machine:
git clone https://github.com/cheshtabiala/Assignment-Topsis
3.Navigate to the project directory:
cd your-repo
4.Run the TOPSIS script with the required command-line arguments:
python topsis.py <InputDataFile> <Weights> <Impacts> <ResultFileName>
Example:python topsis.py input_data.csv "1,1,1,2" "+,+,-,+" result.csv
5.The TOPSIS analysis will be performed, and the result will be saved to the specified CSV file.
Command-line Arguments:
: Path to the input CSV file containing the decision matrix.
: Comma-separated weights for each criterion.
: Comma-separated impact signs for each criterion (use '+' for beneficial criteria and '-' for non-beneficial criteria).
: Desired name for the output CSV result file.
Example:python topsis.py input_data.csv "1,1,1,2" "+,+,-,+" result.csv
Requirements: Python 3.x pandas numpy
Author: Cheshta Biala
License: This project is licensed under the MIT License - see the LICENSE.md file for details.
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file Topsis-CheshtaBiala-102103545-1.0.0.tar.gz.
File metadata
- Download URL: Topsis-CheshtaBiala-102103545-1.0.0.tar.gz
- Upload date:
- Size: 2.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2b3e4ca2fc0a2de32d35302922085ad4f00ddb196d22485844e2551167bea47
|
|
| MD5 |
1825efb662ef2ac2d2573bfa71717565
|
|
| BLAKE2b-256 |
2a3582ca457f3aec9bff5505df8ced4403e4526d64d4bedfd8e48d0b4ba10249
|
File details
Details for the file Topsis_CheshtaBiala_102103545-1.0.0-py3-none-any.whl.
File metadata
- Download URL: Topsis_CheshtaBiala_102103545-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
003a0552688c8c7516ec43fc9311cfbbca47672cca0893923c04d83569ffc466
|
|
| MD5 |
2100657945de0754705959e7bb083149
|
|
| BLAKE2b-256 |
8c111e370afc26c0ee16100f3459bbd3175ad392ab11f83ae502abfbb5b90474
|