Skip to main content

A Python package for TOPSIS analysis of a Multiple Criteria Decision Making Problem.

Project description

Topsis is a Python package used for MCDM problems which is selection of the best, from a set of alternatives, each of which is evaluated against multiple criteria.

topsis-3606

This is a project submission for UCS633(Data Analytics and Visualisation) by

Name : Varinda Rani

Roll Number : 10703606

Group : 3CO21

Installation

Use the package manager pip to install topsis-3606.

pip install TOPSIS-3606

Usage

The TOPSIS technique is helpful for decision makers to structure the problems to be solved, conduct analyses, comparisons and ranking of the alternatives. The classical TOPSIS method solves problems in which all decision data are known and represented by crisp numbers.

Following line of code will get you the desired ranking for your dataset.

TOPSIS-3606 PhotogenicFace.csv [1,1,1,1,1] [+,-,+,+,+]

Examplar Dataset

PhotogenicFace.csv

ID EYES NOSE FOREHEAD LIPS CHIN
S1 0.79 0.62 1.25 60.89 11
S2 0.66 0.44 2.89 63.07 20
S3 0.56 0.31 1.57 62.87 16
S4 0.82 0.67 2.68 70.19 16
S5 0.75 0.56 1.3 80.39 20

Input

TOPSIS-3606 PhotogenicFace.csv [1,1,1,1,1] [+,-,+,+,+]

Weights = [1,1,1,1,1]

Impacts = [+,-,+,+,+]

Result / Output

Topsis Selection of DATA

Models     | Rank
------------------
1          | 5
------------------
2          | 1
------------------
3          | 3
------------------
4          | 2
------------------
5          | 4
------------------

Make sure your dataset does not contain any categorical data

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

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-3606-1.0.2.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

TOPSIS_3606-1.0.2-py3-none-any.whl (4.2 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