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

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

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

Uploaded Python 3

File details

Details for the file Topsis_Sneha_101916120-1.5-py3-none-any.whl.

File metadata

  • Download URL: Topsis_Sneha_101916120-1.5-py3-none-any.whl
  • Upload date:
  • Size: 3.0 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.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.11.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.7.4

File hashes

Hashes for Topsis_Sneha_101916120-1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 0994507228107fe993cf01e286a30284c5413e186adf57b2e75f0b1de8adbb79
MD5 edfbb1c8f3eaa65263a03d3777d3ffa6
BLAKE2b-256 e35b10c05489d329791802c3f86494a6fe3c3be7d663464b3f746ffacdd222b1

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