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
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
Close
Hashes for Topsis_Nakshatra_101916128-1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c64081a7e0ff57eae09363509939743117912d515828170e4cb2ce5d58de91c1 |
|
MD5 | a5a2b672904bcd3517dbe54b18b12012 |
|
BLAKE2b-256 | 6df93b8dcc29eb39d9000817a7d2abfd849ad48f8cf332cf74a046913de65e5b |