Skip to main content

Implementation of Topsis

Project description

Topsis-Anshul

TOPSIS Implementation

This repository contains a Python implementation of the Technique for Order Preference by Similarity to Ideal Solution (TOPSIS). TOPSIS is a powerful multi-criteria decision-making method that assists in ranking a set of alternatives based on their proximity to the ideal solution.

Table of Contents

  1. Introduction
  2. Usage
  3. Command-line Arguments
  4. Requirements

Introduction

The Technique for Order Preference by Similarity to Ideal Solution (TOPSIS) is a well-established method for decision-making. This Python implementation allows you to easily apply TOPSIS to your decision matrix and obtain a ranked list of alternatives.

Key Concepts:

  • Decision Matrix: Represents alternatives and criteria.
  • Weights: Assign importance to criteria.
  • Impacts: Indicate whether higher or lower values are favorable.
  • Normalization: Ensures all criteria are on a similar scale.
  • Ideal and Worst Solutions: Represent best and worst possible outcomes.
  • Similarity and Dissimilarity Measures: Calculate proximity to ideal and dissimilarity to worst.
  • TOPSIS Score: Combines similarity and dissimilarity measures.
  • Ranking: Alternatives are ranked based on TOPSIS scores.

Usage

  1. Ensure you have Python installed on your system.

  2. Clone this repository to your local machine:

    bash git clone https://github.com/anshulmahajan14/Topsis-Anshul

  3. Navigate to the project directory:

    bash git clone https://github.com/anshulmahajan14/Topsis-Anshul

  4. Run the TOPSIS script with the required command-line arguments:

    python 102217060.py 102217060-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.

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-Anshul-102217060-1.0.3.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

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

Topsis_Anshul_102217060-1.0.3-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file Topsis-Anshul-102217060-1.0.3.tar.gz.

File metadata

  • Download URL: Topsis-Anshul-102217060-1.0.3.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.11.9

File hashes

Hashes for Topsis-Anshul-102217060-1.0.3.tar.gz
Algorithm Hash digest
SHA256 71006f2ef78af795cf1b25c15688306e5d5d1eaffa09a2915c69682a921000a3
MD5 af2cc3f1128237ca0601ff37680ce0de
BLAKE2b-256 a7af972f712252112777cf29e957d7f245992c54726ef9983fcfa34bf81b2a9a

See more details on using hashes here.

File details

Details for the file Topsis_Anshul_102217060-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for Topsis_Anshul_102217060-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 17eaa30a6b0dc1219aaeda7a8bf61d2bd12c4a734317805cd951d72198148c5d
MD5 42e490373ca062862235b8ae3aecbc6d
BLAKE2b-256 625d91f6921dfac01961a0f3b77972fe0f7f1930ae3402070e56eb488ede1d4d

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