Skip to main content

Package to perform TOPSIS Analysis

Project description

TOPSIS Method for Decision Analysis

This Python package provides an efficient implementation of the TOPSIS (Technique for Order Preference by Similarity to Ideal Solution) method. It's a straightforward tool to evaluate alternatives based on multiple criteria and rank them according to their relative performance.

How to Install

To install the package, use pip as follows:

pip install topsis102203635

Quick Start Guide

Import the Library and Set Up Data Here's an example to help you get started with this package:

import pandas as pd from topsis102203635 import Topsis

data = { 'P1': [0.88, 0.91, 0.79, 0.94], 'P2': [0.77, 0.83, 0.62, 0.88], 'P3': [6.5, 7.0, 4.8, 3.6], 'P4': [51.5, 31.7, 46.7, 62.2], 'P5': [14.91, 10.11, 13.23, 16.91] }

df = pd.DataFrame(data)

weights = [0.2, 0.2, 0.2, 0.2, 0.2] impacts = ['+', '+', '-', '+', '+']

topsis = Topsis(df, weights, impacts)

result = topsis.calculate()

print(result)

Key Features

Ease of Use: Simplified syntax for implementing the TOPSIS method. Flexible Criteria: Support for any number of criteria with user-defined weights and impacts. Customizable: Easily modify input data, weights, and the direction (impact) of each criterion.

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

topsis102203635-0.1.3.tar.gz (3.9 kB view details)

Uploaded Source

Built Distribution

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

topsis102203635-0.1.3-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file topsis102203635-0.1.3.tar.gz.

File metadata

  • Download URL: topsis102203635-0.1.3.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for topsis102203635-0.1.3.tar.gz
Algorithm Hash digest
SHA256 5cdf06be5025eea018572bfbbb0ff3ec910a0f28f1d2ba96f58c3305bec07ef6
MD5 d2348d79072c81322c2d6dfe0e55c607
BLAKE2b-256 feb4db2e7124b087311d15bd6fee5fb140ddf1aeafe2970c16ad3582a5ea3b01

See more details on using hashes here.

File details

Details for the file topsis102203635-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for topsis102203635-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 092c78b5725aecbaa0eae92e2f670fdab9dbad67e8ec159bd53e0517ea855f1f
MD5 b754f1ce2887a51925c4f586ea916fe7
BLAKE2b-256 aab4631669e952d8a1bba65fafba5182226f0347c2eb2437d3204698f8df6081

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