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

example-package-Jahnvi-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.

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

Uploaded Python 3

File details

Details for the file example-package-Jahnvi-0.0.1.tar.gz.

File metadata

  • Download URL: example-package-Jahnvi-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 example-package-Jahnvi-0.0.1.tar.gz
Algorithm Hash digest
SHA256 5b6e2921b44cf4ca7bdef97b08eab99a2a6f3c616384e569564ac57e640c7de7
MD5 569cceef0a367c098e25e6e4c8d98ce4
BLAKE2b-256 afea812d97276b40089fe4a9f6bad7ac43d86a8025707e9b3cdbeda710114921

See more details on using hashes here.

File details

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

File metadata

  • Download URL: example_package_Jahnvi-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 example_package_Jahnvi-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 56952abf0e47419d527f151146c380ee2d3b52c5b9ee59b50fe2eb5081b9e036
MD5 7edfe6f91ac80a1ef08b3af0436804a7
BLAKE2b-256 89d57557d11c08f7cdf8f45425782d789d179a57c6d9a7cb323d27429aea8bca

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