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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page