Skip to main content

A Python package for implementing TOPSIS

Project description

Topsis-Kritika-102316122

A Python package to implement Topsis (Technique for Order of Preference by Similarity to Ideal Solution).

Installation

pip install Topsis-Kritika-102316122

Usage

Run the package from the command line:

topsis <InputDataFile> <Weights> <Impacts> <OutputResultFileName>

Example

topsis data.csv "1,1,1,1,1" "+,+,+,+,+" result.csv

Parameters

  1. InputDataFile: Input CSV file containing the data. structure:
    • First column: Object/Alternative name (e.g., M1, M2, M3).
    • Rest columns: Numeric criteria values.
  2. Weights: Comma-separated weights for each criterion (e.g., "0.25,0.25,0.25,0.25").
  3. Impacts: Comma-separated impacts ('+' for maximize, '-' for minimize) (e.g., "+,+,-,+").
  4. OutputResultFileName: Name of the output CSV file to save results.

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_kritika_102316122-1.0.0.tar.gz (3.7 kB view details)

Uploaded Source

Built Distribution

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

topsis_kritika_102316122-1.0.0-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file topsis_kritika_102316122-1.0.0.tar.gz.

File metadata

File hashes

Hashes for topsis_kritika_102316122-1.0.0.tar.gz
Algorithm Hash digest
SHA256 dbc7f6a55edb041c55e67e08d6571109e5d8ce9f8758639f209de360d969b796
MD5 cec75a9721219d87cd3fe96f0e7005e5
BLAKE2b-256 3cb0bbec1a98ee777d039ebce931ed837a68b43ef2623c2ad1bb8d80a8ad344c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for topsis_kritika_102316122-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 14eb322fb16ca97851162b11fb71a98df0d5434b24271de5a58cd9398b5da409
MD5 5f25244e3a3f9785927784e707dc272d
BLAKE2b-256 51b17be3c28e52c9939e9b391a510987f6c7464a2a772d8b132cc028b2396d63

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