Python package for TOPSIS algorithm
Project description
topsis_package This package inpired when we stuck in such a situation where we have to choose one within multiple choice varying by some fetures or properties. This package suggest to with which one you should go based upon your weight on features and which feature you want to maximize or minmize.
use this package as:
from topsis_shubham_dhanda import topsis import pandas as pd
'-' -----you want to minimize it '+' ---- you want to maximize it
#you have to define index column df=pd.read_csv('topsis.csv', index_col="") s=topsis(df,[.25,.25,.25,.25],['-','+','+','+']) print("You should Choose item at:"+str(s.choose()))
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.
Filename, size | File type | Python version | Upload date | Hashes |
---|---|---|---|---|
Filename, size topsis_shubham_dhanda-0.1.1-py3-none-any.whl (2.5 kB) | File type Wheel | Python version py3 | Upload date | Hashes View |
Filename, size topsis_shubham_dhanda-0.1.1.tar.gz (1.4 kB) | File type Source | Python version None | Upload date | Hashes View |
Hashes for topsis_shubham_dhanda-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d7207c7c050c325ad0b2f991089624165bb00b9b32b99c2770ded9aa4b1d316 |
|
MD5 | 35de87dbd1947a41d10e44e1e991a1d9 |
|
BLAKE2-256 | 7f29197f30ff7234717718f1b6d19e3a38a4fadedca9f37f6a653482fecb0ec7 |
Hashes for topsis_shubham_dhanda-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d63b4b41118e8d53a70e3f46533c95ec66a15d62852cb1419dc5d045fbc1e2d2 |
|
MD5 | 89f331ae4d44f86e4d31f89caee235e6 |
|
BLAKE2-256 | fb89748069de53e6b6e2e3283e87f5ccd502bc3c13db2a2a1e18d57fddef045f |