Skip to main content

This package can be used to calculate the topsis score of multiple component data and rank them accordingly

Project description

TOPSIS Package in Python

UCS538 Data Science Fundamentals Assignment06 - TOPSIS

Submitted by: Mansimar Anand

Roll no: 101803292


Brief About TOPSIS

TOPSIS stands for ‘Technique of Order Preference Similarity to the Ideal Solution’ and is a pretty straightforward MCDA method. As the name implies, the method is based on finding an ideal and an anti-ideal solution and comparing the distance of each one of the alternatives to those.


Installation

Before running, make sure you have pandas installed on your system

>> pip install TOPSIS-Mansimar-101803292

Usage

>> python
>>> from topsis_analysis.topsispackage import topsis
>>> topsis("data.csv","1,1,1,2","+,+,-,+","output.csv")

Sample Input

This input was used to test the module

ModelCorrRseqRMSEAccuracy
M10.790.621.2560.89
M20.660.442.8963.07
M30.560.311.5762.87
M40.820.672.6870.19
M50.750.561.380.39

Output

ModelCorrRseqRMSEAccuracyTopsis ScoreRank
M10.790.621.2560.890.6391332.0
M20.660.442.8963.070.2125925.0
M30.560.311.5762.870.4078464.0
M40.820.672.6870.190.5191533.0
M50.750.561.380.390.8282671.0

License

© 2020 Mansimar Anand

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-Mansimar-101803292-0.0.1.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

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

Topsis_Mansimar_101803292-0.0.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file Topsis-Mansimar-101803292-0.0.1.tar.gz.

File metadata

  • Download URL: Topsis-Mansimar-101803292-0.0.1.tar.gz
  • Upload date:
  • Size: 2.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.1

File hashes

Hashes for Topsis-Mansimar-101803292-0.0.1.tar.gz
Algorithm Hash digest
SHA256 1a117700cf2b94215f44f4df7aaed295cbd59db906353c54c33b73b47ec81f15
MD5 88d67568cf60f0f6cf59993f9443ecd1
BLAKE2b-256 619073c3d103e4d17d79d55aefca4b1e4ff9a885ff83efedd0a7d0477af61dd1

See more details on using hashes here.

File details

Details for the file Topsis_Mansimar_101803292-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: Topsis_Mansimar_101803292-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.1

File hashes

Hashes for Topsis_Mansimar_101803292-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 02c7ec58e25e451f0ef583f13f1dffdf64fd05f8e1900362615b0798a2a7dd4c
MD5 c38d87e31528da76a160bd5f7d8703e1
BLAKE2b-256 643a70ad015a41cc20762d0ae2f7eef45f43a515b6d000a7eec80d028e35e00f

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