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

If you're not sure about the file name format, learn more about wheel file names.

Topsis_Nakshatra_101916128-1.2-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

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

Hashes for Topsis_Nakshatra_101916128-1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c64081a7e0ff57eae09363509939743117912d515828170e4cb2ce5d58de91c1
MD5 a5a2b672904bcd3517dbe54b18b12012
BLAKE2b-256 6df93b8dcc29eb39d9000817a7d2abfd849ad48f8cf332cf74a046913de65e5b

See more details on using hashes here.

Supported by

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