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.2.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.2-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: topsis102203635-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 50f76250c39eb9fe913bb8221a5f8b6774810f71267ec20580ab3a5bd2d826d0
MD5 1d8b72cf0aeb8beca0f4c617984711e1
BLAKE2b-256 7299bbe36929d50f81ad4dede1feb5f204390bc22c69931e3e5a77eb55d9441e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for topsis102203635-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 394e250c6f53aa9f93ee1d5448d08e3d88a892c3b22e4461f85e3bb67590f520
MD5 3b82429964566486c29d9945740e913a
BLAKE2b-256 a52c51fbeea20bb70a6c4dfce02d37d7d41356151ea43ba428b35dfd0f52f95b

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