Skip to main content

TOPSIS implementation

Project description

TOPSIS

TOPSIS is a method of compensatory aggregation that compares a set of alternatives by identifying weights for each criterion, normalising scores for each criterion and calculating the geometric distance between each alternative and the ideal alternative, which is the best score in each criterion.

Function

performTopsis(dataframe,weight,impact)

Parameters:
    DataFrame : Pandas DataFrame on which TOPSIS is to be applied
    weight : python string, numeric values separated by comma
    impact : python string, + or - separated by comma

Return Value:
    pandas DataFrame containing addition columns - TOPSIS score and TOPSIS rank

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-Jahnvi-101903300-0.0.1.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

TOPSIS_Jahnvi_101903300-0.0.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file TOPSIS-Jahnvi-101903300-0.0.1.tar.gz.

File metadata

  • Download URL: TOPSIS-Jahnvi-101903300-0.0.1.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0

File hashes

Hashes for TOPSIS-Jahnvi-101903300-0.0.1.tar.gz
Algorithm Hash digest
SHA256 c6552b8ebe9b3b9dff0860052c16da94b06e6d381d40973db3fd7739a5f115d4
MD5 3cdfdd2af6ec58300c93101fe0a8b90f
BLAKE2b-256 2569ba39909720a0d3fb8534e629ae4d59ea46cd33483eef1e1514dbb6e8b1d1

See more details on using hashes here.

File details

Details for the file TOPSIS_Jahnvi_101903300-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: TOPSIS_Jahnvi_101903300-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.0

File hashes

Hashes for TOPSIS_Jahnvi_101903300-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 c329e73456a179128e3d2d53dc03bbd72478f2558e71704f143be5207d1521d4
MD5 67f6bd5aee8e8cb3025834a79786d860
BLAKE2b-256 6953dece32b0771d06f2006b79cc885cf4965727d259f13f71bb78a1ad00ff8c

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