Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

topsis_shubham_dhanda-0.1.1.tar.gz (1.4 kB view hashes)

Uploaded source

Built Distribution

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page