Skip to main content

TOPSIS implementation for multi-criteria decision making

Project description

Topsis-Raiza-102303068

Description

This Python package implements the TOPSIS (Technique for Order Preference by Similarity to Ideal Solution) method used in Multi-Criteria Decision Making (MCDM).

It allows users to rank alternatives based on multiple criteria using command-line input.


Installation

Install the package from PyPI using:

pip install Topsis-Raiza-102303068

Command Line Usage

topsis <InputDataFile> <Weights> <Impacts> <OutputFile>

Example

topsis data.csv "1,1,1,2,1" "+,+,-,+,-" output.csv

Input File Format

  • First column: Name of alternatives (e.g., Fund Name)
  • Remaining columns: Numeric criteria values
  • Minimum 3 columns required
  • Weights and impacts must match number of criteria

Output File

The output CSV file contains:

  • All original columns
  • Topsis Score
  • Rank (higher score = better rank)

Requirements

  • Python 3.7+
  • pandas
  • numpy

Author

Raiza Duggal
Roll No: 102303068

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_raiza_102303068-1.0.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

topsis_raiza_102303068-1.0.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file topsis_raiza_102303068-1.0.0.tar.gz.

File metadata

  • Download URL: topsis_raiza_102303068-1.0.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.9

File hashes

Hashes for topsis_raiza_102303068-1.0.0.tar.gz
Algorithm Hash digest
SHA256 432c21d307e32065da68864c11eece74a70a08b89a6d082543146019210e5ce8
MD5 939d453cef2025a7657ce5e13b51a700
BLAKE2b-256 4f80a724e6841f49647aff20a8a510d72e2bf59e39e15a0438f22ebd82b1485d

See more details on using hashes here.

File details

Details for the file topsis_raiza_102303068-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for topsis_raiza_102303068-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f9cc6207661c9e88256ecb6036d4ceda8481bd14164764f3d11e313c0a2058bb
MD5 340922456feb7f53f3463863612c7a53
BLAKE2b-256 e7e7d312d1383db45c520797d116363b875520f98dffe6a47fd2827d2d9351ec

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