THIS PACKAGE IS TO IMPLEMENT TOPSIS
Project description
TOPSIS_Anuj_101803638
With this you can calculate the TOPSIS score and RANK of the data provided in '.csv' format.
- Input file:
- contain three or more columns
- First column is the object/variable name.
- From 2nd to last column contain numeric values only
Overview
- You can check intermediate steps as well as the final score i.e it provides functions to calculate normalized matrix, weight normalized decision matrix , ideal best , ideal worst lists and so on.
Usage
In the following paragraphs, I am going to describe how you can get and use TOPSIS for your own projects.
Getting it
To download TOPSIS, either fork this github repo or simply use Pypi via pip.
$ pip install TOPSIS_Anuj_101803638
Using it
TOPSIS was programmed with ease-of-use in mind. Just, import topsis from TOPSIS-Aditi-101803650
from TOPSIS_Anuj_101803638.topsis1 import topsis
topsis('inputfilename','Weights','Impacts','Outputfilename')
And you are ready to go!
topsis
There are 5 steps in this:
- normalized_matrix
- weight_normalized
- ideal_best_worst
- euclidean_distance
- topsis_score
License
Pre-requisite
The data should be enclosed in the csv file. There must be more than 2 columns
Result
the output(outputfilename) is saved in the project folder with extra 2 columns with topsis score and rank.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file TOPSIS_ANUJ_101803638-0.5.tar.gz.
File metadata
- Download URL: TOPSIS_ANUJ_101803638-0.5.tar.gz
- Upload date:
- Size: 3.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.7.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
47a353b79134f62bd19ef7524caba8dbba428db9a533d3c13265d0d005c4338a
|
|
| MD5 |
aa29020ed79f95fce1d8cc730ddf1d20
|
|
| BLAKE2b-256 |
49231ab5d980672eb7f230d466b19d108c71083d1647b130e4d8a87f339565b0
|