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: Navpreet Singh Kapoor

Roll no: 101803293


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-navpreet-101803293

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 Navpreet Singh Kapoor

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-navpreet-101803293-1.1.3.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_navpreet_101803293-1.1.3-py3-none-any.whl (2.2 kB view details)

Uploaded Python 3

File details

Details for the file Topsis-navpreet-101803293-1.1.3.tar.gz.

File metadata

  • Download URL: Topsis-navpreet-101803293-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-navpreet-101803293-1.1.3.tar.gz
Algorithm Hash digest
SHA256 2694adc53f354c853e62f80a3e3d7e42aade6988eabc0c1752d5a33fc3e31219
MD5 fdc7c4329b264d3505fdcc4c4161d5ae
BLAKE2b-256 f44166da88e98ee8ba00a93fe417158df4e62571e7062084696b06bfb03d3867

See more details on using hashes here.

File details

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

File metadata

  • Download URL: Topsis_navpreet_101803293-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_navpreet_101803293-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f9e578f000c0eafb70ec338d29f1f26360ab1f863e46c7b5caeb3222ae469c09
MD5 fb5bb253ea16d78c720955f365e46a72
BLAKE2b-256 f331a3b5c25a1ad15d6ef63ed5849df4a3268f6df3093b6b1d274a3201ddad09

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