Skip to main content

Topsis

Project description

TOPSIS implementation in Python

This package is implementation of topsis technique for Order Preference by Similarity to Ideal Solution.
With the help of this package TOPSIS implementation can be done in simple few line code.\

Input

It takes an input CSV file which must contain >=3 columns.
Additional paramater weight and impact in the form of a list and Format of output file
First column is the object/variable name (e.g. M1, M2, M3, M4 ..)
From 2nd to last columns must contain numeric values only.\

Usage:

!pip install Topsis-Sneha-101916120==1.5
tp=__import__("Topsis-Sneha-101916120")
tp.topsis("101916120-data.csv","1,1,1,1,1","+,+,-,+,+","result.csv")
#tp.topsis("input file name ","weights","impacts","outpul file name")

Output

Result file will be a csv file containing all the columns of input file and two additional columns having Topsis Score and Rank.

Project details


Release history Release notifications | RSS feed

This version

1.5

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

Topsis_Sneha_101916120-1.5-py3-none-any.whl (3.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page