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: Nitish Jain

Roll no: 101803154


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-Nitish-101803154

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 Nitish Jain

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-Nitish-101803154-1.1.3.tar.gz (2.4 kB view details)

Uploaded Source

Built Distribution

Topsis_Nitish_101803154-1.1.3-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file Topsis-Nitish-101803154-1.1.3.tar.gz.

File metadata

  • Download URL: Topsis-Nitish-101803154-1.1.3.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.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for Topsis-Nitish-101803154-1.1.3.tar.gz
Algorithm Hash digest
SHA256 4c7bdfa2e5fe454df271ef280824636d57cbda6471268eb5615ed16a4636de40
MD5 54bf47feb4092d41814cf0fcf1300e0a
BLAKE2b-256 4be7b4b40f20ee0a93821f0086556a390e87da0bfedcc6eab8edd0b761267fa1

See more details on using hashes here.

File details

Details for the file Topsis_Nitish_101803154-1.1.3-py3-none-any.whl.

File metadata

  • Download URL: Topsis_Nitish_101803154-1.1.3-py3-none-any.whl
  • Upload date:
  • Size: 2.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.5

File hashes

Hashes for Topsis_Nitish_101803154-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d0c110f63d15cbe5dfdf11bbad5a32adc4790a9f153d665e6b75447f5ad1f4a0
MD5 e919af9b2fbe43e547a3b8950558f0ae
BLAKE2b-256 203c97434660fdc4cdef85417ad5bf320b2f70908166ed42b49c2d5b79fcf078

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page