Skip to main content

Topsis

Project description

Topsis-Nakshatra-101916128

The Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS) is a multi-criteria decision analysis method. It is commonly used to solve decision-making problems.
This package is used to implement TOPSIS in single line of code.

Input

It takes a input CSV file which must contain >=3 columns:
First column is the object/variable name (e.g. M1, M2, M3, M4…...).
From 2nd to last columns must contain numeric values only.

Output

Result file contains all the columns of input file and two additional columns having Topsis Score and Rank
It returns a dataframe as well as creates a CSV file in Current Working Directory.

Usage:

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

Project details


Release history Release notifications | RSS feed

This version

1.2

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

Supported by

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