Skip to main content

Topsis-Aashim-102103401

Project description

Topsis

TOPSIS for Multiple criteria decision making in Python compiled by Aashim Bansal, 102103401, TIET, Patiala.

Installation

Use the package manager pip to install. pip install topsis_aashimbansal_102103401

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 sample.csv "1,1,1,1" "-,+,+,+" 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 Aashim Bansal

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

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Topsis-Aashim-102103401-1.0.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

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

Topsis_Aashim_102103401-1.0-py3-none-any.whl (4.2 kB view details)

Uploaded Python 3

File details

Details for the file Topsis-Aashim-102103401-1.0.tar.gz.

File metadata

  • Download URL: Topsis-Aashim-102103401-1.0.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.12.1

File hashes

Hashes for Topsis-Aashim-102103401-1.0.tar.gz
Algorithm Hash digest
SHA256 b5616249440e49d16296c9e454b94d795eb4000a23986b81dd08d7221ef83965
MD5 d616dd341cd0d69b75598438caf1f3ab
BLAKE2b-256 63f8cab8a225dae7fd8c23fa20467a51dd885e5e162fb354830ee17aa21e5024

See more details on using hashes here.

File details

Details for the file Topsis_Aashim_102103401-1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for Topsis_Aashim_102103401-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 79caa68f6915f9d63f62b4998a869333e71e2527088b3aaa50d20d846227f2e8
MD5 302b01335ca7fadd57feccc947a5092d
BLAKE2b-256 9487e7c2b887498ab31bdd6a635e5acacf4639945dc42c0e2a830788542bbb6c

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