Skip to main content

This is package for topsis of version 0.1

Project description

Topsis_102003458

TOPSIS

Submitted By: Anshika Singla_102003458.

Type: Package.

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

Version: 0.2.

Author: Anshika Singla.

Maintainer: Anshika Singla asingla2_be20@thapar.edu.

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_102003458_Anshika

In Command Prompt

>> topsis 102003458-data.csv "1,1,1,1,1" "+,-,+,-,+" 102003458-result.csv

Input file (data.csv)

Fund Name P1 P2 P3 P4 P5
M1 0.67 0.45 6.5 42.6 12.56
M2 0.6 0.36 3.6 53.3 14.47
M3 0.82 0.67 3.8 63.1 17.1
M4 0.6 0.36 3.5 69.2 18.42
M5 0.76 0.58 4.8 43 12.29
M6 0.69 0.48 6.6 48.7 14.12
M7 0.79 0.62 4.8 59.2 16.35
M8 0.84 0.71 6.5 34.5 10.64

Output file (result.csv)

Fund Name P1 P2 P3 P4 P5 Topsis Score Rank
M1 0.67 0.45 6.5 42.6 12.56 20.58 2
M2 0.6 0.36 3.6 53.3 14.47 40.83 4
M3 0.82 0.67 3.8 63.1 17.1 30.07 3
M4 0.6 0.36 3.5 69.2 18.42 50.22 5
M5 0.76 0.58 4.8 43 12.29 10.41 1
M6 0.69 0.48 6.6 48.7 14.12 80.51 8
M7 0.79 0.62 4.8 59.2 16.35 70.74 7
M8 0.84 0.71 6.5 34.5 10.64 60.33 6

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

Project details


Release history Release notifications | RSS feed

This version

0.2

Download files

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

Source Distribution

Topsis_102003458_Anshika-0.2.tar.gz (4.2 kB view details)

Uploaded Source

Built Distribution

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

Topsis_102003458_Anshika-0.2-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file Topsis_102003458_Anshika-0.2.tar.gz.

File metadata

  • Download URL: Topsis_102003458_Anshika-0.2.tar.gz
  • Upload date:
  • Size: 4.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.2

File hashes

Hashes for Topsis_102003458_Anshika-0.2.tar.gz
Algorithm Hash digest
SHA256 cab0ef3a08ce5f942e6fabfbb56395e77780dfcab099c13430fdab38f8def80f
MD5 8c471d48fa379eb57e00e51aadc0c414
BLAKE2b-256 a93d725600fd680acbade7f5a26fd140af1bbd7844107e0cbdb646f347e7a92b

See more details on using hashes here.

File details

Details for the file Topsis_102003458_Anshika-0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for Topsis_102003458_Anshika-0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f428c29208b94475ac64796e58fa7880fb0aa88bb2a257578d444c777c0415a5
MD5 4767c599e0d1a0378924f49f34d03674
BLAKE2b-256 c713c2477c2c7575a26550fe652d61c04253ace002179d5f73c24e61b5c93b29

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