Skip to main content

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.

Release files for Topsis-navpreet-101803293 1.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Topsis-navpreet-101803293 1.1.3
File Size Uploaded
Topsis-navpreet-101803293-1.1.3.tar.gz 2.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Topsis-navpreet-101803293 1.1.3
File Interpreter ABI Platform
Topsis_navpreet_101803293-1.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 4.6 kB

Release files / Topsis-navpreet-101803293-1.1.3.tar.gz

Download URL Topsis-navpreet-101803293-1.1.3.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
2694adc53f354c853e62f80a3e3d7e42aade6988eabc0c1752d5a33fc3e31219
BLAKE2b-256 checksum
How to use checksums
f44166da88e98ee8ba00a93fe417158df4e62571e7062084696b06bfb03d3867
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / Topsis_navpreet_101803293-1.1.3-py3-none-any.whl

Download URL Topsis_navpreet_101803293-1.1.3-py3-none-any.whl
Size 2.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f9e578f000c0eafb70ec338d29f1f26360ab1f863e46c7b5caeb3222ae469c09
BLAKE2b-256 checksum
How to use checksums
f331a3b5c25a1ad15d6ef63ed5849df4a3268f6df3093b6b1d274a3201ddad09
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

1.1.3 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page