Skip to main content

A Python package for TOPSIS method for MCDM problems

Project description

Here is the professional Markdown text. Copy this exact text and replace everything currently in your README.md file.

# Topsis-Gurdarshan-102303217

`Topsis-Gurdarshan-102303217` is a Python library for dealing with **Multiple Criteria Decision Making (MCDM)** problems by using the **Technique for Order of Preference by Similarity to Ideal Solution (TOPSIS)**.

## Installation

Use the package manager pip to install Topsis-Gurdarshan-102303217.

```bash
pip install Topsis-Gurdarshan-102303217

Usage

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

topsis <InputDataFile> <Weights> <Impacts> <ResultFileName>

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

Input:

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

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

The output file will contain the original data with two additional columns: Topsis Score and Rank.

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_gurdarshan_102303217-1.0.1.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_gurdarshan_102303217-1.0.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file topsis_gurdarshan_102303217-1.0.1.tar.gz.

File metadata

File hashes

Hashes for topsis_gurdarshan_102303217-1.0.1.tar.gz
Algorithm Hash digest
SHA256 ce1bc439aa6a7a9bdb1e34bea126851877ac83cf367328c74a40ad9ae101a9b8
MD5 5ff957f972c641a5736bad03adc662ae
BLAKE2b-256 c36946dc034d4924b282cab2dd702e02f742b94320b49d674e60b3363d22d425

See more details on using hashes here.

File details

Details for the file topsis_gurdarshan_102303217-1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for topsis_gurdarshan_102303217-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d90bde80ba7324870d1ba84853f2fd6cc929a0150c4ddf648129d16a4ccd9862
MD5 bc2454476fe24ea02453aacc5d01953f
BLAKE2b-256 1b2e899cf6fe77a2af9e43736dff8175d9ee8c5b1daaf934f6b1741a3c9e6290

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