Skip to main content

Performs TOPSIS dor multi-criteria decision making

Project description

topsis-khushi-102103479

submitted by: Khushi attri Roll no: 102103479 Group: 3COE17

topsis-khushi-102103479 is a Python library for dealing with Multiple Criteria Decision Making(MCDM) problems by using Technique for Order of Preference by Similarity to Ideal Solution(TOPSIS).

Installation

Use the package manager pip to install topsis-khushi-102103479.

pip install topsis-khushi-102103479

Usage

Enter csv filename followed by .csv extentsion, then enter the weights vector with vector values separated by commas, followed by the impacts vector with comma separated signs (+,-)

topsis sample.csv "1,1,1,1" "+,-,+,+"

Example

sample.csv

A csv file showing data for different mobile handsets having varying features.

Model Storage space (in GB) Camera (in MP) Price (in $) Looks (out of 5)
M1 16 12 250 5
M2 16 8 200 3
M3 32 16 300 4
M4 32 8 275 4
M5 16 16 225 2

weights vector = [ 0.25 , 0.25 , 0.25 , 0.25 ]

impacts vector = [ + , + , - , + ]

input:

topsis sample.csv "0.25,0.25,0.25,0.25" "+,+,-,+"

output:

  TOPSIS RESULTS

P-Score  Rank

1 0.534277 3 2 0.308368 5 3 0.691632 1 4 0.534737 2 5 0.401046 4

License

2024 Khushi Attri

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-khushi-102103479-1.0.0.tar.gz (3.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_khushi_102103479-1.0.0-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file topsis-khushi-102103479-1.0.0.tar.gz.

File metadata

  • Download URL: topsis-khushi-102103479-1.0.0.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.7

File hashes

Hashes for topsis-khushi-102103479-1.0.0.tar.gz
Algorithm Hash digest
SHA256 11375b4d82bc948a5f061f4f0cb2e8e0d2cfcf30e602489df77931c015af4f1e
MD5 e1c030c8d4a27257f46df17a6d0f0569
BLAKE2b-256 dcb12ec0bf1c72516484f0ad6a6237dc13aaaa0bf8e17ce8bb90bf5bf9b7a015

See more details on using hashes here.

File details

Details for the file topsis_khushi_102103479-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for topsis_khushi_102103479-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e63a1dc1ea4c9768fd968364b724b61d02e4e4dc49c1c4650288cb7b1356ae53
MD5 c22fce2320caf609241dd7cc3e8d2b12
BLAKE2b-256 81bbb8626027716bb987f716057f1b80e4cefa17fee8fac4841fab1e27e51a93

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