Skip to main content

topsis package for MCDM problems

Project description

topsis_102017134

for: Project-1 (UCS654) submitted by: Soumya Srivastava Roll no: 102017134 Group: 3CS6

topsis-3283 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_102017134.

pip install topsis_102017134

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 (+,-), and lastly the outputFileName.

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

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:

    P-Score  Rank
1  0.534277     3
2  0.308368     5
3  0.691632     1
4  0.534737     2
5  0.401046     4

License

MIT

Github Repository

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_102017134-0.2.tar.gz (3.5 kB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for topsis_102017134-0.2.tar.gz
Algorithm Hash digest
SHA256 e3e32ede5e21f24b8bc71c939d35ee1bdc2e483dc8119dfc39bcc59a86752094
MD5 29c2e899cb23c5cc19f337262e883e49
BLAKE2b-256 d51263a489b98571894f86df3bf8f534b66afb493aebb2a1fdaaa5c1fea59920

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