Skip to main content

A Topsis package that takes inputs as CSV and generates scores in results CSV!

Project description

TOPSIS_102183056

TOPSIS method for multiple-criteria decision making (MCDM)

What is TOPSIS?

Technique for Order Preference by Similarity to Ideal Solution (TOPSIS) originated in the 1980s as a multi-criteria decision making method. TOPSIS chooses the alternative of shortest Euclidean distance from the ideal solution, and greatest distance from the negative-ideal solution.

🔗 Usage

topsis data.csv "1,1,1,1" "+,+,-,+" result.csv

🔗 Input File(data.csv)

Model Correlation R2 RMSE Accuracy

M1 0.79 0.62 1.25 60.89

M2 0.66 0.44 2.89 63.07

M3 0.56 0.31 1.57 62.87

M4 0.82 0.67 2.68 70.19

M5 0.75 0.56 1.3 80.39

🔗 Output File(result.csv)

Model Correlation R2 RMSE Accuracy Topsis_score Rank

M1 0.79 0.62 1.25 60.89 0.7722 2

M2 0.66 0.44 2.89 63.07 0.2255 5

M3 0.56 0.31 1.57 62.87 0.4388 4

M4 0.82 0.67 2.68 70.19 0.5238 3

M5 0.75 0.56 1.3 80.39 0.8113 1

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-Sahil_Rohilla-102183056-1.0.4.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.

File details

Details for the file TOPSIS-Sahil_Rohilla-102183056-1.0.4.tar.gz.

File metadata

File hashes

Hashes for TOPSIS-Sahil_Rohilla-102183056-1.0.4.tar.gz
Algorithm Hash digest
SHA256 3b1933df779d3f01e51663d5f62b797945ced519e3e646b0986eced909cc8f14
MD5 53159bb699629bafced663dc16acb2bb
BLAKE2b-256 a64e24cee8f4567fad999c9186c88b45e4a4e3a818ba23bb0c254a61c86d40a3

See more details on using hashes here.

File details

Details for the file TOPSIS_Sahil_Rohilla_102183056-1.0.4-py3-none-any.whl.

File metadata

File hashes

Hashes for TOPSIS_Sahil_Rohilla_102183056-1.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5041d16b7bd65b162533e8628dfe24619cd12e52738a3e1534187cd22d2e1182
MD5 e1b3d4f419b42fee1e139d1dc06ed1d0
BLAKE2b-256 b6ca47fe5ae10af284b94ce83320b2208e5125987fa75c36839050f00e8657ad

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