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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file Topsis_Nakshatra_101916128-1.2-py3-none-any.whl.
File metadata
- Download URL: Topsis_Nakshatra_101916128-1.2-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.25.1 requests-toolbelt/0.9.1 urllib3/1.26.4 tqdm/4.62.3 importlib-metadata/4.8.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c64081a7e0ff57eae09363509939743117912d515828170e4cb2ce5d58de91c1
|
|
| MD5 |
a5a2b672904bcd3517dbe54b18b12012
|
|
| BLAKE2b-256 |
6df93b8dcc29eb39d9000817a7d2abfd849ad48f8cf332cf74a046913de65e5b
|