Skip to main content

A brief description of your package

Project description

#TOPSIS (Technique for Order of Preference by Similarity to Ideal Solution) is a Python package for performing TOPSIS analysis on a given dataset.

Installation

You can install the package using pip:

pip install topsis-aayushi-102103421

USAGE

import pandas as pd from topsis_package import topsis

Sample data

data = pd.DataFrame({ 'P1': [3, 4, 5, 2], 'P2': [5, 2, 3, 4], 'P3': [2, 3, 4, 5], 'P4': [4, 5, 2, 3], 'P5': [1, 2, 3, 4], })

Sample weights and impacts

weights = [1, 1, 1, 1, 1] impacts = [1, -1, 1, 1, -1]

Perform TOPSIS analysis

topsis_scores = topsis(data, weights, impacts)

Display TOPSIS scores

print("TOPSIS Scores:") print(topsis_scores)

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-aayushi-102103421-0.1.2.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

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

topsis_aayushi_102103421-0.1.2-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file topsis-aayushi-102103421-0.1.2.tar.gz.

File metadata

File hashes

Hashes for topsis-aayushi-102103421-0.1.2.tar.gz
Algorithm Hash digest
SHA256 59c36b5e3d6d3c5e763c4da138e307aaa9d7b3628e55abbc0d45bcb7264d80e5
MD5 e0e11d98216c358719539738cb61e090
BLAKE2b-256 25a59e46710987dc17fc128b4f0b86db47993e6ac06b405ef2ff8ef842930f1b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for topsis_aayushi_102103421-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2b92d4488cd4785baa36a20f56c90317a0326a83b89cd43dbc1524354920f7f6
MD5 331cdafb54d2886531a8c54d7a4f8d1e
BLAKE2b-256 0a09a6625f860ff02b3b111161fe4d3919e759176e81f20920b33e189442c9a6

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