Skip to main content

Topsis in python that take input csv file and outputs csv file

Project description

TOPSIS. Submitted By: Prateek Rai.


Type: Package.

Title: TOPSIS method for multiple-criteria decision making (MCDM).

Version: 1.0.3.

Author: Prateek Rai.

Maintainer: Prateek Rai prateek11rai@gmail.com.


Description: Evaluation of alternatives based on multiple criteria using TOPSIS method.

What is TOPSIS? Technique for Order Preference by Similarity to Ideal Solution (TOPSIS) originated in the 1980s as a multi-criteria decision making method. TOPSIS chooses the alternative of shortest Euclidean distance from the ideal solution, and greatest distance from the negative-ideal solution.

How to install this package : pip install Topsis-Prateek-101916078

In Command Prompt : topsis data.csv "1,1,1,1,1" "+,+,-,+,+" result.csv

Input file (data.csv) The decision matrix should be constructed with each row representing a Model alternative, and each column representing a criterion like Accuracy, R2, Root Mean Squared Error, Correlation, and many more. The file should be put in the command line as the location of the file.

Weights (weights) is not already normalised will be normalised later in the code.

Information of benefit positive(+) or negative(-) impact criteria should be provided in impacts.

Output file (result.csv)

The output file contains columns of input file along with two additional columns having Topsis_score and Rank

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Topsis-Prateek-101916078-1.0.3.tar.gz (4.9 kB view details)

Uploaded Source

Built Distribution

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

Topsis_Prateek_101916078-1.0.3-py3-none-any.whl (5.5 kB view details)

Uploaded Python 3

File details

Details for the file Topsis-Prateek-101916078-1.0.3.tar.gz.

File metadata

  • Download URL: Topsis-Prateek-101916078-1.0.3.tar.gz
  • Upload date:
  • Size: 4.9 kB
  • Tags: Source
  • 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.10.2

File hashes

Hashes for Topsis-Prateek-101916078-1.0.3.tar.gz
Algorithm Hash digest
SHA256 7d21b58e1ad89fe256dd9b9265fb50fc1a3164c39b3d412c7c4e4d3292c4d451
MD5 50108f7812ef08d1e0d28c0662c5bb86
BLAKE2b-256 c18546a4e1c7693cf51e9e46d1929ee4cc4fb4ab487fefcd71364bc78e8db084

See more details on using hashes here.

File details

Details for the file Topsis_Prateek_101916078-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: Topsis_Prateek_101916078-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 5.5 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.10.2

File hashes

Hashes for Topsis_Prateek_101916078-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 febbb91c81301ad79cb762e15995de4b6cc6ae06e570568615a05a1cafd473b4
MD5 825f654cbd4560d482ce47c1a6ae257c
BLAKE2b-256 9abb43868a4a8e95df5703bbe009189125945ee25e71e0c1fc264e4261456d31

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