Skip to main content

Topsis package for MCDM problems

Project description

Topsis-Rohit-102016087

This package has been created based on Project 1 of the course UCS654 by: Rohit Banyal Roll No: 102016087 Group: 3CS11

Topsis-Rohit-102016087 is a Python package implementing Technique for Order of Preference by Similarity to Ideal Solution(TOPSIS) method used for Multiple Criteria Decision Making(MCDM) problems.

Installation

Use the package manager pip to install Topsis-Rohit-102016087.

$ pip install Topsis-Rohit-102016087

Usage

$ topsis 102016087-data.csv "1,1,1,1,1" "+,+,-,+,+" 102016087-result.csv

Input(102016087-data.csv)

Fund Name P1 P2 P3 P4 P5
M1 0.63 0.4 6.2 53.2 15.11
M2 0.71 0.5 5.8 68.2 18.8
M3 0.94 0.88 6.5 50.2 14.63
M4 0.94 0.88 4.2 68 18.51
M5 0.82 0.67 4.4 56.9 15.7
M6 0.74 0.55 4.9 50.2 14.1
M7 0.87 0.76 6 49.4 14.26
M8 0.7 0.49 4.8 63.8 17.45

weights = [1, 1, 1, 1, 1] impacts = [+, +, -, +, +]

Output(102016087-result.csv)

Fund Name P1 P2 P3 P4 P5 Topsis Score Rank
M1 0.63 0.4 6.2 53.2 15.11 0.09927269186907668 8
M2 0.71 0.5 5.8 68.2 18.8 0.4094342419051654 6
M3 0.94 0.88 6.5 50.2 14.63 0.5833838463228931 3
M4 0.94 0.88 4.2 68 18.51 0.9823224290605094 1
M5 0.82 0.67 4.4 56.9 15.7 0.5862483969896158 2
M6 0.74 0.55 4.9 50.2 14.1 0.35787822513830764 7
M7 0.87 0.76 6 49.4 14.26 0.51976734282583 4
M8 0.7 0.49 4.8 63.8 17.45 0.41390792806103543 5

License

MIT

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-Rohit-102016087-0.1.tar.gz (4.1 kB view details)

Uploaded Source

Built Distribution

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

Topsis_Rohit_102016087-0.1-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file Topsis-Rohit-102016087-0.1.tar.gz.

File metadata

  • Download URL: Topsis-Rohit-102016087-0.1.tar.gz
  • Upload date:
  • Size: 4.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.2

File hashes

Hashes for Topsis-Rohit-102016087-0.1.tar.gz
Algorithm Hash digest
SHA256 aa4f83726074fb844125134226b395d3ef07f3f7607f72875fedc9801ed02bf4
MD5 477751f2e5104a4d961394ff2b5e399b
BLAKE2b-256 d5b751abc1df3f39b62a194aaaf0f236d57e6e763ffae15905e245e01fb6ad9d

See more details on using hashes here.

File details

Details for the file Topsis_Rohit_102016087-0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for Topsis_Rohit_102016087-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bf49c30e0fa9aad0bf3b23e7cd414eae52dc21c430b2dc9cd1dc7fc60d6cb8ba
MD5 e213a1dd2bc2ba517689d31cf4c5762f
BLAKE2b-256 d5172bb921f4654053481b5585cc41917b8c84d5d50c503a3a11b55a8d294fed

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