Skip to main content

This is a Python library for handling problems related to Multiple Criteria Decision Making(MCDM)

Project description

TOPSIS

Title: TOPSIS method for multiple-criteria decision making (MCDM).

Version: 1.0.1.

Author: Shubham Malhotra.

Description: Evaluation of alternatives based on multiple criteria using TOPSIS method.


How to install this package:

>> pip install Topsis-Shubham-102003109

In Command Prompt

>> topsis 102003109-data.csv "1,2,1,2,1" "+,+,-,-,+" resultdata.csv

Input file (data.csv)

Model Correlation R^2 RMSE Accuracy
P1 0.79 0.62 1.25 60.89
P2 0.66 0.44 2.89 63.07
P3 0.56 0.31 1.57 62.87
P4 0.82 0.67 2.68 70.19
P5 0.75 0.56 1.3 80.39

Output file (result.csv)

Model Correlation R^2 RMSE Accuracy Topsis_score Rank
P1 0.79 0.62 1.25 60.89 0.7722 2
P2 0.66 0.44 2.89 63.07 0.2255 5
P3 0.56 0.31 1.57 62.87 0.4388 4
P4 0.82 0.67 2.68 70.19 0.5238 3
P5 0.75 0.56 1.3 80.39 0.8113 1

The output file contains columns of input file along with two additional columns having Topsis_score and Rank

TOPSIS

Title: TOPSIS method for multiple-criteria decision making (MCDM).

Version: 1.0.1.

Author: Shubham Malhotra.

Description: Evaluation of alternatives based on multiple criteria using TOPSIS method.


How to install this package:

>> pip install Topsis-Shubham-102003109

In Command Prompt

>> topsis 102003109-data.csv "1,2,1,2,1" "+,+,-,-,+" resultdata.csv

Input file (data.csv)

Model Correlation R^2 RMSE Accuracy
P1 0.79 0.62 1.25 60.89
P2 0.66 0.44 2.89 63.07
P3 0.56 0.31 1.57 62.87
P4 0.82 0.67 2.68 70.19
P5 0.75 0.56 1.3 80.39

Output file (result.csv)

Model Correlation R^2 RMSE Accuracy Topsis_score Rank
P1 0.79 0.62 1.25 60.89 0.7722 2
P2 0.66 0.44 2.89 63.07 0.2255 5
P3 0.56 0.31 1.57 62.87 0.4388 4
P4 0.82 0.67 2.68 70.19 0.5238 3
P5 0.75 0.56 1.3 80.39 0.8113 1

The output file contains columns of input file along with two additional columns having Topsis_score and 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-Shubham-102003109-1.0.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

Topsis_Shubham_102003109-1.0.1-py3-none-any.whl (4.3 kB view details)

Uploaded Python 3

File details

Details for the file Topsis-Shubham-102003109-1.0.1.tar.gz.

File metadata

File hashes

Hashes for Topsis-Shubham-102003109-1.0.1.tar.gz
Algorithm Hash digest
SHA256 4a1031dda0d7d76e657fda0bb87a941b983895cdd870bb4cdd03fc7400f94305
MD5 7bd6c66677563dfdc523f979b368d77a
BLAKE2b-256 c1e9cd69b0a52f27b469ba5c97176c97f036c37e416470450394a1676a976ff8

See more details on using hashes here.

File details

Details for the file Topsis_Shubham_102003109-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for Topsis_Shubham_102003109-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a4f9c1ab4b9211441f2b3e4a243851afee8b5571f4b92feba50f54e4b60f818c
MD5 48dee449754f7d47af98b71b8d3996ac
BLAKE2b-256 4e38bae52dc681903d31b228e0aa3847ab5143551d466bff0ba64aeaba571bcb

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