Skip to main content

A Python package implementing TOPSIS technique.

Project description

Topsis-Python

Project 1 : UCS654

Submitted By: Karan singla 102003255

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. More details at wikipedia.


How to use this package:

Topsis-Karansingla-102003355 can be run as in the following example:

In Command Prompt

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

Sample dataset

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

| Model | Correlation | R<sup>2</sup> | RMSE | Accuracy | Score
| ----- | ----------- | ------------- | ---- | -------- | ---------
| M1    | 0.79        | 0.62          | 1.25 | 60.89    | 0.77221
| M2    | 0.66        | 0.44          | 2.89 | 63.07    | 0.225599
| M3    | 0.56        | 0.31          | 1.57 | 62.87    | 0.438897
| M4    | 0.82        | 0.67          | 2.68 | 70.19    | 0.523878
| M5    | 0.75        | 0.56          | 1.3  | 80.39    | 0.811389

<br>

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-Karansingla-102003355-1.0.0.tar.gz (3.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_Karansingla_102003355-1.0.0-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file Topsis-Karansingla-102003355-1.0.0.tar.gz.

File metadata

File hashes

Hashes for Topsis-Karansingla-102003355-1.0.0.tar.gz
Algorithm Hash digest
SHA256 11dcf93336de000c0079cc38b1a88abcf6ee01bcdc8fd7876438c2b1cc77bc17
MD5 b3e624a33f9e91ab9ce87dff5dcb466d
BLAKE2b-256 64b5b1fcc06999f542a46cb85c11019c005ec72a3e701450c49321ad3e2130ce

See more details on using hashes here.

File details

Details for the file Topsis_Karansingla_102003355-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for Topsis_Karansingla_102003355-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8ea550a0ad5ff7a679fba97d100c2b17be6f9e3fbf067a4a7bb5c29cb83f72f6
MD5 b7409bcdd9071f3604e624551adc65dc
BLAKE2b-256 2ce21babe36177374edaf25dc503f0147e68a67e7a17f91821f0e96a4f3fd891

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