Skip to main content

Topsis_Piyush_102103413

Project description

Topsis

TOPSIS( Technique for order for preference by similarity to Ideal solution ) for MCDM (Multiple criteria decision making) in Python compiled by Piyush, 102103413, TIET, Patiala.

Installation

Use the package manager pip to install topsis_piyush_102103413. pip install topsis_piyush_102103413

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 enter the output file name followed by .csv extension.

python [InputDataFile as .csv] [Weights as a string] [Impacts as a string] [ResultFileName as .csv]

Example

python input.csv "1,2,1,0.5" "+,-,-,+" output.csv

Please Note That"

The first column and first row are removed by the library before processing, in attempt to remove indices and headers. So the csv MUST follow the format as shown in sample.csv shown in the Example section. The input data file MUST contain three or more columns. The second to last columns of the data file MUST contain NUMERIC values. The number of weights, impacts and columns (second to last) MUST be SAME. Impacts MUST either be '+' or '-'. Impacts and Weights MUST be separated by , (comma).

License

© 2024 Piyush

This reopsitory is licensed under MIT License. See LICENSE for details.

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_Piyush_102103413-1.0.1.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

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

Topsis_Piyush_102103413-1.0.1-py3-none-any.whl (4.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: Topsis_Piyush_102103413-1.0.1.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for Topsis_Piyush_102103413-1.0.1.tar.gz
Algorithm Hash digest
SHA256 5437f87227bb19968ca0650ac133ac4c95039f0a2f92f86dcff455dcc056d3fa
MD5 0ca942ed32c85b54a04acce3742b405c
BLAKE2b-256 73988369970f6f479eab7a73289443901284818bb0783f0a2630807f3e2893e1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Topsis_Piyush_102103413-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 47dc5b49c76a50b635ab835bd8a05fdaad96fbc03a3d04ab318cb465e3cd642d
MD5 cac586c3eaa9cdb351884c36b52d1390
BLAKE2b-256 2f6e7212e7448be01abb57dc60ce5b2efc9c9067cebc8b08f98d7605ff278e33

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