Skip to main content

Calculate topsis score and rank and evaluate.

Project description

Topsis-Paavan-102003738

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.

Installation

pip install Topsis-Paavan-102003738

Input csv format

Input file contain three or more columns First column is the object/variable name From 2nd to last columns contain numeric values only

How to use it?

Command Prompt topsis Example: topsis inputfile.csv “1,1,1,1,1” “+,+,-,+,+” result.csv

Note: The weights and impacts should be ',' seperated, input file should be in pwd.

Sample input data

Model Corr Rseq 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

Sample output data

Model Corr Rseq RMSE Accuracy Topsis score Rank
M1 0.79 0.62 1.25 60.89 0.7731301458119156 2
M2 0.66 0.44 2.89 63.07 0.22667595732024362 5
M3 0.56 0.31 1.57 62.87 0.4389494866695491 4
M4 0.82 0.67 2.68 70.19 0.5237626971836845 3
M5 0.75 0.56 1.3 80.39 0.8128626132980138 1

License

© 2023 Paavan Singh Sayal

This repository is licensed under the MIT license. See LICENSE for details.

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-Paavan-102003738-1.0.1.tar.gz (3.6 kB view details)

Uploaded Source

Built Distribution

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

Topsis_Paavan_102003738-1.0.1-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file Topsis-Paavan-102003738-1.0.1.tar.gz.

File metadata

  • Download URL: Topsis-Paavan-102003738-1.0.1.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.5

File hashes

Hashes for Topsis-Paavan-102003738-1.0.1.tar.gz
Algorithm Hash digest
SHA256 7d10ea4f1cea5a3275b8164d7488a1995cf2127e77462307ea1cad7b0cd209d7
MD5 74af571e31997b6a363352a899e23771
BLAKE2b-256 9e57bbbf7d1e53cb3d46b66f6cad15062b9c667bffb7589b251799ab5b89874d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Topsis_Paavan_102003738-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 37e7f4aa50ba697e83d4ec61e005c9ae38a72c3f1e761060a67453df2257f271
MD5 f27e65e170c62be84d3e974a7136e287
BLAKE2b-256 13b355f3fb32ee017d833eb791bcc93a61ab27700ed383aa0384603252e6e591

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