Skip to main content

Topsis Score and Rank generator

Project description

TOPSIS

Technique for Order Preference by Similarity to Ideal Solution (TOPSIS) is a multi-criteria decision making method. The method is based on finding an ideal and an anti-ideal solution and comparing the distance of each one of the alternatives to those. TOPSIS chooses the alternative of shortest Euclidean distance from the ideal solution, and greatest distance from the negative-ideal solution.

Package Usage

To install the package:
pip install topsis_tanisha_101803042
This is a package focusing on finding the topsis score and rank of a dataframe (csv file) with only numerical values.

Python IDLE or any Editor

import topsis_tanisha_101803042.topsis
f = "input_csv_filepath"
w = "1,1,1,1"
im = "+,+,+,-"
r = "result_csv_filepath"
topsis_tanisha_101803042.topsis.rank(f,w,im,r)
The final result can be seen in the result file given as r.

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_tanisha_101803042-1.2.tar.gz (4.0 kB view details)

Uploaded Source

File details

Details for the file topsis_tanisha_101803042-1.2.tar.gz.

File metadata

  • Download URL: topsis_tanisha_101803042-1.2.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/51.1.0 requests-toolbelt/0.9.1 tqdm/4.52.0 CPython/3.8.5

File hashes

Hashes for topsis_tanisha_101803042-1.2.tar.gz
Algorithm Hash digest
SHA256 41e12471a484235513b25a9656badabce5ac6da705209cae03d5d51cf41016ba
MD5 541d1307b30d55fe53128c3e8b833074
BLAKE2b-256 a233561c11b163e415abe6a3499b4bf8bb3c1d9aba9a526e18bd3709db788c2d

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